View Full Version : Adsense on forumhome between forum listings
treasureman
09-10-2010, 03:49 PM
For VB 3.8 series I would like to put adsense code on the forumhome page between the listings of forums, and between the forum sections.
I have many forums divided up into "main forums", "other forums" etc. I would like to put adsense either at the end of one of these forum categories or at the beginning. Also between the listings of forums.
Any help is appreciated!
Warlord
09-11-2010, 03:29 AM
Edit this template: forumhome_forumbit_level1_nopost
Scroll to the bottom of the template and add the adsense code. Save the template. It should put an ad after each forum category.
treasureman
09-11-2010, 03:47 AM
Edit this template: forumhome_forumbit_level1_nopost
Scroll to the bottom of the template and add the adsense code. Save the template. It should put an ad after each forum category.
Thanks Warlord!
Since I have many categories, and google only allows 3 adsense ads per page, how I get the add to appear under just some of the categories?
treasureman
09-12-2010, 05:58 PM
Edit this template: forumhome_forumbit_level1_nopost
Scroll to the bottom of the template and add the adsense code. Save the template. It should put an ad after each forum category.
Okay I tried it but it didn't put any ads in any of the forum categories.
Warlord
09-14-2010, 12:10 AM
If you want to email me your template and the adsense code I'll take a look at it. scottwilliams324 [at] gmail [dot] com.
What I described above should post the same ad under each category on your forum home.
If you want an adsense ad to display on the category when you click on the category you can add the code at the bottom of the forumhome_forumbit_level1_post template. (Ad should appear where the word TEST is).
treasureman
09-14-2010, 07:53 PM
If you want to email me your template and the adsense code I'll take a look at it. scottwilliams324 [at] gmail [dot] com.
What I described above should post the same ad under each category on your forum home.
If you want an adsense ad to display on the category when you click on the category you can add the code at the bottom of the forumhome_forumbit_level1_post template. (Ad should appear where the word TEST is).
Thanks for your help I got it to work. I needed to put it before the last closing </if> conditional. Also I needed to put my table formating in and use an if conditional to restrict it to only the categories I wanted it in.
Warlord
09-15-2010, 12:00 AM
Yeah, I didn't realize you were that advanced and was trying to give you an easier alternative if you were so inclined. Glad you got it to work though.
treasureman
09-21-2010, 09:29 PM
Okay now that I can display adsense at the beginning or the end of a category let's take it one step further.
Say I have 10 forums in a category and I want to display Adsense after, say, the 5th forum but before the 6th? (instead of at the beginning or end of the category)
ajmboy
10-13-2012, 04:01 PM
Can you post the category <if> code?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.