The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditional Help
I am trying to make my own style, so that I can have a nice looking banner at the top of my forums, however I have hit a problem.
I am wanting to have the images I created at the top be linked, so I was taking the URL's out of the nav template. However, I cant seem to get them to work when I am trying to make it display the USER CP button when a user is logged in, and the Regiester button when they are not. Still pretty new at this sort of thing Anyway, here is the error 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 /home/fullhoose/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 60 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. Code:
<tr> <td rowspan="6"> <img src="images/banner_13.gif" width="33" height="82" alt=""></td> <td colspan="3" rowspan="2"> <if condition="$show['member']"> <a href="usercp.php$session[sessionurl_q]"><img src="images/user_cp.gif" width="135" height="34" alt=""></a></td> </if> <if condition="$show['registerbutton']"> <a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="images/register.gif" width="135" height="34" alt=""></a> </td> <td rowspan="3"> <img src="images/banner_15.gif" width="19" height="38" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> Watson anyone able to help me out on this? |
#2
|
||||
|
||||
still looking for a wee bit of help on this. It would be magic
|
#3
|
||||
|
||||
What's line 60?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|