View Full Version : Usergroup in postbit
psx-dude
06-21-2002, 10:00 PM
This is just a small hack that has your usergroup near your name, to show who really has the power in your forums :p.
Example: http://forums.psx-dude.net/showthread.php?s=&threadid=32
Originally Devised here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=18143
Instructions are in the text file.
xware
06-22-2002, 04:33 PM
good hack!
But I think use a switch to $post[usergroupid] is a better way.
I had a hack like this to swithch usergroup in different icon in post.
:)
Xenon
06-22-2002, 04:37 PM
nice idea, but not very hard to do :)
why don't do this for every usergroup and read out the groupnames from the database?
ok, one more query for each post isn't soo good.
Velocd
06-22-2002, 07:29 PM
I also agree, its pretty easy to achieve, but nonetheless userful.
ps: Psx-dude your forums have a very high most users-ever online (105) compared to the amount of users you have registered (202). Great job on achieving that, since its pretty rare ;) I have known sites with a max of 13 users online and over 600 members registered.
psx-dude
06-23-2002, 01:29 AM
I believe that was an error in vb2.2.5, apparently most of the users had the same ip addressess...
Velocd
06-23-2002, 03:13 AM
oh. lol ;)
ZiRu$
06-23-2002, 04:10 AM
cool I'll install it :)
XFLBret
10-05-2002, 08:57 PM
i love this idea, but have one issue with it...
i chose not to put it next to the name, but under it, right about the avatar
my issue is that for regular registered users, they have a blank space where admin would normally go
i know it's possible not to have this space here, because the age in postbit hack i just installed works that way, but I do not know enough about php and hacking to make the change.
can anyone help? was I clear at least?
Xenon
10-05-2002, 09:47 PM
well put it next to the username but add a <br> before the Admin/Supermod and so on in the php file, so the linebreak will just occur if the user is in one of this groups
Esdee
11-01-2002, 07:32 PM
nice hack. Now that I've Xenon's info I'll install it as well ^_^
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.