Log in

View Full Version : My legacy postbit is broken. Help me.


WritersBeat
10-27-2006, 06:23 PM
My edit/multi-quote/quick quote buttons don't work properly.

Edit doesn't open quick edit anymore.

Multi-quote doesn't even work.

QUick-quote doesn't drop down to the quick menu box.

Any help? :)


<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" class="thead">

<tr>

<td width="21" height="31" align="left" valign="top"></td>

<td height="31" width="80%" align="left" valign="middle"><div style="color: #496690; font-weight: bold; padding-top: 6px; font-family: Tahoma;"></div></td>

<td width="19" align="left" valign="middle"></td>

<td align="right" valign="top"><a style="float:$stylevar[right]; padding-top: 9px;" href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>

</td>

<td width="14" height="31" align="right" valign="top"></td>

</tr>

</table>

<!-- /sand Cat Top End -->

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">

<tr>

<if condition="$show['announcement']">

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />

<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>

</td>

<else />

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>

<!-- status icon and date -->

<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>

$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>

$post[firstnewinsert]

<!-- / status icon and date -->

</td>

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">

&nbsp;

<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if> <if condition="$show['inlinemod']">

<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />

</if>

</td>



</if>

</tr>

<tr valign="top" id="collapseobj_postbit_$post[postid]" style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' . $post[postid]]};">

<td class="sand_userinfo_bg" width="175">



<!-- vbPlaza start -->

<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>

<!-- vbPlaza end -->

<if condition="$show['profile']">

<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>

<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>

<else />

$post[musername] </if>

<if condition="$post[mh_pbp_realuserid]">&nbsp;$vbphrase[mh_pbp_real_original_poster]: <a href="member.php?$session[sessionurl]u=$post[mh_pbp_realuserid]">$post[mh_pbp_realusername]</a></if>

</div>



<!-- vbPlaza start -->

<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>

<!-- vbPlaza end -->



<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>









<if condition="$show['avatar']">

<div class="smallfont">

&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div>

</if>

<br />

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>



<div class="smallfont">

&nbsp;<br />

<div class="sand_user_info">$post[onlinestatus]</div>

<div class="sand_user_info">$vbphrase[posts]: $post[posts] <br />

<if condition="$vboptions['zointsprofile_on'] AND $show['zointsprofile']">

<if condition="$post['haszointsprofile']">

<div><a href="$vboptions[zointsprofile_basepath]profile.z?forum=$vboptions[zointsprofile_token]&userid=$post[userid]" target="_blank">$vbphrase[zointsprofile_my_zoints_profile]</a></div>

<else />

<if condition="$post['userid'] == $bbuserinfo['userid']">

<div>

<a href="member.php?$session[sessionurl]u=$post[userid]&amp;dozoints=1">$vbphrase[zointsprofile_link_your_profile]</a>

<a href="$vboptions[zointsprofile_basepath]tour/forum-members/" target="_blank">[?]</a>

</div>

</if>

</if>

</if>

<!-- vbPlaza start -->

<if condition="$vbulletin->options['vbbux_enabled']">

$vbphrase[vbbux_points]: $post[points]<br />



<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />

</if>

<!-- vbPlaza end -->





</div>









<br />

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

<!-- vbPlaza start -->

<!-- <if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if> -->

<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>

<!-- vbPlaza end -->

<!-- show awards -->

<if condition="$post[showuserawards]">

<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>

<div>

$post[userawards]

<br>

<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]

</div>

</fieldset>

</if>

<!-- /show awards -->



<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 7 ] -->







</div>

</td>



<td class="alt2" id="td_post_$post[postid]">









<!-- message -->

<div id="post_message_$post[postid]">$post[message]</div>

<!-- / message -->



<if condition="$show['attachments']">

<!-- attachments -->

<div style="padding:$stylevar[cellpadding]px">



<if condition="$show['thumbnailattachment']">

<fieldset class="fieldset">

<legend>$vbphrase[attached_thumbnails]</legend>

<div style="padding:$stylevar[formspacer]px">

$post[thumbnailattachments] </div>

</fieldset>

</if>



<if condition="$show['imageattachment']">

<fieldset class="fieldset">

<legend>$vbphrase[attached_images]</legend>

<div style="padding:$stylevar[formspacer]px">

$post[imageattachments] </div>

</fieldset>

</if>



<if condition="$show['imageattachmentlink']">

<fieldset class="fieldset">

<legend>$vbphrase[attached_images]</legend>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

$post[imageattachmentlinks]

</table>

</fieldset>

</if>



<if condition="$show['otherattachment']">

<fieldset class="fieldset">

<legend>$vbphrase[attached_files]</legend>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

$post[otherattachments]

</table>

</fieldset>

</if>



<if condition="$show['moderatedattachment']">

<fieldset class="fieldset">

<legend>$vbphrase[attachments_pending_approval]</legend>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

$post[moderatedattachments]

</table>

</fieldset>

</if>

</div>

<!-- / attachments -->

</if>



<if condition="$post['signature']">

<!-- sig -->

<div>

__________________<br />

$post[signature] </div>

<!-- / sig -->

</if>



<if condition="$show['postedited']">

<!-- edit note -->

<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />

<em>

<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.

<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>

</em>

</div>

<!-- / edit note -->

</if>



</td>

</tr>

<tr>

<td class="sand_postbit_bl">

<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>

<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>

$post[iplogged]

&nbsp;



<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']">

<a href="#" onclick="window.open('pager.php?do=buddylist&amp;puserid=$post[userid]','pagerbuddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img src="$stylevar[imgdir_button]/page.gif" border ="0" alt="<phrase 1="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>"></a></if>

<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 7 ] -->



</td>



<td class="sand_postbit_br" align="$stylevar[right]">



<!-- controls -->





<!-- Start Post Thank You Hack -->

$post_thanks_button

<!-- End Post Thank You Hack -->





<if condition="$post['editlink']">

<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]" id="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if>

<if condition="$post['forwardlink']">

<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if>

<if condition="$post['replylink']">

<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>

</if>

<if condition="$show['multiquote_post']">

<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>

</if>

<if condition="$show['quickreply'] AND !$show['threadedmode']">

<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onClick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if>

<if condition="$vboptions['vbdigger_enabled']">

<if condition="$vboptions['vbdigger_digg']">

<a href="http://digg.com/submit?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img src="$stylevar[imgdir_button]/digg.png" alt="$vbphrase[submit_thread_to_digg]" title="$vbphrase[submit_thread_to_digg]" border="0" /></a>

</if>

<if condition="$vboptions['vbdigger_delicious']">

<a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img src="$stylevar[imgdir_button]/delicious.png" alt="$vbphrase[submit_thread_to_delicious]" title="$vbphrase[submit_thread_to_delicious]" border="0" /></a>

</if>

</if>

<if condition="$show['moderated']">

<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if>

<!-- / controls --> </td>

</tr>

</table>



<!-- 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="!$vbulletin->options['zointsprofile_postbit_dropdown']">

<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>

<else />

<if condition="$show['profile']">

<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]&nozoints=1">$vbphrase[view_public_profile]</a></td></tr>

</if>

<if condition="$post['haszointsprofile']">

<tr><td class="vbmenu_option"><a href="$post[zointsprofileurl]">$vbphrase[zointsprofile_view_zoints_profile]</a></td></tr>

</if>

</if>



<if condition="$show['pmlink']">

<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><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_more_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_buddy_list]</phrase></a></td></tr>

</if>



<tr><td class="vbmenu_option"><a class="smallfont" href="friends.php?$session[sessionurl]u=$post[userid]">Friends</a></td></tr>

</table>

</div>

<!-- / post $post[postid] popup menu -->





<if condition="$show['spacer']">

</div>

$spacer_close

</if>

<!-- / post #$post[postid] -->

<!-- Start Post Thank You Hack -->

$post_thanks

<!-- End Post Thank You Hack -->

Mr Pink
10-27-2006, 08:32 PM
Have you reverted the template?

WritersBeat
10-27-2006, 09:21 PM
Yes, and it worked.

Except I don't know how to fix my CURRENT one, which is different than the original. So I need help debugging my CURRENT one.

Thanks.

anyone?

WritersBeat
10-29-2006, 06:03 PM
Please?

Mr Pink
10-30-2006, 10:36 AM
So, have you a personal style? You can try to ask to the vBulletin team for the parts of code added, then you will try to edit those..