![]() |
vB3 Style Usergroup Based Username Formatting for vB 2.2.x
This is a vB3-style usergroup based username formatting hack. What it does is formats usernames for who's online, currently active users on index, and users browsing forum in fourmdisplay pages. Unlike other colored username hacks, this one will let you specify an HTML open tag and close tag for ANY usergroup from the Admin CP. It also has an automatic-updating who's online legend.
I have this running on my main site which is running vB 2.3.0, but should be compatible with any version 2.2.x or higher. Future versions of this hack may include things such as memberlist username formatting, postbit username formatting, etc. through the use of its formatusername() function. For a live demo, visit http://www.rpgpalace.net/forums/index.php or http://www.rpgpalace.net/forums/online.php Attached below are screenshots of the Who's Online page, also the usergroup edit page in the admin cp, and of course the install instructions :) The instructions are pretty straight-forward, estimated install time around 10-15 minutes. Like when installing any hack, be sure to backup your files and database!! I will not be responsible for any damages that result by the use of this hack. Please do NOT IM, PM, email, etc.. me for support for this hack, all support will be done in this thread on the basis that I have time. If you have a previous colored user hack installed you may have to uninstall that version first before you install this one. If you install this hack, please click on the Install button :) |
Dude... you rock!
It took you like a half an hour to make this! THANKS! |
lurvly hack i get this error on your wol page
Code:
Warning: Variable passed to each() is not an array or object in /home/storm/public_html/forums/online.php on line 1090 |
Check your code, it works fine for me
Make sure you don' t have your text editor on wordwrap when you're reading the code |
READ MY POST !
i get this error on your wol page , mine is fine :) |
whoops HAHA
weird... I didn't get it... |
for the opening tags would it be possible to just add an image ? so u can add usergroup images ? i dont see y not... also is it possible to use this formting in the post bit ?
|
|
should be possible :)
Just add the html code to the opening tag and leave the closing tag blank :) |
Good job Storm ^_^ I was hoping you'd release it...even though assassingod says another was released, I never saw it, so I'll use this one ^_^ *clicks install*
|
The only problem with mine is that I never finished it for forumdisplay & WOL (I should really get that done)
Good job nonetheless:) |
Storm rarely ever releases hacks, when he told me he was releasing this one, I was pretty surprised...everyone cherish the moment because it probably won't happen again lol
|
I've installed your hack and now usergroup.php(3) isn't working in my admin folder.
I'm running vB 2.3.2 with .php3 extensions(I wanted to try somethign new :p). All I get is a blank page. |
Quote:
Quote:
To get the hack to work with postbits, I'd have to figure out the best way to go about that since it can interfere with the Lesane store hack (italic and glowing usernames)... If anyone wants it to get it to work with the memberlist, just let me know :) Quote:
Quote:
Quote:
|
It works in 2.3.2 just fine
corsacrazy: Yes it'll work... just put [openingtag]<img src="imagename.gif">[/openingtag] If you want to do what I do (make the username an image all together so I can make a hell of a cool username) then do: [openingtag]<img src="[/openingtag] [closingtag].ext">[/closingtag] and name the images usename.ext |
Hi There,
I couldn't get what this ment: TIP: If you know a little about PHP, you can apply formatting to usernames in other areas of your board by simply querying for the userid, username, and usergroupid: $somearray=$DB_site->query_first("SELECT userid, usergroupid, username FROM user WHERE userid=1"); etc... then doing this: $username=formatusername($somearray); its quite simple if you know what you are doing and know a little about PHP, just make sure that the $somearray contains the userid, usergroupid, and username. where to use this: $somearray=$DB_site->query_first("SELECT userid, usergroupid, username FROM user WHERE userid=1"); and this: $username=formatusername($somearray); and vb db, or where Thanks a lot |
All times are GMT. The time now is 10:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|