PDA

View Full Version : Miscellaneous Hacks - Google Ads in your forum


Mastar
05-24-2007, 10:00 PM
This put google ads/banners in your forumhome/showthread/forumdisplay.


Installation: Import Product.

Heres a DEMO (http://custom-computerz.com/forums/index.php).

Update:
Fixed a few bugs
Added Ads after fist post

Dont forget to hit INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=148061)

FreshFroot
05-24-2007, 11:16 PM
Thanks mate :D

Mastar
05-25-2007, 12:03 AM
Thanks mate :D

Your welcome! Trying to make it easier when upgrading vb.

Guest210212002
05-25-2007, 12:09 AM
Shouldn't the instructions be "Import product, put in your own adsense code"? ;)

Mastar
05-25-2007, 12:37 AM
Shouldn't the instructions be "Import product, put in your own adsense code"? ;)

Thanks, updated!

reteep
05-25-2007, 05:14 AM
Where do they actually show up, could you post an example screenshot?

Coders Shack
05-25-2007, 05:53 AM
Thanks, updated!
as default for the adsense code you should put yours :P

Enigm@tic
05-26-2007, 07:08 PM
3.6.7 PL1 not working to me...

Mastar
05-26-2007, 09:49 PM
Are you using a custom style?
I made it off of Vb 3.6.7 PL1

Drix
05-27-2007, 04:42 PM
Where do they show? Screens would be great.

gabrielt
05-27-2007, 05:03 PM
Can you please post screenshots and a live demo?

gforce75
05-28-2007, 01:06 AM
Anyone have this installed or have a demo/screenshot? I already have a google thing installed, so I don't want to mess anything up.

Mastar
05-28-2007, 01:51 AM
Demo Added.


Anyone have this installed or have a demo/screenshot? I already have a google thing installed, so I don't want to mess anything up.


It shouldn't mess with any other google ad you have there.

txspaderz
06-05-2007, 03:43 AM
So what does this do? Does it give you options on where the adsense is placed?

Mastar
06-05-2007, 03:45 AM
So what does this do? Does it give you options on where the adsense is placed?

yes it does.

jw00dy
06-05-2007, 05:42 AM
Ok, so I'm just figuring this out -- The template edit one is so we can place them where we want in the templates and the other one is for the automatic placement correct?

Nice mod.

Mastar
06-05-2007, 01:29 PM
Ok, so I'm just figuring this out -- The template edit one is so we can place them where we want in the templates and the other one is for the automatic placement correct?

Nice mod.

Yip!

jw00dy
06-05-2007, 08:30 PM
Excellent thank you!

Irfan Faruki
07-25-2007, 09:59 AM
Hi
Thanks for the plugin. I am a total newbie in this want to find out how i can display the add under nav bar using the plugin as i dont want to mess about with editing the templates as i am worried that i will mess things up
Can one of the expert help me with this?

Thanks
Irfan

baby41
09-15-2007, 08:45 PM
Can someone explaint to me where can I put this:

$ForumhomeAds, $ShowthreadAds, $ForumdisplayAds

in my templates?????? I need to insert all of it in Forumhome template,Showthread template and Forumdisplay template or just 1 in each template,sorry for this question but it is very confuse where do I have and what to insert into my templates,regards.:confused::confused:

momo2
09-16-2007, 01:57 AM
May I ask how u got the neon shining text hover ur links ?

Martyn2k6
09-16-2007, 03:34 PM
How can i block a usergroup from seeing this.

for example Admins?

seangworld
09-16-2007, 08:26 PM
does not work for 3.6.8 :(

baby41
09-16-2007, 08:33 PM
does not work for 3.6.8 :(


Yest it does,working on mine 100% :D

GuaRRand
01-23-2008, 02:00 PM
I installed it, and it says that it has editted all the templates of my skins/themes, but in 2 of my skins/themes i dont see the ads anywhere.

If i check the templates, i can see the forumhome_google_ads2 templates in ALL skins/themes. but somehow it doesnt show on all...

Help? :P

www.glcoti.com
check out the BROWNISH and GLCOTI DARK skins... the googleads dont show there.

GuaRRand
01-23-2008, 02:21 PM
Also, can you make it (or where can i edit it) that the sites open in a new window.. not in the same window...

GuaRRand
01-30-2008, 06:00 AM
*bump*

Mastar
01-30-2008, 02:10 PM
It's looking for:


FORUMHOME = <!-- /main -->
SHOWTHREAD = <!-- / ajax errors table -->
FORUMDISPLAY = <!-- Active Users in this Forum (and sub-forums) and Moderators -->
postbit = <!-- / post $post[postid] popup menu -->

So if it doesn't find them the adz will not show in your custom templates. You can manually add the above to your custom templates.

Mancunian_Red
01-30-2008, 04:34 PM
ok im new to this so probably laugh at this but what exactly does google ads do for my forum and why would i want ads on there?

Mastar
01-30-2008, 05:58 PM
<a href="https://www.google.com/adsense/login/en_US/" target="_blank">https://www.google.com/adsense/login/en_US/</a>

DerekRDenholm
01-31-2008, 11:02 AM
I am using this but how do you add a 2nd banner to the top of the forum pages? It only shows at the bottom. Thanks

RiZzoN
02-01-2008, 08:34 PM
May I ask why you would want ads on your forum if you dont get paid?

Mastar
02-02-2008, 12:34 AM
I am using this but how do you add a 2nd banner to the top of the forum pages? It only shows at the bottom. Thanks

Download the Template Edit zip.

Soljah
03-30-2008, 05:36 PM
When I try placing the codes in forumhome or forumdisplay on my custom templates it messes up the entire layout. Why is it doing this?

gedsta
06-17-2008, 01:13 AM
I am using this but how do you add a 2nd banner to the top of the forum pages? It only shows at the bottom. Thanks

WOW - Derek - its a small world. Fancy meeting you on here.