View Full Version : Need some help [postbit]
Hi guys,
I searched the forums for this, but didn't have much luck..
Ok, my situation is, I would like to add an image in the postbit, but only for specific (contributing) members. I know editing the postbit template will let me add whatever, for all users, but how do I go about adding something like an image/text for only certain users in the postbit?
Thanks for your help. :)
that'll take hacking in functions.php
Today at 08:24 AM mr e said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=369095#post369095)
that'll take hacking in functions.php
Any idea where in functions.php I would need to make the change? (sorry, I'm not all that great with this stuff)
Thanks for your reply. :)
well, i'd say above this
// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit")."\";");
}
return $retval;
then if you just put them in specific usergroup "contributers" or whatever then you could just do a if($bbuserinfo[usergroupid] == #) {$image = '<img src="blank.gif">';} else {$image = ''}; then put $image wherever you wanted in the postbit
Smoothie
03-19-2003, 06:49 AM
there's a contributing member hack, right here in these forums... :) You can add an image to the postbit too... ;) Only shows for those that have donated.
Sounds good, thanks for your help guys :)
FlyingDutchman
03-19-2003, 04:18 PM
logician's hack will do too ;)
you can use it to show a image (or any other html) to for example a specific usergroup only...
i can post a link if you want :D
Today at 06:18 PM FlyingDutchman said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=369378#post369378)
logician's hack will do too ;)
you can use it to show a image (or any other html) to for example a specific usergroup only...
i can post a link if you want :D
That would be appreciated :)
I had a look here:
https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=2355
but wasnt sure which hack you were reffering to.
I remember trying the "Mark User As Contributer" hack a while back, but didnt have much luck with it.
I would like to give logician's a try though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.