MyBB Community Forums

Full Version: [Easy Tutorial: Step by Step] Adsense Revenue Sharing For MyBB1.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Current status = Fully tested and working with MyBB 1.6.x. ***

Update:
// - minimum 10 posts 
FYI: Test account needs at least 10 posts... ...
I forgot all about that, sorry for any inconvenience, this tut *is working* now.
I have retested + This will not need "Ad_Slot _Code"
#
  • Also make sure you are logged out when testing this.


##
Easy Tutorial Objective:
Show you how to use the Spicefuse Adsense Revenue Sharing (originally written for MyBB1.2) with MyBB1.6 (EDIT: Should work with 1.4 too)


Easy Tutorial: Step by Step
> As simple as 1,2,3
#
1) Here is the plugin version for MyBB1.4/ and MyBB1.6:
Click for fixed version : http://community.mybboard.net/attachment.php?aid=12686
Modified by Username: jbi.in and originally posted here:

##
2) Follow the easy (standard) installation instructions for the plugin, and remember to place this variable
{$ad_data}
in Show Thread Templates -> showthread (edit)
after or before {$posts}

3a) Go to >>> /admin/index.php?module=config-profile_fields
3b) The Adsense ID profile filed needs to be set "Editable" = Yes
FYI: Leave "Hidden" = 'Yes' as is, that is so other members can't see it.

4) (?Optional?) Remove google_ad_channel ="4000920195"; from the ad code near the bottom of the plugin. I'm not sure you have to do this, but I am certain it works when removed.

It works! Smile


###
[*]***EDIT:
The error is from a new field in the default db table; The default value for the newer field is '0', so...

Find:
'text', 20, 16, '0', '1', '1')");

Replace:
'text', 20, 16, '0', '1', '1', '0')");

Now it will install...
once a year bump
I think this still works, and might start using it again...
Awesome Smile
i didn't got the second point
also, where will the members put their adsense pub id?
(2011-03-25, 07:58 AM)Thruster Wrote: [ -> ]i didn't got the second point
also, where will the members put their adsense pub id?

Hi,
where will the members put their adsense pub id?

In their profile options a field is added by the plugin;
Admin needs to enter one in the settings for the plugin (in your ACP)


i didn't got the second point

Quote:{$ad_data}
in Show Thread Templates -> showthread (edit)
after or before {$posts}

{$ad_data} is a simple template variable
Show Thread Templates -> showthread is a template
You will find that in your ACP in the templates section Smile


got some problems at first.. but works perfect now... bravo... Smile
but where is the option for other members to put in their adsense pub id..?
i can't see it in the cp of member..

can you give me a snapshot of it..?
i am waiting
Try "Your Profile / Edit Profile" to find the custom field for Adsense ID's.
(2011-04-13, 02:13 AM)seeker Wrote: [ -> ]Try "Your Profile / Edit Profile" to find the custom field for Adsense ID's.

watch the usercp -> edit profile.. adsense id is not there...

[attachment=22289]
Works for me, when I get time I'll verify it again on another test forum.
Have you checked your custom profile fields to see the Adsense ID field exists?
Install was never a problem, so It's hard to guess why you are having trouble.

[Image: adsense1.gif]


Edit:
I'll verify it again on another test forum....
Just installed on MyBB1.6 and the field is right there.



can you give me the revenue.php file that you have uploaded in your forum?
also, if you make a video tutorial showing the whole process, that will be appreciated...
i am waiting for you..

thanks in advance
Pages: 1 2 3 4 5