Ads Placement in topics for CA Vintage style

December 11th, 2009 - 12:12 am § in Ads Placement, PhpBB

We have been asked by some of our users to provide ad placements in CA Vintage style ever since we implemented the style, few days back. Well with the styles provides by stsoftware.biz customization is something that could be achieved in an easy go. This post only focuses on the placement in viewtopic page, where the actual content lies in a forum. We have divided the ad placement in two zones on the viewtopic page. Check the screen shot for the zones and placement.

sample-ad-placement-in-viewtopic_body-page- ca-vintage

Ads in the first post

In zone 1 the ad appears just before the content in the viewtopic page of the forum. Its a very lucrative position that increases the click through rate for any forum. This position gives you great results if an rectangular ad block is placed there. Well lets focus on the ad placement first, later we will cover the optimization.

Note: The ad appears only in the first post not to the replies made to it.

Step1: Open the viewtopic_body.html file.

Step 2: Look for in the following line in the code.

{postrow.MESSAGE}</div>

Step3: Just before this line paste the following code, replacing your ad goes here with your ad code.

<!– IF postrow.S_FIRST_ROW –>
your ad goes here
<br/>
<!—ENDIF –>

Step 4: Save the changes made to the file.

Ads after first post

In the Zone 2 the ad appears just after the first post i.e. in-between the content body and the first reply; check the screen shot for exact position. This is also one of the best position that a forum owner love to have. Lets look at the steps to be followed:

Step1: Open the viewtopic_body.html file.

Step2: Look for the following lines in the code

</div>
<!– END postrow –>

Step3: Just before these lines add the following code, replacing your ad goes here with your ad code.

<!– IF postrow.S_ROW_COUNT == 0 –>
{$CA_BLOCK_START}
<center>
your ad goes here
</center>
{$CA_BLOCK_END}
<!—ENDIF –>

Step 4: Save the changes made to the file.

Well the ad placement is completed over the viewtopic_body.html page for the CA Vintage style. We will be covering the ad placement in the viewforum_body.html and index_body.html page. These customizations are really going to be awesome and we are sure you will love them.

If you faces any problem leave a comment, and if you want to discuss over this style entire its official forum for it.



1 Trackbacks/Pingbacks

  1. Ads Placement in Forum page for CA Vintage style 12 12 09

Your Comment