How to insert ads in MyBB

Status
Not open for further replies.

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
These instructions have been written for the default theme. They should work on almost all other themes with little or no changes.

For the Corporate plan:
1) Login to your admin control panel (http://yoururl/mybbfolder/admin)
2) Scroll down on the menu to “Templates” and click “Modify / Delete”
3) Click expand next to “Default Templates”
4) Find “header” and click it
5) At the end of that file add the code
Code:
<div align="center">CORPORATE/ADVANCED AD CODE HERE</div>
6) Click update template
7) Repeat for all other template listed. Don’t worry about Global Templates.


For the Advanced plan:
1) Login to your admin control panel (http://yoururl/mybbfolder/admin)
2) Scroll down on the menu to “Templates” and click “Modify / Delete”
3) Click expand next to “Default Templates”
4) Find “footer” and click it
5) Find this code
Code:
{$lang->copyright} © 2002-{$copy_year} <strong><a href="http://www.mybboard.net" target="_blank">MyBB Group</a>
6) Add the following after it.
Code:
<br />CORPORATE/ADVANCED AD CODE HERE
6) Click update template
7) Repeat for all other template listed. Don’t worry about Global Templates.

If you still can't insert the ads, please post in the "Free Hosting" board.
 
Last edited:
Status
Not open for further replies.
Top