Version: 1.00, by Storm
Developer Last Online: Mar 2005
Version: 2.2.x
Rating:
Released: 10-04-2003
Last Update: Never
Installs: 7
No support by the author.
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.
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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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
Yeah I saw that but yours doesn't work for any usergroups, just 5,6,7, I figured I'd release this one so users can easily add tags for any group from the edit page. Yours is a nice hack nonetheless though.
Quote:
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 ?
About the images, they won't work because when its parsed it will be converted into something like <font color=red>Username</font>.. also for images to work, you'd have to have a seperate image for each user you have, then specify the userid of who can use it, I know its possible because I use it on my forum ^^ only a little modifcation to the function is required.
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:
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 ).
All I get is a blank page.
Thats very wierd.. probably check your edits again, if you can't get it to work you can PM your file to me and I'll take a look.
Quote:
READ MY POST !
i get this error on your wol page , mine is fine
Oh, lol, I guess I'll have to take a look at that then ^^
Quote:
Dude... you rock!
It took you like a half an hour to make this!
THANKS!
You're quite welcome Actually I was putting together the install file and after I posted it, I saw your post requesting it, but yeah, the hack itself didn't take me very long to make
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
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");