PDA

View Full Version : Easier way to identify admins or other important users


okrogius
03-05-2002, 10:00 PM
NO SUPPORT IS PROVIDED!

Basically can insert a word or a picture of your choice in desired location within the thread. I find it usefull as it's much easier for regular users to tell who's who (admins, mods, etc). You can have it show a picturean avatar or another place or jsut have it shows "Group: admin" next to post count and reg date. Have fun.

Demo can be found at forums.gaminguru.com.

maverick1236
03-07-2002, 01:47 AM
shouldnt this
$post[specialusername]

be this
$post[verify]

??
not sure

okrogius
03-07-2002, 10:51 AM
Specialusername from another hack and this are completely different things.

ExcErr
03-10-2002, 01:06 PM
can you show some screenshots?

HardcoreGCKid
04-09-2002, 12:30 AM
Below is an example of the hack...

~Hardcore

N.B.
06-20-2002, 01:38 AM
Exactly what I was looking for !

Thanks :)

Xelation
06-27-2002, 09:14 PM
can you make it so that admins have the image show up as admin and the mods have an image called mod? becauase mods really arnt admins

Xelation
06-27-2002, 09:52 PM
nm, Saintdog told me how... to make admins have a certian image other than mods do this...

instead of adding this:

$post[verify] = " ";
$usergroupid=$post[usergroupid];
if ($usergroupid == "6") { $post[verify] = "<br><img src=\images\verify\admin.gif alt=ADMINISTRATOR width=80 height=20></img>"; }

add this:

$post[verify] = " ";
$usergroupid=$post[usergroupid];
if ($usergroupid == "6") {
$post[verify] = "<img src=\images\verify\admin.gif alt=ADMINISTRATOR width=80 height=20></img>";
} elseif ($usergroupid == "5") {
$post[verify] = "<img src=\images\verify\mod.gif alt=MODERATOR width=80 height=20></img>";
}

HardcoreGCKid
07-04-2002, 01:50 AM
Thanks for fielding that one :p

~Kore

Demonslayer
07-04-2002, 04:17 PM
can someone help me, I keep getting parse errors :(

Xenon
07-04-2002, 04:23 PM
posting the complete error would help, instead of just post error....

Demonslayer
07-04-2002, 04:24 PM
Parse error: parse error, unexpected T_STRING in /home/virtuapi/public_html/forums/admin/functions.php on line 69

Fatal error: Call to undefined function: getuserinfo() in /home/virtuapi/public_html/forums/admin/sessions.php on line 328

BillaBongUSA
07-04-2002, 10:37 PM
Hm... It works for administrators, but images won't appear under moderators.

Demonslayer
07-05-2002, 04:33 PM
moderators are user id 7, Xelation posted 5 (which is super mod)

Demonslayer
07-05-2002, 05:05 PM
all better, I re-coded the hack (with my limited php skills) and now it works for mods, supermods, and admins (and I can easily add other groups :D)

Automated
11-26-2002, 05:36 PM
Great Hack! I will be installing later!

drownedspirit
12-05-2002, 04:38 AM
i installed it yet its not working, why?

nymyth
12-31-2002, 03:43 AM
sup man...this is more or less exactly what im looking for....i was wondering if there was any way an admin from the admincp could allocate an image for a user....like on my board...i have artists and regular users...i wanna distinguish the 2.........anyone know how to do that???

Peace

mistyl
01-05-2003, 05:11 AM
Works perfect in 2.2.9! Love the hack!! Also thanks to Saintdog!! I follow the example and it work no problems!

Anthony_IGO
12-29-2003, 07:11 AM
This is great, it's working great. I have a question though. Where do I find the usergroup ids at? I only have them assigned to admins right now, but I want it to be both members in the admin and staff groups. I can't figure out the id for it though. Admin is 6, and I tried a whole different bunch and haven't found the right one. it's getting late and I'd like to know where I could find this.