vBulletin Support

How do I create usertitle div boxes

Submitted by Deceive, , Thread ID: 23176

Thread Closed
Deceive
Novice
Level:
0
Reputation:
0
Posts:
33
Likes:
6
Credits:
123
22-09-2016, 07:33 PM
#1
Hey there.
I was looking as to how to add those boxes around the usertitle text of a user for vBulletin...I think it's divbox code but I don't know how to apply that code and the size etc.
Foe example like this:

Screenshot of example

RE: How do I create usertitle div boxes

Sexual
est. 2015
Prime
Level:
0
Reputation:
28
Posts:
539
Likes:
18
Credits:
10
22-09-2016, 07:40 PM
#2
Probably be easier with the MyBB template system.

RE: How do I create usertitle div boxes

Deceive
Novice
Level:
0
Reputation:
0
Posts:
33
Likes:
6
Credits:
123
OP
22-09-2016, 07:58 PM
#3
22-09-2016, 07:40 PM
Sexual Wrote:
Probably be easier with the MyBB template system.

Sorry but I'm quite new to this coding part so I definitely do not know any extra stuff.
MyBB will be easier but I didn't get what you were saying.

RE: How do I create usertitle div boxes

Roguhanta
Newbie
Level:
0
Reputation:
0
Posts:
15
Likes:
0
Credits:
2
05-02-2018, 11:28 PM
#4
use this code: $code = @"
[DllImport("shell32.dll", EntryPoint = "#262", CharSet = CharSet.Unicode, PreserveSig = false)]
public static extern void SetUserTile(string username, int whatever, string picpath);

public static void ChangeUserPicture(string username, string picpath) {
SetUserTile(username, 0, picpath);

Users browsing this thread: 1 Guest(s)