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)

jamsiejay 01-26-2007 06:27 PM

Please can someone help me out with this i cannot get it to work outside of the postbit template.

lefteris 01-27-2007 09:11 AM

i have install it but i have a problem
adsense showing the same advertise always.
---------------------------------------------------------
General Advertise Of Google
-----------------------------------
How can i give to the ADSENSE some keywords or meta tags...?

Help me please.

http://www.gsmforum.gr/forum at the bottom of the forum and i have the adsense inside the POST with this script.

stormy_ 01-27-2007 01:31 PM

i installed it but not sure if it's showing the ads with members ID. i even set it on 100% sharing but still showing with admin ID.

secondly has anyone noticed that it's showing adsense ID in profile of user?

like: http://www.yourforum.com/member.php?u=5

jamsiejay 01-27-2007 02:10 PM

Does anyone know how to get this to work outside of postbit template please.

TeamDevotion 01-27-2007 02:48 PM

Is this not against google's TOS for adsense, since you are not allowed to modify their coding, you must directly copy and paste their premade markup

lefteris 01-27-2007 04:34 PM

i have directly put the code give from adsense google website but it still showing the same TOS advert. If i put the code from adsense site into an html site ( http://gsmforum.gr/ad.html ) then i take a very good ads.

what is going wrong with VB 354?

ShawnW 01-27-2007 07:45 PM

How would you incorporate this hack into the header?

jamsiejay 01-27-2007 09:24 PM

Does anyone offer support for this mod i have been trying for 3 days to find out how to place this mod outside of the postbit template.

It only works in the postbit template but i want it on the header.

Any help please even a guess if you have it.

HELP HELP HELP HELP HELP HELP HELP HELP

styleforum 01-27-2007 09:59 PM

Doesn't this encourage users to post zillions of (probably pointless) threads to get their ads showing?

tsptom 01-29-2007 04:00 PM

Question - will a member see his own ads when he is logged into the board, or has this been programmed to use the site's owner's Client-ID in that case?

tsptom 01-29-2007 04:04 PM

Quote:

Originally Posted by jamsiejay (Post 1168568)
Does anyone offer support for this mod i have been trying for 3 days to find out how to place this mod outside of the postbit template.

It only works in the postbit template but i want it on the header.

Any help please even a guess if you have it.

HELP HELP HELP HELP HELP HELP HELP HELP

I played with it a little but couldn't get it to work right in the header ad either. I kept getting a null in the ID field instead of my client number. I'll play some more.

The Prince 01-29-2007 09:01 PM

I get a message that adsense_revenue_sharing.xml is not a Product.

Running 3.6.4.

What now?

tsptom 01-29-2007 09:57 PM

Did you do step 6 through the admincp?

6. Import adsense_revenue_sharing.xml plugin

The Prince 01-29-2007 10:47 PM

Quote:

Originally Posted by tsptom (Post 1170092)
Did you do step 6 through the admincp?

6. Import adsense_revenue_sharing.xml plugin

Ok forget it I got it.

jamsiejay 01-30-2007 01:48 PM

Quote:

Originally Posted by tsptom (Post 1169880)
I played with it a little but couldn't get it to work right in the header ad either. I kept getting a null in the ID field instead of my client number. I'll play some more.

Let me know how you get on i just cannot get this to work in any other templates.

tsptom 01-30-2007 03:28 PM

Still no luck with header but I moved onto another scenario I'd like to see work.

Has anyone tried to combine this revenue sharing hack with some of the other adsense hacks (like adsense in 2nd post or every x # of posts - or even putting an adsense ad as the 2nd post on every page, not just 2nd post of thread) Two problems I'm finding:

The rev share 1st post on 1st page of thread seems to work fine but:

1) The "+ x posts" sets the client ID to null

2) The "1st post on each page (except the 1st post on first page of thread) only shows the primary site owner ID, never the thread starter's.

Any ideas? Thanks!

jamsiejay 01-31-2007 09:04 PM

I have been trying every forum and board to get this to work outside of postbit template but it seems it is not known by anyone.

I am in need of this please anyone who can help i will appreciate it.

jamsiejay 01-31-2007 09:33 PM

The problem is outside of postbit it will not pull up the google ids it just shows

"$post[ad_client_id]";
"$post[ad_channel]";

tsptom 02-01-2007 12:37 AM

The only site I've seen that has done it successfully is digitalpoint.com. And he won't divulge his secrets. :)

vietfancy 02-04-2007 03:19 AM

digitalpoint is not the only forum can do this.

check out dntalks.com

tsptom 02-04-2007 03:28 AM

Are you sharing? :)

Brandon Sheley 02-05-2007 02:15 AM

seems to be working great on 3.6.4

would be nice to get group permissions set in this

/me installs

jamsiejay 02-05-2007 01:37 PM

I still cannot find anywere to have this working on header template or homepage template.

I am sure someone here know how it can be done please can you post i am in need of this before i can launch it to my members.

jamsiejay 02-07-2007 09:31 PM

Can somebody please help me i have pm'd and posted plenty but nobody can help please can someone offer help.

jamsiejay 02-07-2007 09:34 PM

Even a guess at this stage would be helpfull i just cannot find anyone to help me i have posted dozens of threads etc nobody can get this working outside postbit template.

tsptom 02-07-2007 10:22 PM

jamsiejay -
I'm not getting much help either with a similar question. I posed it to the programming forum and got a little hint that I have yet to try....

https://vborg.vbsupport.ru/showthrea...72#post1176372

jamsiejay 02-09-2007 05:37 PM

Ive checked your thread it never got it working thankyou for the help.

Please anyone HELP!

jamsiejay 02-09-2007 05:37 PM

I Will Give You Free Advertising If You Can Help Me .

jamsiejay 02-09-2007 06:30 PM

C'Mon Challenge your skills please let me know how to get this working in the forumhome, header template.

I am not able to launch my forum till i have it done i paid a programmer but they couldn't do it and never refunded me.

I am really in need for this.

================================================== =============

Will offer forum sponsor advertising to whomever can figure it out it.

Profusehost 02-10-2007 05:19 AM

Quote:

Originally Posted by stormy_ (Post 1168326)
i installed it but not sure if it's showing the ads with members ID. i even set it on 100% sharing but still showing with admin ID.

secondly has anyone noticed that it's showing adsense ID in profile of user?

like: http://www.yourforum.com/member.php?u=5

you are probably viewing the profile as admin. I am sure as a member or guest, you will not see the publisher ID.

Profusehost 02-10-2007 05:24 AM

Quote:

Originally Posted by tsptom (Post 1169875)
Question - will a member see his own ads when he is logged into the board, or has this been programmed to use the site's owner's Client-ID in that case?

that's what i am worried about. I am not sure if this script prevents users from seeing their own ads when they are logged in and also its important to prevent people from unknowingly click on their own ads. I guess once can warn all forum members to never click on any google ads.

jamsiejay 02-10-2007 12:46 PM

I have tried some reccomendation i got vie pm but they did not work.

I just cannot see what it is in the mod that only allows it to be used with postbit if i knew this i could change it to work forum wide.

I find it strange nobody knows how to do this i mean there must be dozens of mod programmers here that know how to fix it please i need some help.

milsirhc 02-18-2007 11:49 AM

Does anyone know if I implement this script, 3 times on a single thread page (ie: the header, the 1st and last post), will all 3 advertisement be showing the same adsense account (ie: goes by the 50% rule, will all 3 show the same adsense account or will 1 show the admin, the other ones showing the post starter account)

This is a huge concern as we all know Google does not allow 2 different accounts to be shown on the same page.

Does anyone know?

Thanks!

tsptom 02-18-2007 03:28 PM

Quote:

will all 3 advertisement be showing the same adsense account
I could be wrong, but I think the answer is no. It seems Google is OK with multiple ads from different accounts. But I will contact a Google rep and find out for sure.

If you do add the code you are talking about 'as is' into the header or last post, you may not see an Adsense ID at all in those 2 ads. That's what happened to me.

Since no one seemed to be able to help, I went ahead and kept the header ad as my own, then I used code that will give credit to whomever made the post prior to any ad shown. If they don't have an adsense account, it will use my number.

The code below will put an ad after the 1st post in a thread and after every 9th post thereafter. It will only kick in after the member has 50 or more posts. If the author of the post has not set up an Adsense account, it will use your ID.

If I can find the link to where I got most of this code I'll add it. I didn't write it myself.
(here it is - http://nslog.com/2006/08/18/vbulleti...evenue_sharing)

Code:

<!-- / 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-xxxxxxxxxxxxxxxx";  <-- Your ID
            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 -->
        </div>
    </td>
</tr>
</tbody>
</table>
</if>
</if>

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


milsirhc 02-19-2007 08:54 AM

Thanks for the help tsptom but I don't think I will like to implement as such..

Hmm.. seems like no one can come up with something solid like what digitalpoint has done and also kinda dissapointing to see this plugin not fully supported by the author.. (but it's free, so I'm not complaining!). Let's hope how this plugin will go on develop after few weeks.

milsirhc 02-19-2007 12:09 PM

I read thru the codes.. and I think having the variables as global variable will prevent the adsense id to dissapear.

I'm still playing around with it.. but hmm.. it's tricky.

michaelsilvia 03-04-2007 01:41 AM

Can you set this by usergroup? I would like only my moderators and admins to get the revenue sharing.

Mike

Xplorer4x4 03-20-2007 01:54 PM

Quote:

Originally Posted by joeychgo (Post 1157511)
Can this be usergroup controlled -- so I can only allow a particular usergroup(s) to participate?

I would like to see this to.
Quote:

Originally Posted by TeamDevotion (Post 1168365)
Is this not against google's TOS for adsense, since you are not allowed to modify their coding, you must directly copy and paste their premade markup

I was wondering the same thing.
Quote:

Originally Posted by michaelsilvia (Post 1195197)
Can you set this by usergroup? I would like only my moderators and admins to get the revenue sharing.

Mike

Mike my best idea would be to edit memberinfo template and the userfield_textarea ot userfield_textbox(in profile field templates) field templates. Then insert an if condition to show these fields to certain user groups.


Is any one else noticing this add one query per post?

RedTyger 03-20-2007 02:03 PM

Quote:

Originally Posted by Xplorer4x4 (Post 1208063)
I was wondering the same thing.

I can't speak for anyone else, but I wrote to Google and asked them for permission to implement Ad-Sharing on my forum and they had no problem with it. There isn't really any other practical way to implement ad-sharing and besides, only the publisher ID is shared. The markup is still exactly as Google specify.

clasione 03-23-2007 07:27 AM

This doesn't seem to be working on my forum... I just implemented it... I am running the lastest version of vb(vBulletin 3.6.5)

I installed this mod and have been testing it with a user who has entered his info..... I had him post a thread for testing:

I would assume since I have the Percentage Share set to: 50%

I should see his pub codes half of the time or 50% of the page loads and I do not see this happening at all on his thread:
http://www.searchen.com/forum/showthread.php?p=12526


All times are GMT. The time now is 11:30 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.04643 seconds
  • Memory Usage 1,832KB
  • 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
  • (10)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