MyBB Community Forums

Full Version: How to add Ad Boxes
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 remove the automated templates edit in the plugin. You could then use the eval function to show the boxes in your templates. e.g.
<table>
<tr>
<td width="80%" valign="top">{$forums}</td>
<td width="20%" valign="top">{$sidebox}</td>
</tr>
</table>

eval("\$sidebox = \"".$box1.$box2."\";");
That's the problem, when I add this:

<table>
<tr>
<td width="80%" valign="top">{$forums}</td>
<td width="20%" valign="top">{$sidebox}</td>
</tr>
</table>

It does this:
http://img257.imageshack.us/img257/72/forumscreen.jpg

If I can get past this styling problem I will be sorted Sad
I put this in header:
<table border="0">
<tr>
<td width="170px" valign = "top"><br />
{$sideboxes}
</td>
<td width = "100%" valign = "top">

then this in footer to make my global sideboxes
</td>
</tr>
</table>
Pages: 1 2