![]() |
Adsense Revenue Sharing 3.5.4
Hack Description:
This hack will allow you to offer Google Adsense revenue sharing to your vBulletin board users. Basic idea generated by AlexanderT, who developed the hack for previous version.
Instruction: 1. upload a php file in admincp/ adsense_admin.php 2. Add 2 new user profile fields, and mark down the field name 3. update the forum template 4. Edit and Upload showthread.php 5. Upload the XML file in include/XML Read full details in readme.txt file |
may be update for new
|
Whoa some nice feature to have on my forums. Thanks! :)
|
This sounds a very good way to encourage members to create new threads. Is there any chance this can be done without the file edits?
|
|
I'd like to see a way for people who reply (perhaps a certain number of times or the last reply) get a percentage chance as well.
It's doable without file edits. Exactly how is another question. |
hi sensimilla,
no it's not based on vbarticles.com, it's based on last version of 3.0.7 |
ofcourse, i will try to add some new feature, but i am not too much expert with working VB, i will try to add more here..
|
Hi dude,
Great work & congrats as it's finally released. :) Anyway i've done it in my forums last week sucessfully with your help. Thank you.. IS it now work for header template? |
Still it's working after first post.
|
im gona try this
|
you have to change the name of the file that the update button refers to. it refers to admin_adsense.php but it the file is named adsese_admin.php
i just renamed the file and the reference to it in the xml file How does this thing work. how do i know its working for my members. and what exactly are channels? |
Thanks for notice the error,
Please read the readme.txt file and do the needfull. channels are used by the google adsense, if you want to trace the imp. and click, you can track it with channels. Regards Jitender |
The readme file refers to a few files that are not in the archive.
7. upload clicksor_share.php to /admincp 8. upload cpnav to /includes/xml also the form in the ACP refers to admin_adsense.php the actual file is adsense_admin.php just rename the file. |
in the readme you add this code:
Code:
<if condition="$post[postcount] == 1"> |
This hack really should be a plugin to negate the need for file edits.
Attached is a plug-in for anyone who does not wish to edit their files. In the plug-in code I have also added a check to make sure adsense adverts are never served to members with their own publisher-id (to prevent them clicking their own ads and violating google's t&c) You must also carry out the instructions as indicated in the hack download, but just import this plugin (NOT product) in place of the bit invloving hacking apart showthread.php Make sure you EDIT the plug-in to change the profile field numbers to the ones you are using. webmastershome: Please feel free to incorporate this into your hack/zip |
Is this the same hack as http://www.keyconcept.org/vbulletin-...aring-hack-mod ?
|
Not the same, but it's almost identical. oh...... and it's free
|
Thanks rob30UK,
i will add this in new version.. |
Secondly, you may wish to add the code to showpost....
Search engines can and do index showpost pages (if you allow them to).... this way there is also the incentive to reply to posts as well as start threads. In addition, it would be great to have them added to the archive 'thread view' pages because a heck of a lot of traffic comes in via the archives. You may also wish to let the client ID be taken from second post, third post, etc, etc until a clientID is found (not everyone fills it in) and then use that ID along with the boards own ID in a 50/50 formula. Just a suggestion because right now this mod is very basic, but it could be GREAT! |
yes... we can share the revenue with admin/thread own/ last post with given share value, you can add your idea here to do this.
|
erm.... I cant code this. I dont know PHP.
|
Someone told me there is a licenced version and a non-licenced version... apparently the non-licenced version breaks googles terms... this true? and is this hack ok with google?
|
...well i installed and i get the follow error when updating the Share Settings in ACP
Fatal error: Call to a member function on a non-object in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/admincp/admin_adsense.php on line 49 i also noticed this in the postbit code: $bbuserinfo[usergroupid] == 2 Does that mean that if a user has a diffrent primary group, this wont work for them? if so how do i add more then one group... Also how do i make the adverts show for all users and not just guests. |
Can you also split revenue for Last Post with this modification?
DM |
Also, can you set the program criteria to specific user groups instead of minumum posts.
DM |
Dear Sir,
you can change the user group insted of minimum post simply change the code as below Find $post['posts'] >= $adsensesettings['minposts'] Change with $bbuserinfo[usergroupid] == 2 2 is user group id, change as you want . Regards Webmastershome |
Hi!
To show the ads to all groups, I just removed Quote:
|
Does this hack allow you to share revenue with the person who Last Replied to a thread?
DM |
No right now this hack not allow this. may be in next version.
|
Until now my experience with the script is good :) Thanks!
What part of code do I have to alter to check this? "check to make sure adsense adverts are never served to members with their own publisher-id" Thanks again! |
I'm having trouble getting it to work. I can't seem to figure out how to properly integrate everything between the plugin, old readme file, and the adsense_admin naming problem.
Sounds like a few people have figured it out, but I'm stumped. Any way to update the files and instructions to make it easier for dummies like me?:confused: |
Hello!
I just had to rename the file, and I installed the old plugin, because with Rob's version, I didn't knew what modifications to make, so that everything works correctly. But I want that useful modification that Rob made, to avoid serving ads to members, with their own publisher-id. |
When will the new version be available
|
Can anyone tell me why my ad block would not be showing? Followed instructions, but used the plugin. Set up the adsense sharing, and added the template code to the postbit of my template. But it never shows?
|
Dear Sir,
May be VB template using the postbit legacy, please update it also. Regards webmastershome |
Ok, have it working for guests only - is that normal? I can see ads that should be showing under another user's id...
Also, how would i put an extra banner at the very beginning of the thread? |
I maybe dumb, but where are these ads being displayed? I am getting no errors or anything, just no ads. :?
|
Hello :)
Great idea. Does this work with 3.6 rc 1? |
Would developer of this hack please answer this question would there be a new version and will it worke with 3.6
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|