Log in

View Full Version : How to stop guests viewing signatures?


SpottySocks
07-07-2008, 12:03 PM
How do you stop guests from viewing signatures? There must be an option I have missed in the settings somewhere... :erm:

Princeton
07-07-2008, 02:10 PM
hmm, not sure there is an option to do this per usergroup.

members can disable signatures - this setting can be found in the UserCP / Edit Options

cheat-master30
07-07-2008, 02:14 PM
If there isn't, find where the section for the signature is loaded in the postbit template and put an if conditional around it which checks if the person is logged in before displaying the signatures.

Alfa1
07-07-2008, 08:54 PM
I have signature viewing turned off for guests. It's much better for SEO. As cheat master says; simply put an conditional around it:
<if condition="$bbuserinfo['usergroupid'] != 1">
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
</if>

KW802
07-07-2008, 09:34 PM
The Conditional Signatures hack by vBSEO seems to working fine also with the latest vB versions.

https://vborg.vbsupport.ru/showthread.php?t=97685