MyBB Community Forums

Full Version: HTML BANNERS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i add html banners in forum page and portal as side bars?
I found myself this is what you can easily do.

Browse to admin cp / templated & styles / templates / choose your theme's templates / go to index page templates / expand / click on idex and add there:

After this:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
 lang.no_new_posts = "{$lang->no_new_posts}";
 lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body id="forums">
{$header} 
{$serversboard_index}
{$ps_header_index}
{$dvz_shoutbox}

<div class="side" style="float: right; width: 23%">

Add this:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td  class="thead">
<div class="float_left"><strong>Your title here!</strong></div> 
</td>
</tr> 
<tr>
<td  class="trow1">
Your html code here!
</td>
</tr>
</table>
<br />

And edit thats it.
Thanks for the +karma meetdilip Smile