![]() |
Google Adsense Banners (or others) in Your Archive
This is a mod that has been working since 3.5.x. It still works in 3.7 beta 3 from my testing. I am reposting it to make it easier for people to find.
It is tested on my vbulletin 3.7 test forum and can be seen at http://eaforums.com/forums/archive/index.php/ Essentially, this product allows you to have adsense (or other) banners in your forum archives. To install: Import the product. Edit the plugin code to substitute your adsense code. Note: I have marked this mod as using external content because just about any ad banner system you use pulls in content from another site, unless you host the banner images locally. Unfortunately, I work full time now and am not actively supporting my mods. Thank you for understanding. |
If the example you provided, EA Forums, is owned by you, I'd advise you to change the font color of your vBulletin and vBSEO copyright information. It's a violation of the rules to make them unreadable.
|
^ Jeeeeez
|
Yeah, I think I still have this installed on my site from 3.5.x ^^
|
Quote:
|
Thank you, Amy. :)
[high]* projectego clicks install[/high] |
Quote:
|
thanks
|
Thank you Amy!!
One question: I have two sites, one with vBSEO and one without, for some reason in the one with vBSEO works great but in the one without only the bottom ad shows. I tried everything, uninstall-install twice, check all my setting, copied the same codes from one site to the other and nothing works. Do you have an idea what is the problem? |
Can you send me the url of the one without? I can inspect the HTML. You might be missing a quote or something in that one. I've tested it on a site with and without with no differences.
Amy |
Quote:
I found the problem, I forgot that I'm using the Zoints SEO mod in the forum that is not showing the ads, and Zoints has their own plug in to add ads in the archives. I uninstall yours :o and I'm using the Zoints plug in. Thanks BTW I never thought the amount of archives pages that are viewed, I thought those pages never showed in the SERPS. I was missing revenue big time. Thanks for the mod. |
Glad you found the problem :)
|
*Installed*
|
Thanks
|
good thanks
|
Glad you like it, guys :)
|
Looks interesting. Can it be installed without conflicting with the vbSEO Google/Yahoo Sitemap generator mod and without violating google adsense rules?
|
Hmm. And what is the way to uninstall it? Can't find a single link in neither products nor plugins
|
Hi Amy,
Thanks for a great hack. I installed it a few days back but have not changed the code up yet as thanks for your work. It's appreciated! |
Quote:
I realize that there is no support for this but I might as well ask anyway. Can anyone confirm that this does not break the TOS of Google Adsense? |
Why would it break the TOS? It simply puts ad banners on archive content pages. Or am I missing some use of it?
|
Quote:
|
Quote:
|
I guess it shouldn't break the TOS.
Its just google demands you to have content on the site and I figured that the archive list may not be enough. |
thanks, nice hack:)
|
i cant seem to get it to show anywhere please help
|
To the above poster (sorry, refuse to type that name :D) I can't check your installation because your homepage isn't linked. However, when you first start using adsense banners on new pages, it often takes some time for the banners to show up. This is because it takes google a bit of time to serve the ads to the page. If they are still not there after a day, pm me the link to your archive and I'll see what I can see.
|
I dont seem to get this working, I dont use Adsense, I use AdutAdWorld ads, my code is as follows:
Header Code:
$output.=' Code:
Parse error: syntax error, unexpected T_STRING in /usr/www/XXXX/www.XXXXXX.com/archive/index.php(254) : eval()'d code on line 6 Thanks in advance... |
Thanks :)
Edit: I'm having some problems with some conditionals. The ads show up alright, but the user groups I've specified, shouldn't see the ads. Here's part of my conditional code: Code:
<if condition="is_member_of($bbuserinfo, 21, 26, 6, 1)"><p>No ads</p><else /><div align="center"> I also tried writing a PHP conditional Code:
if (condition) { Thanks in advance :) |
I believe your conditional is wrong..
Use this instead Code:
<if condition="is_member_of($vbulletin->userinfo, 21, 26, 6, 1)"><p>No ads</p><else /><div align="center"> |
Quote:
|
it shouldn't be !!
Its definitely something to do with conditional.. also try this:- Code:
<if condition="is_member_of($vbulletin->userinfo, array(1, 2, 3))"> |
Quote:
Oh well... It wasn't meant to be I guess :D Hehe... Thanks for the link by the way, will definitely take a look at it! :) |
Quote:
|
Quote:
Code:
$output.=' You can try changing the single quotes to double quotes; Code:
document.write("Hello World!") |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I installed the product but right adsense ads does not apear?
Why? |
All times are GMT. The time now is 06:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|