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)

netsavy006 08-26-2008 03:19 PM

Has anyone got it working on 3.7 and if so how? I'd like to know.

Thanks.
Andy...

mykkal 08-27-2008 04:07 PM

Have anyone had a great user response to this???

if so please let me know :)

mykkal 08-27-2008 05:49 PM

Quote:

Originally Posted by realmr (Post 1601230)
Will the revenue sharing work if we have restriction on adsense based on usergroup and forum permission settings ? I have dis-abled adsense for adult corner of my forum and to donors in usergroup in 3.7.2 will this work ?


This is a good question. did this work for you? Is this supported at all?

realmr 08-28-2008 11:01 AM

This doesn't work for me, I just posted this question before I added the add-on. Doesn't get imported on 3.7.2 :(

luket79 08-31-2008 04:43 PM

Same here folks. If there is any way to get this working in 3.7.x I'd be very happy and so would my users.

luket79 09-02-2008 02:52 AM

I just installed this on 3.7.3 and have never used the mod before and it seems to be working. I'm using it in conjunction with another google adsense ad system that only shows my ID. Also, I have them both set to not show to guests by reading through this thread.

I'm going to have my admins test this out with their IDs and let you know if it really works.

No issues so far.

realmr 09-02-2008 09:42 AM

Quote:

Originally Posted by luket79 (Post 1612458)
I just installed this on 3.7.3 and have never used the mod before and it seems to be working. I'm using it in conjunction with another google adsense ad system that only shows my ID. Also, I have them both set to not show to guests by reading through this thread.

I'm going to have my admins test this out with their IDs and let you know if it really works.

No issues so far.

how did u import the file ?? For me the import doesn't work as a product :-s
It got accepted only as add new plugin :confused:

luket79 09-05-2008 01:50 AM

Quote:

Originally Posted by realmr (Post 1612656)
how did u import the file ?? For me the import doesn't work as a product :-s
It got accepted only as add new plugin :confused:

I used the "Add/Import Product".

So far, its working fine in 3.7.3. I am able to see my adsense code as well as someone else's. So, no issues thus far, aside from the fact that I forgot to enable the sharing at first....:rolleyes:

I didn't test the custom channel piece but I am working on it. My Moderators haven't been around this week.

If you want to check it out, my site is dnlodge.

I am using another ad mod with Adsense in it, I wonder if it is OK with Google to have 2 IDs on a page? I remember it not being OK but in this case I don't know.

hobsdv 09-06-2008 10:58 AM

i have this working on 3.7.3 it was easy

i need to know how i can add it as a skyscraper as well and in other sections not just postbit

SEOvB 09-06-2008 01:24 PM

I couldn't get it to get the other peoples adsense codes.

I've defined the fields properly, checked several times and still not having much luck, its pretty odd.

iwarrior 09-24-2008 10:19 AM

Hey guys, I just managed to install this in 3.7.3

dthbah2006 10-26-2008 11:58 PM

Quote:

Originally Posted by iwarrior (Post 1629154)
Hey guys, I just managed to install this in 3.7.3

Does this work on Version 3.7.3?

How would you be able to test to see if it is working?

:confused:

tsptom 11-20-2008 05:20 PM

This has been a great mod for me. Any chance of getting a version for the blogs? I would definitely vote it as MOTM if it happens!

Thanks!

clasione 11-20-2008 05:40 PM

I never did get this to work properly, but I would like to give it another whirl.... Any chance there is a version for 3.7 yet?

vwdforum 11-25-2008 06:32 PM

Will this work 100% with 3.7 ??

vwdforum 11-25-2008 07:38 PM

I can't get this to work on my site. Its not populating the
$post[ad_channel] and $post[ad_client_id] and just leaving them as that text

dthbah2006 12-13-2008 02:46 AM

Quote:

Originally Posted by kenji4861 (Post 1147373)
Yes, this is only for the postbit/postbit legacy, but you can slightly modify the copy/paste code anywhere on your style and it'll work.

Did anyone learn how to use this on other parts of the forum like the header and other spots on the forum?

This mod works great for me. I just want to use it on other locations other than the second spot on threads.

Thanks,

:)

tsptom 12-13-2008 03:39 PM

Quote:

Originally Posted by dthbah2006 (Post 1684272)
Did anyone learn how to use this on other parts of the forum like the header and other spots on the forum?

This mod works great for me. I just want to use it on other locations other than the second spot on threads.
:)

Not in the header, but you can add it every X number of posts.

This one puts one after the 1st post and 9th post. It also checks to make sure the member has at least 50 posts.

Code:

<!-- post $post[postid] popup menu -->

<!-- / Google AdSense in Posts begin -->

<if condition="$post[postcount] == 1 OR $post[postcount] % 9 == 0">
<if condition="THIS_SCRIPT == 'showthread' AND  $post[postid] == $GLOBALS['qrfirstpostid']">  </if>

<if condition="$show['spacer']">
    </div>
    $spacer_close
</if>

<if condition="$show['spacer']">
    $spacer_open
    <div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
    <if condition="!$post['islastshown']">
  <!-- this is not the last post shown on the page -->
    </if>   
</if>

<table class="tborder" id="post$post[postid]" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody><tr>
  <td class="thead" id="td_post_$post[postid]"> 
  <div class="normal">
        &nbsp;
    </div>
    </td>
</tr>
<tr>
    <td class="alt1" align="center">
        <div>
    <!-- Adsense standard banner start -->
      <center>
<script type="text/javascript"><!--
if('$post[field6]' == '' || $post[posts] <= 50)
        {
            google_ad_client = "pub-xxxxxxxxxxxxxx";
            google_ad_channel = "";
        }
        else
        {
            google_ad_client = "$post[field6]";
            google_ad_channel = "$post[field7]";
        }
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = ["f5f5ff"];
google_color_bg = ["f5f5ff"];
google_color_link = "0000FF";
google_color_url = ["000000","008000","008000","008000"];
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>    <!-- Adsense standard banner End -->


tcmcem 12-21-2008 05:32 PM

nice hack.

i want to put the adsense on the top of my forum near to logo but i cant edit the code for top of the code adsense place. does anyone has the code to put it on near of the logo

thanks

MisterLaO 12-28-2008 09:02 AM

how do you confirm if this is working after the installation???


i just placed the entire script in the locations i want my google ads to be and changed the part where the pub is found

example:
Quote:

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
/* 468x60, created 12/24/08 */
google_ad_slot = "7982207914";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
just changed "pub-xxxxxxxxxxxxxxxx" to "$post[ad_client_id]" and added the:
Quote:

google_ad_channel ="$post[ad_channel]";
somewhere within the script..


is this ok??????

luket79 01-09-2009 08:44 PM

Has anyone installed this on a 3.8 board? Any issues?

dspalton 01-15-2009 06:52 PM

ive just installed it on 3.8 and it 'seams' to be working...

dspalton 01-16-2009 08:09 AM

ive had to hack it up a bit,
http://webchatcentral.com/showthread.php?p=300

if anyone want to sign up, please let me know by pm and ill lower the limits and you can help me check it (obviously with diffferent google ID to mine)

then once it works will let you all have the script

David

sub_ubi 02-02-2009 05:59 AM

dspalton,

I'll help you beta test!

Lord Kirken Mor 02-03-2009 05:11 PM

wow this is interesting

MisterLaO 02-08-2009 04:54 AM

how can you check if this is working? i can see the ads after the thread starters posts but how can i know that adsense pub's are really being rotated?

profanitytalker 02-14-2009 02:19 AM

This works well in 3.8.1, but does anyone know how to put this in the header? Can someone give the code?

C138 Kaysone 02-18-2009 03:07 AM

Would this be working with 3.8? i love this mod!

pooslokka 02-18-2009 03:09 AM

Quote:

Originally Posted by hobsdv (Post 1615756)
i have this working on 3.7.3 it was easy

i need to know how i can add it as a skyscraper as well and in other sections not just postbit

Hai hobsdv,

I have installed this mod and working fine, but the channel data is not working. is this works for you?
i am in 3.7

:confused:

C138 Kaysone 03-08-2009 11:45 PM

is there a way to let this show up somewhere else? it makes the forums look bad by being in the first post of each thread, im wanting it inside the description

if you want to look

mytalkcarolina.com, id rather have it show there and how come there is only one size? im wanting the ad to show up as 468 x 60

Anyoldname 03-12-2009 02:31 PM

I would love to get this working on 3.8. Anyone know if it would work?

I just want to ask also, does this hack prevent user's own ads displaying to them to prevent possible violations?

C138 Kaysone 03-12-2009 05:56 PM

Quote:

Originally Posted by Anyoldname (Post 1766488)
I would love to get this working on 3.8. Anyone know if it would work?

I just want to ask also, does this hack prevent user's own ads displaying to them to prevent possible violations?

I have it working on 3.8 and thats if you place yours as a default in the share option

Brian123 03-19-2009 04:23 PM

Wouldn't just changing where you pub code is in your ads to:
Code:

"$post[ad_client_id]"
Be able to share ads anywhere on your forum, including the header ad?

Brian123 03-20-2009 10:07 AM

I have it up and running on 3.8.1 and it is fine. I think I have also worked out how to have it working on the header.
Note that when you view the source code - you will not see your own pub number if you are logged into the forum. This is so you do not click on your own ads.
I ran a test account with the pub number set to 0101010101001011 - made some posts, logged off - THEN checked the source code, and there it was.
I am fairly sure if you just place "$post[ad_client_id]" where your pub number is when you set up your ads, it will work anywhere on your forum where adsense is placed?

mykkal 03-20-2009 10:44 AM

what is the link to the 3.8.1 version?

Brian123 03-20-2009 06:43 PM

Quote:

Originally Posted by mykkal (Post 1772463)
what is the link to the 3.8.1 version?

There isn't one! I used this one.

eric8476 06-12-2009 01:31 AM

I have 3.7.3 and I could not find "new user profile field" for:

2. Add Adsense Client ID and Channel ID to your user profile fields
1. Add the following following new user profile field in AdminCP:
Type: Single-Line Text Box
Title: Google AdSense Client ID
Description: If you have an AdSense account, you can enter your client ID here. You then have a 50% chance that the AdSense ads displayed are credited to your account on threads you participate in. It should be in the form of <b>pub-xxxxxxxxxxxxxxxx</b>
Max length of allowed user input: 20
Display Size: 25
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No

2. Add the following following new user profile field in AdminCP:
Type: Single-Line Text Box
Title: Google AdSense Channel ID
Description: If you choose to enter your AdSense client ID, you can specify a channel ID as well.<br /><br />It would be a good idea to have a unique channel ID for this forum (then you can track stats specifically for the forum).<br />
Max length of allowed user input: 10
Display Size: 25
Field Required: No
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No

menj 06-17-2009 05:34 PM

Does this hack work for the latest 3.8 version? Looking for someone to install this hack for my forum.

marcell 06-18-2009 05:00 PM

Does it also work with version 3.8.2?

Thx!

Marcel

yahoooh 09-10-2009 12:51 PM

update plz


All times are GMT. The time now is 05:59 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.01565 seconds
  • Memory Usage 1,829KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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