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)

Yami Shadow 02-19-2005 10:00 PM

Custom Postbit For Admin
 
This is my very first hack, so if there's any bugs let me know.

Basically all this is, is an edit to functions_showthread.php and adding a template. As for screenshots, the postbit is pretty much a standout. However, I've only tested this in the postbit_legacy template. I'm not sure if it'll work in the standard one. The reason I created this? Stand out. Admins should be able to stand out from their members when they post ;[

Edit: The attached screenshot is a cropped image of the postbit. Mine isn't done, but it's sort of souped up a bit with the character thing...>.>

djjeffa 02-20-2005 05:56 PM

can we get a screenshot?

nexialys 02-20-2005 06:08 PM

a "reason" or "use" for this template would be good though!

BluPhoenix 02-20-2005 06:48 PM

Quote:

Originally Posted by nexialys
a "reason" or "use" for this template would be good though!

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!"

Jolten 02-20-2005 06:52 PM

Seems to me, this could be done with a simple template conditional rather than an edit to functions_showthread

AN-net 02-20-2005 07:47 PM

same idea here jolten but good idea none the less ^.^

Floris 02-20-2005 10:35 PM

Quote:

Originally Posted by AN-net
same idea here jolten but good idea none the less ^.^

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

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

Jolten 02-20-2005 10:58 PM

Wouldn't... <if condition="$post[usergroupid] =='x'">Postbit for admin<else />regular postbit</if> Be better :) That way all admins have the same postbit rather than every user.

SVTBlackLight01 02-20-2005 11:11 PM

Or..
Code:

<if condition="is_member_of($post, X)">Postbit for admin<else />regular postbit</if>
;)

NuclioN 02-21-2005 01:53 PM

Where to put this template conditional??? :)


All times are GMT. The time now is 03:08 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.00998 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (2)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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete