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)
-   -   Add-On Releases - Adsense Revenue Sharing for 3.5.x and 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=135079)

nymyth 07-13-2007 01:29 PM

no matter rewrote the code:

<if condition="$post[postcount] % $vboptions[maxposts] == 1 OR THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])">

Peace

sb225 07-21-2007 02:15 PM

I have installed this but i cant see in members CP where users can put their pub id
does some body tell me what should i do ?

BarryoBrien 07-23-2007 07:45 PM

does this work I have it installed had some moderators set up a google blog and sign up to adsence but it shows no impressions or clicks!

also if there id starts with ca-pub-blablabla should the ca-pub- be put in or just pub-blablabla?

thanks

nymyth 07-24-2007 01:49 PM

Im having the same problem as Barry, I have this conditional set up...can someone verify if its right:

<if condition="(($post[postcount] % $vboptions[maxposts] == 0) OR ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax'])) OR THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstposid'])">

Thanks.

basketmen 07-26-2007 11:04 PM

<font size="3">Guys i still dont get this answer:

How to place adsense sharing not only in first thread page but in all thread page?

because people usually want to visit last page
</font>

wickland 07-27-2007 07:42 PM

Does anyone know how to change the look of the google ad itself? When I enter in the: "$post[ad_client_id]" and "$post[ad_channel]" fields into the ad itself, the ad starts to actually look visually different. See below what I mean:

http://www.topbuy1.com/stocks/ads.jpg

The bottom one is the original correct way my ad should look and the top one is the modified version of the ad. I want my ad to look like the bottom one, how do I fix this?

raiderlax 07-31-2007 08:41 AM

does this work on 3.6.8? Thanks.

raiderlax 08-04-2007 11:12 PM

bump

993ti 08-11-2007 05:15 PM

Yep, works with 3.6.8 ;)
@ Wickland: If you mean the part that says 'Ads by Google', that happens sometimes and has nothing to do with your layout ;)
Quote:

Originally Posted by basketmen (Post 1302641)
Guys i still dont get this answer:


How to place adsense sharing not only in first thread page but in all thread page?


because people usually want to visit last page

I'm using this:
Code:

<if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid']) AND (!in_array($forum[forumid], array(X))) AND (!$show[member])">
Where the red X is the forumid where you don't want to show the ads (seperated with comma's if you have more then one forum where you don't want the ads to show).
Use it in forums closed for members.
This part:
Code:

AND (!$show[member])
shows it for guests only, remove it to show for everyone.

Quote:

Originally Posted by BarryoBrien (Post 1299509)
does this work I have it installed had some moderators set up a google blog and sign up to adsence but it shows no impressions or clicks!

also if there id starts with ca-pub-blablabla should the ca-pub- be put in or just pub-blablabla?

thanks

It should be pub-XXXXXXXXX

993ti 08-11-2007 05:21 PM

Quote:

Originally Posted by adnan2007 (Post 1283713)
It seems to be working, but no option in the admincp.

Did you upload the files?
Full instructions are in the first post of this topic ;)

Quote:

Originally Posted by sb225 (Post 1297411)
I have installed this but i cant see in members CP where users can put their pub id
does some body tell me what should i do ?

Same as above, add 2 new profile fields as described in first post ;)


All times are GMT. The time now is 09:38 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.01247 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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