vBulletin Support

How do I create usertitle div boxes

Submitted by Deceive, , Thread ID: 23176

Thread Closed
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

#2
Probably be easier with the MyBB template system.

RE: How do I create usertitle div boxes

OP
#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

#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: 3 Guest(s)