vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Custom Postbit For Admin (https://vborg.vbsupport.ru/showthread.php?t=76699)

Jolten 02-21-2005 06:03 PM

the postbit template

NuclioN 02-21-2005 06:08 PM

Ok. But how is the conditional written? 'Postbit for admin' else 'postbit regular' ?

rookie7 02-23-2005 01:51 AM

Quote:

Originally Posted by floris
<if condition="$post['userid'] == 'x'">postbit for admin<else />normal</if>

perhaps make it even more fun using in_array on the variable $superadministrators :)

How do you do the superadmin one?

DRJ 02-23-2005 04:46 AM

Just change 'x' to the group number for superadmin

Jolten 02-23-2005 02:09 PM

Quote:

Originally Posted by NuclioN
Ok. But how is the conditional written? 'Postbit for admin' else 'postbit regular' ?

In postbit or postbit legacy:

PHP Code:

<if condition="$post[usergroupid] =='x'">

Place the html for the postbit you want admins to use here

<else />

Place the html for the postbit for everyone else here

</if> 

Change 'x' to the admin usergroup id number (OR any other usergroup id number)

Deaths 02-23-2005 02:58 PM

Quote:

Originally Posted by BluPhoenix
Pretty simple really so Admin posts "stand out" and can be quickly noticed.. Just a nice way of telling the members "I'm GOD!! Look at Me!"

Hehe, that made me launch :).

[high]* Deaths clicks install[/high]


All times are GMT. The time now is 07:10 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.01046 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete