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)
-   -   Usergroup in postbit (https://vborg.vbsupport.ru/showthread.php?t=40153)

psx-dude 06-21-2002 09:00 PM

Usergroup in postbit
 
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/showthrea...s=&threadid=32

Originally Devised here: https://vborg.vbsupport.ru/showthrea...threadid=18143

Instructions are in the text file.

xware 06-22-2002 03: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 03: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 06: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 12: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 02:13 AM

oh. lol ;)

ZiRu$ 06-23-2002 03:10 AM

cool I'll install it :)

XFLBret 10-05-2002 07: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 08: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 ^_^


All times are GMT. The time now is 04:51 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.01799 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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