MyBB Community Forums

Full Version: Post bit switch for version 1.02
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have a quick question. Is it possible to switch the post bit on version 1.0.2. I saw a way to do it on MyBB mods but it was for a version before 1.0.2 and doesnt work (I know I tried Wink).

So anyway if it is possible to do this please let me know,

Thanks Smile
heloo there

well in case u want the horizontal postbit

then replace the postbit templates > postbit template with this code

<tr>
<td class="$altbg" width="100%" valign="top" nowrap="nowrap"><div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><span class="largetext"><a href="member.php?action=profile&amp;uid=$post[uid]">$post[username]</a></span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
$lang->postbit_posts $post[postnum]<br />
$lang->postbit_group $usergroup[title]<br />
$lang->postbit_joined $post[userregdate]<br />
$lang->postbit_status $post[onlinestatus]<br /></div>
</span>
</td></tr><tr>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<p>$post[message]</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">$post[postdate] $post[posttime]</span><br>
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom"><td align="left" ><span class="smalltext">$email$pm$www$find</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$edit$quickdelete$quote$report</span></td>
</tr>
<tr valign="bottom">
<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>



then change the Showthread Templates > Showthread template this way

<html>
<head>
<title>$thread[subject]</title>
$headerinclude
</head>
<body>
$header
$usersbrowsing
<table width="$theme[tablewidth]" align="center" cellspacing="0" cellpadding="0"><tr>
<td align="left" valign="bottom">$multipage</td>
<td align="right">$newreply$newthread</td></tr></table>
<span class="smalltext"><br /></span>
$pollbox
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="thead"><strong>$rating $thread[subject]</strong></td>
</tr>
$posts
$threadpages
<tr>
<td colspan="2" class="tfoot">
<div style="float: right;"><strong>&laquo; <a href="showthread.php?tid=$tid&amp;action=nextoldest">$lang->next_oldest</a> | <a href="showthread.php?tid=$tid&amp;action=nextnewest">$lang->next_newest</a> &raquo;</strong></div>
<div><strong><a href="showthread.php?mode=threaded&amp;tid=$tid&amp;pid=$pid#pid$pid">$lang->threaded</a> | <a href="showthread.php?mode=linear&amp;tid=$tid&amp;pid=$pid#pid$pid">$lang->linear</a></strong></div>
</td>
</tr>
</table>
$threadexbox
<br />
<table width="$theme[tablewidth]" align="center" cellspacing="0" cellpadding="0"><tr>
<td>$newreply$newthread</td></tr></table>
$quickreply
$moderationoptions
$similarthreads
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="left"><span class="smalltext">
<a href="printthread.php?tid=$tid">$lang->view_printable</a><br />
<a href="sendthread.php?tid=$tid">$lang->send_thread</a><br />
<a href="usercp2.php?action=addsubscription&amp;tid=$tid">$lang->subscribe_thread</a> | <a href="usercp2.php?action=addfavorite&amp;tid=$tid">$lang->add_favorites</a></span></td>
<td valign="middle" align="right">
$ratethread
<br />
$forumjump
</td></tr>
</table>
</td></tr>
</table>
$footer
</body>
</html>



regards
Thanks for the help it works.

Thanks again
Would it be possible for someone to make this work with 1.1.6?

I, unfortunately, can't figure it out.

Needed ASAP. Big Grin

Never mind, I fixed it. Smile