Please help? :nervous:
I inserted this bit of code into my FORUMHOME template to make the conditional message for 0 post users:
PHP Code:
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
<if condition="$bbuserinfo[posts]<1 && !$show['guest'] && !is_member_of($bbuserinfo, 3)">
<br />
<!-- ############## NEVER POSTED MESSAGE ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="alt1" align="left"><p style="color: red;">
Hello $bbuserinfo[username],<br>Why not make your first post today by saying hello to the crew in our <a href="http://www.zookpower.ca/forums/forumdisplay.php?f=1">Welcome to Zookpower</a> forum!
</p></td>
</tr>
</tbody>
</table>
<!-- ############## END NEVER POSTED MESSAGE ############## -->
</if>
All the other pages look fine, (I'm using vb 3.0.1 with default vb 2.3.1 style), except the page that the 0 post user sees is showing in a completely different format. I've tried to edit the code for the 0 post to match the style for regular guest welcome, but then i get an error message and have to revert the template back to original.
Thanks!
Mudusa
1st image: w/ 0 post message
2nd image: normal view