2008-06-02, 11:25 PM
Pages: 1 2
2008-06-03, 10:22 AM
http://community.mybboard.net/showthread.php?tid=31600
Admin CP --> Templates --> Modify / Delete --> *Choose your template set and click 'Expand'* --> Forum Display Templates --> forumdisplay
Replace the code with:
Replace the code with:
Hope that does it.
Admin CP --> Templates --> Modify / Delete --> *Choose your template set and click 'Expand'* --> Forum Display Templates --> forumdisplay
Replace the code with:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
</head>
<body>
{$header}
<table width="100%" border="0">
<tr>
<td> <!-- the left cell is for the main content -->
{$moderatedby}
{$usersbrowsing}<br /><br />
{$rules}
{$subforums}
{$threadslist}
</td>
<td width="150"> <!-- the right cell is for the ad code -->
<!-- ad code -->
</td>
</tr>
</table>
{$footer}
</body>
</html>
Admin CP --> Templates --> Modify / Delete --> *Choose your template set and click 'Expand'* --> Show Thread Templates --> showthreadReplace the code with:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=121"></script>
</head>
<body>
{$header}
<table width="100%" border="0">
<tr>
<td> <!-- the left cell is for the main content -->
{$pollbox}
<div style="float: right; padding-bottom: 4px;">
{$newreply}{$newthread}
</div>
{$multipage}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="2">
<div style="float: right;">
<span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
</div>
<div>
<strong>{$rating} {$thread['subject']}</strong>
</div>
</td>
</tr>
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>
{$posts}
{$threadpages}
<tr>
<td colspan="2" class="tfoot">
<div><strong>« <a href="showthread.php?tid={$tid}&action=nextoldest">{$lang->next_oldest}</a> | <a href="showthread.php?tid={$tid}&action=nextnewest">{$lang->next_newest}</a> »</strong></div>
</td>
</tr>
</table>
<div style="padding-top: 4px;">
{$newreply}{$newthread}
</div>
{$threadexbox}
{$quickreply}
{$moderationoptions}
{$similarthreads}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="trow1">
<table width="100%">
<tr>
<td>
<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&tid={$tid}">{$lang->subscribe_thread}</a> | <a href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a>
</span>
</td>
<td align="right">
{$ratethread}
<br />
{$forumjump}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="150"> <!-- the right cell is for the ad code -->
<!-- ad code -->
</td>
</tr>
</table>
{$footer}
</body>
</html>
Where you see <!--ad code --> (in both templates) replace with your ad code.Hope that does it.
2008-06-03, 09:33 PM
i want it for index page only
2008-06-04, 03:14 AM
sam123 Wrote:i want it for index page only
Next time please be more specific with your request. Thanks.
2008-06-04, 03:18 AM
Here is a preview of it.
2008-06-04, 10:16 PM
help please
2008-06-05, 06:47 PM
someone please help
2008-06-05, 07:22 PM
Just install the sideboxes; that's for the index page only
2008-06-05, 08:27 PM
thanks lex
2008-06-05, 08:34 PM
is there a way to put the side box on the left side instead of right?
Pages: 1 2