Working on SMF Revenue Sharing Mod

Started by Borghunter, June 18, 2006, 10:39:18 PM

Previous topic - Next topic

Borghunter

I am working on a Google Adsense Revenue Sharing mod, however I need help creating the admin panel. I need to add a panel in "Features and Options", how do you do this? Help please.

Elmacik

You'll need to add a function into /Sources/ModSettings.php
There you will see instructions in the file header.
Home of Elmacik

Borghunter

Thanks for the quick response, will have a look into that.

Borghunter

Where are these stored in the MySQL database?

Elmacik

For every new array you'll create in the file, SMF will automatically add the values to the database.
You dont need to worry about them. Cheers again, the SMF developers :)

(They are stored in smf_settings talbe)
Home of Elmacik

Niteblade

#5
Quote from: Borghunter on June 18, 2006, 10:39:18 PM
I am working on a Google Adsense Revenue Sharing mod, however I need help creating the admin panel. I need to add a panel in "Features and Options", how do you do this? Help please.

Praises to you. Is this pattened after Digitalpoint's site ?

Make sure that no one'll get banned from adsense, and I'm sure it'll be very popular. How is it gonna integrate or get along with the Ad Management mod already available ? This is rather important because if one were to be using the Ad-management mod, then there is a possibilty of violating Google's TOS. Using the ad-management mod, I can have several (3) adsense banners displayed on one page : Top, Bottom, after the first post. Now, if I implement your mod, then I'll have two different ad-sense ID's being displayed on the same page : several from me, as the forum admin, and at least one from the member in question. 2 different adsense IDs on the same page must be forbidden from happening.

Is your mod a replacement for the ad-management mod ? Or, would your mod provide the same function (ad placement) as the ad-management mod, whereas your mod is adsense specific and the ad-management mod is not ?

---
AdSense for Content. All content and Site-based Ads (and Ads served in response to end user clicks on and queries entered into Links, if any) shall be grouped by Google and displayed with Links (where applicable) to end users of the Site(s) as ad units (such groups of Ads and/or Links collectively referred to as "Ad Units") in standard formats as offered generally by Google from time to time, as may be described in the FAQ. You may select a format approved by Google for the display of Ad Units in connection with the Site(s), but You acknowledge and agree that Ads and/or Links: (i) shall only be displayed in connection with the Site(s), each of which is subject to review and approval by Google in its discretion at any time; and (ii) shall be subject to the placement guidelines set forth herein. In addition, You agree that while You may display more than one (1) Ad Unit on each Site Web page, You shall not display any Ad Unit on a page that contains Ads associated with another Google AdSense customer (e.g., Your Web hosting company), unless authorized to do so by Google.
affiliate blog

Borghunter

#6
This will not be the same as the ad management mod, the administrator must make sure that they do not have google adsense code in the ad management mod if it is installed. I will also make sure that there is only one ID per page, no 2 different. I will make sure all the bugs are fixed before release so that nobosy gets banned from google adsense.

And yes, this is going to be close to digitalpoint's

Niteblade

affiliate blog

jerm

i think someone here has already created it. dont know where the post is to it though

Borghunter

If so, doesn't matter, I'll create it anyways.

I have this in Profile.php:
'PUBID' => array('name' => empty($user_profile[$memID]['PUBID']) ? '' : $user_profile[$memID]['PUBID']),

Located after:
'msn' => array('name' => empty($user_profile[$memID]['MSN']) ? '' : $user_profile[$memID]['MSN']),

When I go to the profile, type something in that field, it submits fine, but doesn't come back up into the field, does anyone know what's wrong?

Niteblade

How's the programming coming along ?
affiliate blog

Borghunter

Well, it works, however the one thing (the last post I posted here) is not working.

geezmo

bump! looking forward to this one. i've long wanted this mod for SMF, it's already high time since vB and phpbb already have this!

Quote from: jerm on June 19, 2006, 12:39:05 PM
i think someone here has already created it. dont know where the post is to it though

hope somebody can show me where this is...

Niteblade

Quote from: Borghunter on June 28, 2006, 09:30:20 PM
Well, it works, however the one thing (the last post I posted here) is not working.

The only thing I can recommend is that you download a couple of other working mods that use such a feature, and copy cat what's been done.
affiliate blog

agent14

This is definitely a highly desired feature. I hope that you can get it to work.
www.anmartech.com
www.forums.anmartech.com

tthmaz


Saku


forumposters

I'm also looking forward to this mod if and when it ever gets done. 

911

I am searching for this a long Time too. Hope it will be released (soon  :))

karlbenson


Advertisement: