View Full Version : Don't let the bots see the signature
On vBulletin 3, I've seen this minor template mod on Sitepoint.com.
On the sitepoint.com forums, all bots can not see the signatures, thus the bots are not caching the signature.
How would you be able to do such customization? TIA.
Reeve of shinra
05-20-2005, 03:48 AM
hmmm use an if conditional to not show sigs to guests?
hmmm use an if conditional to not show sigs to guests?
Sounds like you know exactly what to do.
So, how do you use an 'if condition' to not show sigs to guests? :)
Sebastian
05-20-2005, 09:35 AM
in your postbit template find
<if condition="$post['signature']">
replace with
<if condition="$post['signature'] AND $bbuserinfo['userid']">
Zero Tolerance
05-20-2005, 06:13 PM
<if condition="$post['signature'] AND $bbuserinfo['userid'] > 0">
Should work?
- Zero Tolerance
<if condition="$post['signature'] AND $bbuserinfo['userid'] > 0">
Should work?
- Zero Tolerance
Thanks Zero Tolerance. The code that Sebastian provided worked. I made the mistake of editing the postbit and not the postbit_legacy. Editing the postbit_legacy with the Sebastian's code worked fine. :)
Zero Tolerance
05-20-2005, 06:16 PM
Yeah i saw no problems with it, wondered why it didn't work, so i added a condition onto the variable just to double check.
- Zero Tolerance
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.