PDA

View Full Version : hiding signature in pm's


ahmedbehiry
10-21-2007, 10:53 AM
Hello everybody..
I've been searching foe a while but couldn't find what I'm looking for.. so I thought maybe I can find help here :)
I need to know if there's a way to hide signatures in pm's as they are messing up the page design :).. is there a mod for that or modification in the templates?

Thank you so much :)

Freesteyelz
10-22-2007, 09:56 AM
You can remove the signatures by editing the postbit or postbit_legacy template. Select the template and style that you're using. If you're using more than one style and template then all of those will need to be edited too. To edit do the following:

In postbit or postbit_legacy find:


<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>



Replace it with:


<if condition="THIS_SCRIPT == 'private'">
<else />
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
</if>



Signatures will now appear in posts but not in PMs. :)

kurti
01-13-2009, 09:15 PM
thanks :)