The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB4 profile questions
Hello,
Before I used this code in postbit_legacy for signature disable or enable per user. Code:
<if condition="$bbuserinfo['usergroupid'] != 1"> <if condition="$post['signature'] AND $post[field6]!= 'No'"> <!-- sig --> <div> <hr noShade SIZE="2"><br /> $post[signature] </div> <!-- / sig --> </if> </if> But how can use same thing for vb4 postbit_legacy ? Because code like that Code:
</vb:if> <vb:if condition="$post['signature']"> <blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote> </vb:if> Regards, |
#2
|
||||
|
||||
Change <if to <vb:if and </if to </vb:if in the two conditions. (I assume you will leave the template code for the signature alone.)
|
#3
|
|||
|
|||
I'm not good for code writing before I used 1st code with my 3.8.4 board for signature disabled per user based and very useful for us.If you write to me for vb4 I'll be happy.
Regards, |
#4
|
||||
|
||||
How about just:
HTML Code:
<vb:if condition="$bbuserinfo['usergroupid'] != 1"> <vb:if condition="$post['signature'] AND $post[field6]!= 'No'"> <!-- sig --> default signature stuff here <!-- / sig --> </vb:if> </vb:if> |
#5
|
|||
|
|||
Big thanks Lynne
Regards, |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|