The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
one signature per thread
This was incredibly helpful, rather than seeing the same (sometimes large) signatures repeated throughout a thread.
Thanks. |
#2
|
||||
|
||||
*bump*
|
#3
|
|||
|
|||
you dont need to hack this
a simple conditional in the postbit template will handle this dont have the url right now but check in the 3.0 section at vb.com |
#4
|
|||
|
|||
pfft well i cant find the relevant url at vb
|
#5
|
|||
|
|||
http://www.vbulletin.com/forum/showt...756#post777756
Originally posted by Kier In the postbit template, find this conditional: HTML Code:
<if condition="$post['signature']">
HTML Code:
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
|
#6
|
|||
|
|||
thank you Jenta, I was only looking in 3.5 forums at vb
|
#7
|
||||
|
||||
are you sure that works in 3.5? im no php coder, but i think its bad when it throws the following error when trying to swap that line of code for the above:
Code:
The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home2/turbobri/public_html/forums/includes/adminfunctions_template.php(3519) : eval()'d code on line 138 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
#8
|
|||
|
|||
havent tested it but it should or will with slight modification
i think the error is being caused by the ' characters so instead of HTML Code:
<if condition="$post['signature']">
HTML Code:
<if condition="$post[signature]">
|
#9
|
||||
|
||||
Sorry, i got it to work, both in postbit and postbit_legacy
turned out to be some problem with copying the template to notepad and editing it there first, then pasting it back in. strange |
#10
|
|||
|
|||
Quote:
the vb editors are just too small...i need full screen and tab to work |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|