MyBB Forum

Notes for the forum at clickforcharity.

Insert ads

postbit

This is in ACP > Templates & Style > Templates > [select template] > Post Bit Templates > postbit and e.g. added after the last line:

<div><img class="postbit-banner" src="https://forum.clickforcharity.net/banner01.gif"></div>

The css for this is in ACP > Templates & Style > Themes > [select theme] > global.css and then click on Advanced Mode because Simple Mode does weird things. At the top (cos it’s easier to find) I put

img.postbit-banner {
	width: 728px;
	padding: 0.1em;
	}

Header

This is in ACP > Templates & Style > Templates > [select template] > Header Templates > header.

After the closing of div id=”logo” put in the code for your ad:

<div class="ads">
<iframe data-aa='2306587' src='//ad.a-ads.com/2306587?size=728x90' style='width:728px; height:90px; border:0px; padding:0; overflow:hidden; background-color: transparent;'></iframe>
</div>

The css for this is in ACP > Templates & Style > Themes > [select theme] > global.css.

	.ads {
	margin: auto;
	padding-top: 1em;
	padding-right: 2em;
	padding-bottom: 0.2em;
    }

Mobile Theme

To make a mobile theme available and auto-detect and switch to it when a mobile is used. This has its own page.

Custom Theme

Ads plug-in

Removed it because it’s more trouble than just doing it manually.