MyBB Community Forums

Full Version: Add MyBB right block?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
you will have to modify the plugin such as it does not work in a specific theme.
You can do so by this IF statement in the plugin.
if ($theme['tid'] != "theme id inwhich not to display sideboxes")

(2010-12-24, 02:00 PM)Nayar Wrote: [ -> ]you will have to modify the plugin such as it does not work in a specific theme.
You can do so by this IF statement in the plugin.
if ($theme['tid'] != "theme id inwhich not to display sideboxes")
Where will this process?
You really don't need a plugin for something so simple, in the index template:

Find
{$header}
{$forums}
{$boardstats}

Replace with
{$header}
<div class="sidebar" style="float:right; width:25%;">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<strong>Sidebox Title</strong>
			</td>
		</tr>
		<tr>
			<td class="trow1">
				<span class="smalltext">Sidebox Content</span>
			</td>
		</tr>
	</table>
</div>
<div class="forums" style="float:left; width:75%;">
	{$forums}
	{$boardstats}
</div>
Which template will add the codes? I do not understand
Pages: 1 2