<!-- Ads after first post --> <if condition="!$GLOBALS['FIRSTPOSTID']"> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Partner Sites</td> </tr> <tr> <td class="alt1" align="center"> <div align=center> <if condition="is_member_of($bbuserinfo, 1)"> <a href="http://manlystuff.com/forum/register.php"><img src="http://www.manlystuff.com/images/registerbanner.gif"></a> <br /> <else /> </div> </td> </tr> </table> </div> $spacer_close </if> </if> </if> Code (markup):
Firstly, it is a good idea to tell people where the hell the code you're posting is from. Secondly, I see two <if> statements being opened and three being closed.
Tell me where this code is from. My best guess is a vBulletin template. Those </if> tags may be closing other tags that were opened earlier in the template. What is the error vBulletin gives you? It is not letting you save? In that case, what was the original saved code?
it's from www.manlystuff.com - when you view a thread as guest the threads go abit mad and move to the right! any help?
Look here: <if condition="is_member_of($bbuserinfo, 1)"> <a href="http://manlystuff.com/forum/register.php"><img src="http://www.manlystuff.com/images/registerbanner.gif"></a> <br /> <else /> </div> </td> </tr> </table> </div> $spacer_close </if> Code (markup): Your else statement is closing the tags. This means the tags will only close if the if statement evaluates to false. Fix it like this (for example): <if condition="is_member_of($bbuserinfo, 1)"> <a href="http://manlystuff.com/forum/register.php"><img src="http://www.manlystuff.com/images/registerbanner.gif"></a> </if> <br /> </div> </td> </tr> </table> </div> $spacer_close Code (markup):
search in your admincp, it's a setting your vboptions what are you posting your articles on? \and what's this have to do with the OP's question??