PDA

View Full Version : Moving postbit_legacy to the right



between worlds
Sun 30th Mar '08, 7:40pm
Hey

I saw the tutorial on here telling you how to change your postbit_legacy so that the postbit was flipped around. However, when trying to do this on a modified postbit on vb version 3.6.7 I'm having a lot of issues. I managed to get it to work but then I had to put in a few other modifications and now can't see to get it to the right again.

Here's the code:



<!-- post #$post[postid] -->
<if condition="$show['spacer']">
<div id="edit$post[postid]" style="padding:0px 0px 0px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>



<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid $stylevar[tborder_bgcolor]">



<tr valign="top">
<td class="$bgclass" width="175" rowspan="2" style="border-right: 1px solid $stylevar[tborder_bgcolor]">

<div align="center">
<!-- vbPlaza start -->
<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>
<!-- vbPlaza end -->

<if condition="$show['profile']">
<a href="member.php?$session[sessionurl]u=$post[userid]"><b>$post[field67]</b></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
<b>$post[field67]</b>
<b>$post[field67]</b></a>
</if>


</div>
<div class="smallfont" align="center"><i>$post[field68]</i></div>


<if condition="$post[field69]">
<div class="smallfont" align="center">
&nbsp;<br /><img src="$post[field69]" style="border-color:$stylevar[tborder_bgcolor];" border="1" />

<br />
</div>
</if>
<br />

<center>$post[onlinestatus]</center>


</div>
</div>
</div>
</div>
</td>

<td class="$bgclass" id="td_post_$post[postid]">
<span style="float:right" class="smallfont">
<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></span>

<if condition="$post['title']">
<!-- icon and title -->
<div class="smallfont">
<!-- <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> -->
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>

<!-- / icon and title -->
</if>


<br />

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


<tr>
<td align="center" valign="bottom" class="$bgclass">
<if condition="$post['signature']">
<!-- signature -->
<div class="smallfont">
__________________<br /><br />
<div align="center"><if condition="$post[field71]"><img src="$post[field71]"/></div></if>
<br />
<!-- / signature -->
</if>

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

<span style="float:left"><div class="smallfont" align="left"><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]
</div></span>

<div class="smallfont" align="right">
<a href="http://www.crypticrealm.net/profile.php?do=editsignature" target="_blank">Edit Sig</a> | <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">Report Bad Post</a></if> |
$post[iplogged]
</div>
</td>
</tr>
</td>
</tr>

<tr>
<td class="$bgclass" style="border-top: 0px solid $stylevar[tborder_bgcolor]; border-right: 1px solid $stylevar[tborder_bgcolor]">

<!-- status icon and date
<div class="smallfont"><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]</div>
/ status icon and date -->
</td>

<td class="$bgclass" style="border-top: 1px solid $stylevar[tborder_bgcolor]">
<!-- buttons -->
<span style="float:right">
<if condition="$post['editlink']">
<a href="$post[editlink]" name="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>

</span>

<a href="member.php?$session[sessionurl]u=$post[userid]" target="_blank"><img src="$stylevar[imgdir_button]/profile.gif" alt="View Profile" border="0" /></a>
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" target="_blank"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="Send a PM" border="0" /></a>

<if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td></if>

<if condition="$post['homepagelink']"><a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="Visit Users Home Page" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a></if>

<a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]"><img src="$stylevar[imgdir_button]/find.gif" alt="Find all Posts by this user" border="0" /></a>
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img src="$stylevar[imgdir_button]/buddy.gif" alt="Add to Buddy List" border="0" /></a>
<!-- / buttons -->
</td>
</tr>
</table>
</div>
</div>
</div>



<!-- 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">Played by $post[username]
<br/><div style="font-weight:normal"><i>Portrayed by $post[field70]</i></div></td>
</tr>
<if condition="$post[field72]">
<tr><td class="alt1"><div class="smallfont"><b>Age:</b> $post[field72]</div></td></tr></if>
<if condition="$post[field73]">
<tr><td class="alt1"><div class="smallfont"><b>Place Of Birth:</b> $post[field73]</div></td></tr></if>
<if condition="$post[field74]">
<tr><td class="alt1"><div class="smallfont"><b>Height:</b> $post[field74]</div></td></tr></if>
<if condition="$post[field75]">
<tr><td class="alt1"><div class="smallfont"><b>Marital Status:</b> $post[field75]</div></td></tr></if>
<if condition="$post[field76]">
<tr><td class="alt1"><div class="smallfont"><b>Occupation:</b> $post[field76]</div></td></tr></if>
<if condition="$post[field77]"><tr><td class="alt1"><div class="smallfont"><b>Residence:</b> <if condition="$post['field78']"><a href="$post[field78]"></if>$post[field77]<if condition="$post['field78']"></a></if></div></td></tr></if>
<if condition="$post[field79]"><tr><td class="alt1"><div class="smallfont"><b>E-Mail:</b> <if condition="$post['field80']"><a href="$post[field80]"></if>$post[field79]<if condition="$post['field80']"></a></if></div></td></tr></if>
</table>
</div>

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



</div>


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


<div id="edit$post[postid]" style="padding:0px 0px 0px 0px">

Anybody able to help? Give any pointers?

Jose Amaral Rego
Mon 31st Mar '08, 1:37am
It just as simple to get this from www.vBulletin.org, then you can compare what you almost done to what another members has another succeeded in doing or you can continue with this and learn, but then you should know basic HTML and CSS before attempting this or take some class and or find some free video tutorials on this. You might get someone this help you on this, but you get better help if you were in a group of people in same level of knowledge to work this out... It has been quite awhile since I seen this, but then you might see this here.