View Full Version : Custom Postbit For Admin
Yami Shadow
02-19-2005, 10:00 PM
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
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
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..<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??? :)
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
<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?
Just change 'x' to the group number for superadmin
Jolten
02-23-2005, 02:09 PM
Ok. But how is the conditional written? 'Postbit for admin' else 'postbit regular' ?
In postbit or postbit legacy:
<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
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 :).
* Deaths clicks install
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.