Version for visually impaired
menu
[ Updated threads · New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Advertisements codes in phpBB3
guitarmantraDate: Thursday, 2009-06-04, 8:35 AM | Message # 1
Colonel
Group: Administrators
Messages: 220
Awards: 3
Reputation: 2
Status: Offline
One frequently asked question is how to add ads in phpBB3 Olympus. The short answer is very simple: start your favourite text editor and open the correct .html template file. But which template file? Here's the longer answer....

First, open your favourite text editor and then....

Ads in the header

If you want ads in your header, open styles/prosilver/template/overall_header.html and add your code at the very end of the file.

Ads in the footer

If you want ads in your footer, open styles/prosilver/template/overall_footer.html

Find

Code
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->

Add your code after that line. You may need to include one or two <br /> to get line breaks (newlines) if you so desire.

Important note: Check with your ad provider before you put your ads in the header or footer. Some providers (like Google AdSense) only allow ads on pages that have actual content like the view topic or view forum pages.

Ads in view forum page

If you want ads in the view forum page that lists all the topics in that forum, open styles/prosilver/template/viewforum_body.html and add your code after this line:

Code
<!-- INCLUDE overall_header.html -->


www.coredownloadz.ucoz.com
 
  • Page 1 of 1
  • 1
Search:

This site uses cookies for better user experience. By continuing to browse the site you agree to the Cookie Policy.