The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello friends
can someone give me code to stop my members to view the signature in add new pm ..? i searched in postbit but it will delet from all the signature forum .. only i want to do that in privet pms thanks
|
|
#2
|
||||
|
||||
|
Code:
<if condition="THIS_SCRIPT == 'private'">SIGNATURE</if> |
|
#3
|
|||
|
|||
|
Quote:
![]() sorry ... what is mean THIS_SCRIPT ? and where i put this code in postbit i see PHP Code:
|
|
#4
|
|||
|
|||
|
From my understand, you want to eliminate all signatures in new private messages, if I am mistaken, ignore my code and correct me.
To remove signatures in new PMs you must modify the correct file (pm_newpm). Search "pm_newpm" in your templates. Then locate and remove the following code: PHP Code:
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
Or just do... (It will hide all signatures regardless of the above setting.)
Code:
<if condition="THIS_SCRIPT == 'private' AND $post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
|
|
#7
|
||||
|
||||
|
I think he meant (right?):
HTML Code:
<if condition="THIS_SCRIPT != 'private' AND $post['signature']">
|
|
#8
|
||||
|
||||
|
Thanks for that, Lynne.
Yes, that's what I meant.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|