vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Easier way to identify admins or other important users (https://vborg.vbsupport.ru/showthread.php?t=35794)

okrogius 03-05-2002 10:00 PM

Easier way to identify admins or other important users
 
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:

PHP Code:

$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:

PHP Code:

$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.


All times are GMT. The time now is 04:44 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
  • Page Generation 0.01060 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete