vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Google Ads in your forum (https://vborg.vbsupport.ru/showthread.php?t=148061)

Mastar 05-24-2007 10:00 PM

Google Ads in your forum
 
This put google ads/banners in your forumhome/showthread/forumdisplay.


Installation: Import Product.

Heres a DEMO.

Update:
Fixed a few bugs
Added Ads after fist post

Dont forget to hit INSTALL

FreshFroot 05-24-2007 11:16 PM

Thanks mate :D

Mastar 05-25-2007 12:03 AM

Quote:

Originally Posted by FreshFroot (Post 1254122)
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

Quote:

Originally Posted by Chris-777 (Post 1254156)
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

Quote:

Originally Posted by Mastar (Post 1254168)
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.


Quote:

Originally Posted by gforce75 (Post 1255868)
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

Quote:

Originally Posted by txspaderz (Post 1261517)
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

Quote:

Originally Posted by jw00dy (Post 1261564)
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:

Code:

$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

Quote:

Originally Posted by seangworld (Post 1340371)
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:


PHP Code:

FORUMHOME = <!-- /main -->
SHOWTHREAD = <!-- / ajax errors table -->
FORUMDISPLAY = <!-- Active Users in this Forum (and sub-forums) and Moderators -->
postbit = <!-- / post $post[postidpopup 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

Quote:

Originally Posted by DerekRDenholm (Post 1433062)
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

Quote:

Originally Posted by DerekRDenholm (Post 1433062)
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.


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,779KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete