The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
His Postbit items in Private Messages
What would the syntax be for hiding a postbit field so that in the PM it doesnt show?
For example: Code:
<!-- Start Guestbook in Postbit --> <if condition="$show['profile']"> <if condition="!$post['field39']"> <fieldset><legend><a href="member.php?$session[sessionurl]u=$post[userid]">Personal Guestbook</a></legend> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td align="left"><a href="member.php?$session[sessionurl]u=$post[userid]"> <img border="0" src="http://www.trackpads.com/images/forum/pleasesignmypguestbook.gif" width="110" height="26"></a></td> </tr> </table> </fieldset> </if> </if> <!-- End Guestbook in Postbit --> -Jason |
#2
|
|||
|
|||
I would use this:
Code:
<if condition="THIS_SCRIPT != 'private'"> Code that you want in posts but not PMs goes here. </if> |
#3
|
||||
|
||||
THIS_SCRIPT != 'private'
|
#4
|
||||
|
||||
Thanks!
|
#5
|
||||
|
||||
Make sure you use single quotes around private as I found out the hard way that PHP 5 doesn't like it without quotes.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|