PDA

View Full Version : Guest not seeing sigs of members


powerbook
10-19-2006, 11:00 AM
Is it possible to make that normal guest to the board doesn't see any sigs of members in posts?

Thanks

r007
10-19-2006, 11:44 AM
Howdy powerbook,

Yes it's possible with conditional templates

In the postbit template, find
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
and change it with
<if condition="!$show['guest']">
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
</if>

I haven't tried this out myself, but it should work!

powerbook
10-19-2006, 01:14 PM
Hey thanks 007 :)

I'll give it a shot and see what happens...

EDIT: Thanks man that did the trick... In that case I'll also add a option to members CP with that conditional modified if members wants to see sigs or not. Maybe save those with limited bandwidth a bit of time especially some with pic's in sig... Cheers and thanks

r007
10-19-2006, 07:39 PM
In that case I'll also add a option to members CP with that conditional modified if members wants to see sigs or not.

There should already be one if you look in User CP -> Edit Options -> Under the "Thread Display Options" category there should be a check box next to "Show Signatures"

Paul M
10-19-2006, 09:02 PM
Rather than <if condition="!$show['guest']"> you should use <if condition="$show['member']">:cool:

Zia
01-23-2007, 05:14 PM
even sigs hosted external ..then it will work>