vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Management Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=217)
-   -   vBulletin Google Adsense Deep Integration Tutorial (https://vborg.vbsupport.ru/showthread.php?t=107965)

Ironduke 01-12-2007 08:31 AM

Hi, question about "after first post deployment"... I've put the code in the postbit_legacy afer <!-- / message -->, but this makes the ad deploy within the posts, I was forced to put it and the end of the postbit_legacy to make it work, but now my multi-quote and quick reply buttons are broken past the second post.



Example:
http://www.worldaffairsboard.com/sho...128#post327128

EDIT

After <!-- / message --> in the postbit legacy:

Quote:

<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="(($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-4952345823118343";
google_alternate_color = "FFFFFF";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "FF0000";
google_color_text = "22229C";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</if>
Nothing is displaying, but the buttons are working correctly. I need the ads to display between the first and second post on every page. Thanks for any help anybody can give me.

bolly.beats 02-09-2007 01:48 AM

thanx thanx thanx wow:p

Nwemo'# 03-01-2007 07:05 AM

Thanks a lot for this GREAT Integration Tutorial!

How can i put Ads in the forum list on forumhome page, like on this example.

http://imagesjack.us/picture.php?p=e7ed01cecb.jpg

Sorry for my bad English.

kenfuzed 03-02-2007 04:40 PM

Quote:

Originally Posted by Nwemo'# (Post 1193178)
Thanks a lot for this GREAT Integration Tutorial!

How can i put Ads in the forum list on forumhome page, like on this example.

http://imagesjack.us/picture.php?p=e7ed01cecb.jpg

Sorry for my bad English.

Making the ad look too much like an actual post can get you into trouble under Google's TOS. Basically you want your visitors to click on ads voluntarily rather than tricking them into clicking something they think is content. I always keep that in mind when placing my ads. When in doubt I don't do it in fear of getting banned. Between my site and forum I do fairly well with adsense so it's not worth losing it.

I added the ad code into my Forumdisplay as described in this tutorial and it looks great. I tweaked it slightly since I use a stickies plugin, that way the ads appear between the sticky and the first post.

Nwemo'# 03-05-2007 06:16 AM

Ok, but How can i put Ads in the forum list on forumhome page, with message about "Sponsored Links" like on NeutralizeR example?

styleforum 03-07-2007 07:33 PM

Quote:

Originally Posted by zkilzz (Post 1152567)
Hello guys!
I want to make a change here in forumdisplay and search result.
Right now they both look like this

http://www.bilforumet.net/images/ski...engoogle01.gif

I want to drop the other TD and have only one so the ad can lay over not just the thread title but also last post, replies views and forum.

Like this.

http://www.bilforumet.net/images/ski...engoogle02.gif


Anyone have any ideas?

You need to use a colspan (column span) in your <tr> ... sorry I can't be more specific but if you look it up you'll figure it out.

SaN-DeeP 03-15-2007 08:03 PM

how to put google adsense large rectangles on top right of first post..

Smitty 03-24-2007 10:59 AM

Where would one put
Code:

<!-- google_ad_section_start -->

<!-- google_ad_section_end -->

in the showthread template?

Now that I think of it, what's the best place in the forumdisplay to put the code in?

croportal 04-24-2007 08:18 AM

adsense after 1post and last post but not in all forum i can change in which forum to display

kollam003 05-23-2007 06:03 AM

very wonderful tutorial very well and detailed explanations given thanks a lot for this


All times are GMT. The time now is 08:41 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
  • Page Generation 0.01327 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete