vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What Mod is this? (https://vborg.vbsupport.ru/showthread.php?t=78285)

Chad F. 03-17-2005 08:50 PM

What Mod is this?
 
I've seen this on a few other forums and I was wondering if anyone knows what hack it is..

For example if a user is a moderator then it adds _MOD to the end of their username in color, for super moderators it adds _SMOD etc.

Zachery 03-18-2005 03:33 AM

Quote:

Originally Posted by Chad F.
I've seen this on a few other forums and I was wondering if anyone knows what hack it is..

For example if a user is a moderator then it adds _MOD to the end of their username in color, for super moderators it adds _SMOD etc.

Sounds like a template conditional :)

<if condition="is_member_of($post, X)">displaytexthere</if>

deathemperor 03-18-2005 01:37 PM

wrong, this can be done in usergroup

in the textfield "Username HTML Markup" enter _admin if you want users in admin group to be like someone_admin. and color is possible of course.

same for other groups.

Marco van Herwaarden 03-18-2005 01:49 PM

Quote:

Originally Posted by deathemperor
wrong,

Ouch :D :D :D

Zachery 03-18-2005 01:51 PM

Quote:

Originally Posted by deathemperor
wrong, this can be done in usergroup

in the textfield "Username HTML Markup" enter _admin if you want users in admin group to be like someone_admin. and color is possible of course.

same for other groups.

Depends on what you want it to do and where you want it to show. remember the musername is not used everywhere.

deathemperor 03-18-2005 02:15 PM

I think that's what he wants, and to apply all for a username with _mod by using HTML conditions seems too much.


All times are GMT. The time now is 08:00 AM.

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.01154 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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