deAthbLisS
Active Member
Hi Guys,
Here's a Tutorial for the Webmasters Using Phpbb3.
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:
Add your code before/after that line. You may need to include one or two <br /> to get line breaks (newlines) if you so desire.
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:
Ads before or after the first post in a topic
If you want ads either before or after the first post in a topic, open styles/prosilver/template/viewtopic_body.html
For ads before the first post, find the line below and add the sample code after this line.
For ads after the first post, find the line below and add the sample code before this line.
Here is the sample ad code:
replace Insert your ad code here with the ad code your provider gives you.
Hope it Helps.
Thanks
Here's a Tutorial for the Webmasters Using Phpbb3.
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 -->
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 -->
Ads before or after the first post in a topic
If you want ads either before or after the first post in a topic, open styles/prosilver/template/viewtopic_body.html
For ads before the first post, find the line below and add the sample code after this line.
Code:
<!-- BEGIN postrow -->
For ads after the first post, find the line below and add the sample code before this line.
Code:
<!-- END postrow -->
Here is the sample ad code:
Code:
<!-- IF postrow.S_FIRST_ROW -->
<div class="post bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<h3>{postrow.POST_SUBJECT}</h3>
<p class="author"><strong>Sponsor</strong></p>
<div class="content" style="text-align: center;">
Insert your ad code here
</div>
</div>
<dl class="postprofile" id="profile0000">
<dt>
<strong>Sponsor</strong>
</dt>
<dd> </dd>
</dl>
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
<span class="corners-bottom"><span></span></span></div>
</div>
<hr class="divider" />
<!-- ENDIF -->
replace Insert your ad code here with the ad code your provider gives you.
Hope it Helps.
Thanks