![]() |
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 |
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']"> Try replacing it with this: Code:
<if condition="$post['signature'] AND !$saw_signature_for[$post[userid]] AND $saw_signature_for[$post[userid]]=1">
|
Doesent Work i am using Postbit Legacy
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=60785" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=60785</a>
|
Thats it sorted :)
Thanks |
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"> |
All times are GMT. The time now is 09:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|