View Full Version : Placing Ads on vBulletin
Sm1th146
Tue 1st Jul '08, 6:26pm
Say I was looking to use something such as Google AdSense. It is possible to insert ads directly above or below the forum right? At the same time, even when members look through threads the ads will stay in the same location as well? As I believe the answer to the question is a yes, (not sure though) how do you do that with vBulletin? By editing the code yourself or is there a feature to help you out with?
Mr_Butter
Tue 1st Jul '08, 6:36pm
vBulletin is made in such a way so that you rarely have to edit the actual PHP files (i.e. the source files). In fact, by editing the files you waive your right to support (but of course if you upload all the original files you can get it back :D)
Anyways, this is easily done by editing what we call templates. There are hundreds of templates in vBulletin. Each style (or 'skin') has its own set of templates (and child styles inherit teh templates from parent styles). Point is that you can have different templates for every style. For example on one style you may want to place the ads in a different location than for other styles.
Anyways, placing advertisements is a piece of cake. Just edit the template you want (such as FORUMDISPLAY or FORUMHOME) and place the html code where you think is appropriate. It also comes with loads of comments in the templates to tell you what is happening within it (for example, when the site starts displaying the forums so you know that placing code above it will go above the forum list).
If you do something wrong it's extremely easy to just remove the code and try placing it somewhere else.
You can try to experiment with this before purchasing it by setting up a demo account here: http://www.vbulletin.com/admindemo.php
liselottedwt
Tue 1st Jul '08, 7:18pm
Or visit vbulletin.org and search for any Ad Manager plugin. Its easier if you don't know template editing :)
Sm1th146
Tue 1st Jul '08, 8:52pm
Thanks for both of your replies. You guys answered my question better than what I expected. I appreciate that.
Ryan Ashbrook
Tue 1st Jul '08, 9:29pm
Has everyone forgotten about the Ad Location templates?
vBulletin has built-in templates which will display your ads, without needing to add plugins or modify additional templates.
Mike Vollmer
Wed 2nd Jul '08, 12:21am
Has everyone forgotten about the Ad Location templates?
vBulletin has built-in templates which will display your ads, without needing to add plugins or modify additional templates.
Unfortunately they only display ads that are horizontal across the screen. They do not accommodate ads inside posts or in the margins.
Len Backus
Wed 2nd Jul '08, 8:05am
I can't find reference to "ad location template" in the documentation. Where is it found, please and is that the correct term?
Can you place an ad to appear only in a specific sub-forum?
Hayk
Wed 2nd Jul '08, 8:27am
I can't find reference to "ad location template" in the documentation. Where is it found, please and is that the correct term?
Go to Admin CP > Styles & Templates > Style Manager > Edit Templates > Ad Location Templates. Place ad code in appropriate template under it.
Can you place an ad to appear only in a specific sub-forum?
No, with default vB ad locations you can't do it. To do it, you would need custom modification:)
turbe
Wed 9th Jul '08, 6:55pm
How long has the built in Ad support been available (<3.7)?
Colin F
Wed 9th Jul '08, 7:33pm
The ad templates are in since 3.7.
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.