nando99 |
02-11-2009 02:28 AM |
Post bit menus no longer hidden...
1 Attachment(s)
I've uploaded a screen shot of what it looks like....
I have no idea what the problem is... I've moved things around in the postbit template in so many ways I'm not sure what I haven't tried yet... lol
here's my postbit template, anyone see the problem? bc I sure don't.... its customized up the yin yang fyi... :erm:
Code:
$template_hook[postbit_start]
$template_hook[postbit_messagearea_start]
<if condition="$post[postcount] == 1">
<if condition="!in_array($GLOBALS[forumid], array(141))">
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0" class="tbpost">
<tr>
<td width="160" valign="top" style="border: solid 1px #999999; background-color:#373737; color:#FFFFFF; padding:5px; width:160px;"><div align="center"> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="0" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]
</phrase>
" /></a> </div>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
</td>
<td width="10" valign="top"> </td>
<td width="515" valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px;"><h1>$post[title] </h1>
<div class="smallfont">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
Posted by <span id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</span> $post[postdate], $post[posttime] </div>
<hr class="divchr" align="left">
$post[message] <br />
<if condition="$thread[prefix_plain_html] == 'Funny Videos' OR $thread[prefix_plain_html] == 'Eye Candy Videos'">
<else />
<if condition="$show['attachments']"> <br clear="all"/>
<!-- attachments -->
<div>
<if condition="$show['thumbnailattachment']">
<table width="330" align="center">
<tr>
<td> $post[thumbnailattachments] </td>
</tr>
</table>
</if>
<if condition="$show['imageattachment']">
<table width="80%" align="center">
<tr>
<td><div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div></td>
</tr>
</table>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['otherattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[otherattachments]
</table>
</if>
<if condition="$show['moderatedattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[moderatedattachments]
</table>
</if>
</div>
<!-- / attachments -->
</if>
</if>
<if condition="$show['postedited']"> <br clear="all">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
. </if>
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em> </div>
<!-- / edit note -->
</if>
<br clear="all" />
<div class="poptions">
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:bottom; padding-top:4px; float:right;" value="$post[checkbox_value]" />
</if>
<if condition="$show['reportlink']"> <a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_bad_post] -</a> </if>
<if condition="$post['forwardlink']"> <a href="$post[forwardlink]">$vbphrase[forward_message] -</a> </if>
<if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow">$vbphrase[reply_with_quote] -</a> </if>
<if condition="$post['editlink']"> <a href="$post[editlink]">$vbphrase[edit_delete_message] -</a> </if>
</div>
</td>
</tr>
<table>
<else />
<!-- / BOTB post#1 -->
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px;">
<h1 style="text-align:center; font-size:18px;">$post[title] </h2>
$post[message] <br />
<if condition="$thread[prefix_plain_html] == 'Funny Videos' OR $thread[prefix_plain_html] == 'Eye Candy Videos'">
<else />
<if condition="$show['attachments']"> <br clear="all"/>
<!-- attachments -->
<div>
<if condition="$show['thumbnailattachment']">
<table width="330" align="center">
<tr>
<td> $post[thumbnailattachments] </td>
</tr>
</table>
</if>
<if condition="$show['imageattachment']">
<table width="80%" align="center">
<tr>
<td><div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div></td>
</tr>
</table>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['otherattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[otherattachments]
</table>
</if>
<if condition="$show['moderatedattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[moderatedattachments]
</table>
</if>
</div>
<!-- / attachments -->
</if>
</if>
<div class="smallfont" style="text-align:center;">
<p>
<script language=JavaScript>
document.write ('<a href="');
document.write('http://www.stumbleupon.com/submit?url='+document.URL+'&title='+document.title.replace(/ /g,'+')+'" target="_blank">');
document.write ('<img border=0 src=http://cdn.stumble-upon.com/images/160x30_su_black.gif></a>');
</script>
</p>
<strong>Please Remember</strong> <br />
Poll Closes a week from $post[postdate].<br />
A reply and StumbleUpon's thumbs up is required to qualify for the <a href="http://www.fatboymag.com/forums/general-discussions/38980-the-battle-of-the-babes-start-now/" target="_blank" />monthly contest</a> sponsored by our good friends @ <a href="http://www.roadkilltshirts.com" target="_blank" />RoadKillTShirts.com</a>. <br />
<a href="http://www.roadkilltshirts.com" target="_blank" /><img src="http://www.fatboymag.com/rk_logo-post.jpg" border="0" /></a> </div>
<if condition="$show['postedited']"> <br clear="all">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
. </if>
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em> </div>
<!-- / edit note -->
</if>
<if condition="$show['inlinemod']">
<br clear="all" />
<div class="poptions">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:bottom; padding-top:4px; float:right;" value="$post[checkbox_value]" />
</div>
</if>
</td>
</tr>
<table>
</if>
<else />
<!-- / post#2 -->
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="160" valign="top" style="border: solid 1px #999999; background-color:#cccccc; color:#000000; padding:5px; width:160px;">
<div align="center">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="0" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" /></a>
</div></td>
<td width="10" valign="top"> </td>
<td width="515" valign="top" style="border: solid 1px #cccccc; background-color:#FFFFFF; padding:5px;">
<div class="smallfont">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
Posted by <span id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</span> $post[postdate], $post[posttime] </div>
<hr class="divchr" align="left">
$post[message] <br />
<if condition="$thread[prefix_plain_html] == 'Funny Videos' OR $thread[prefix_plain_html] == 'Eye Candy Videos'">
<else />
<if condition="$show['attachments']"> <br clear="all"/>
<!-- attachments -->
<div>
<if condition="$show['thumbnailattachment']">
<table width="330" align="center">
<tr>
<td> $post[thumbnailattachments] </td>
</tr>
</table>
</if>
<if condition="$show['imageattachment']">
<table width="80%" align="center">
<tr>
<td><div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div></td>
</tr>
</table>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['otherattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[otherattachments]
</table>
</if>
<if condition="$show['moderatedattachment']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="80%" align="center">
$post[moderatedattachments]
</table>
</if>
</div>
<!-- / attachments -->
</if>
</if>
<if condition="$show['postedited']"> <br clear="all">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
. </if>
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em> </div>
<!-- / edit note -->
</if>
<br clear="all" />
<div class="poptions">
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:bottom; padding-top:4px; float:right;" value="$post[checkbox_value]" />
</if>
<if condition="$show['reportlink']"> <a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_bad_post] -</a> </if>
<if condition="$post['forwardlink']"> <a href="$post[forwardlink]">$vbphrase[forward_message] -</a> </if>
<if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow">$vbphrase[reply_with_quote] -</a> </if>
<if condition="$post['editlink']"> <a href="$post[editlink]">$vbphrase[edit_delete_message] -</a> </if>
</div>
</td>
</tr>
<table>
</if>
<if condition="!in_array($GLOBALS[forumid], array(102,140,105,122,137,133,135))">
<if condition="$post[postcount] == 1">
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px; text-align:center" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2949491656979522";
/* fbm-post1 468x60, created 12/2/08 */
google_ad_slot = "3774276022";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr></table>
</if>
<if condition="$post[postcount] == 3">
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px; text-align:center" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2949491656979522";
/* fbm-post2 468x15, created 12/2/08 */
google_ad_slot = "0557178965";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr></table>
</if>
<if condition="$post[postcount] == 5">
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px; text-align:center" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2949491656979522";
/* fbm-post2 468x15, created 12/2/08 */
google_ad_slot = "0557178965";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr></table>
</if>
<if condition="$post[postcount] == 7">
<table width="725" style="margin-bottom:10px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border: solid 1px #999999; background-color:#FFFFFF; padding:5px; text-align:center" align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-2949491656979522";
/* fbm-post2 468x15, created 12/2/08 */
google_ad_slot = "0557178965";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr></table>
</if>
</if>
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
thanks in advance...
|