The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show users sig once per page
I am looking for a mod that makes a users Signature appear only once per page.
Running VB 3.0.3 Thanks |
#2
|
|||
|
|||
You can do this in the template, using a trick that creates a value that lives in PHP. Presuming you use the regular postbit to display posts, as opposed to the legacy postbit, then look in in the "postbit" template for these lines:
Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> Try replacing it with this: Code:
<if condition="$post['signature'] AND !$saw_signature_for[$post[userid]] AND $saw_signature_for[$post[userid]]=1">
|
#3
|
|||
|
|||
Doesent Work i am using Postbit Legacy
|
#4
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=60785" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=60785</a>
|
#5
|
|||
|
|||
Thats it sorted
Thanks |
#6
|
|||
|
|||
If you're using postbit_legacy (like I am) this template conditional will work.
Find in postbit_legacy: Code:
<if condition="$post['signature']"> Code:
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|