Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: mghq on April 25, 2009, 07:38:25 PM

Title: Ad Revenue Sharing Mod
Post by: mghq on April 25, 2009, 07:38:25 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1798)

AD REVENUE SHARING MOD 1.5
By mghq

--------------------------------------------------------------------------------
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1798) | Support Topic | Donate (http://yourgaminghubs.com)
--------------------------------------------------------------------------------


Compatibility
For SMF 1.1.X (1.1.2 through 1.1.10 )
It will not work for ANY earlier versions.
Working on SMF 2.0

Introduction
Adds the ability for your members to add their own ads to your forum and be able to make their money on your forum which will attract many visitors. There is also permissions and admin settings that allow you to set the percentage of how much the ads will show for each membergroup. This way it will keep people from registering, posting once or no times and then leaving their ad.

This is a very advanced new feature! See for yourself!

Features
o List coming soon!
- Taken over by mghq(awaiting approval from brianjw as he no longer supports the older version ).

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version UNLESS we have an upgrade package [we currently don't].

Simply install the package to install on the SMF Default Core Theme ONLY.
Manual edits will be required for ALL themes (other than SMF Default Core Theme). Instructions are coming very soon!

If your website has a different language then english, you will have to manually edit the ManageArs.english.php and translate it to your language and then save "as" as ManageArs.{language}.php


Donate
Has this modification helped you? Support the developer by Donating (http://yourgaminghubs.com/) on the donation tab.

Support
You may pm mghq or use the topic for help

Changelog
1.5
o Fixed install completely. It will now work properly on any forum.

1.4
o Fixed it to install versions 1.1.2 - 1.1.8
o Fixed an error when installing it
o Fixed a problem with the edit for index.template.php
Supported by mghq
No longer supported by brianjw
o I am looking for someone to take over this mod.
o You must have knowledge of some php and html.
o Download is still available
1.3
o XHTML Errors have been fixed.
o Taken over by brianjw.
o Previous versions of this mod are no longer supported. To get support please update to the latest version!
1.2
o Fixes adsense channel not saving
1.1 - FIXES
o Alters Text-Link-Ads referrals links (since they've changed them)
o Allows Adesnse id's starting ca-pub aswell as pub-

If you like this mod please donate.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 25, 2009, 08:08:28 PM
One custom edit I believe yall currently might have to make is under Themes>Default>index.template.php .

Search for: </head>
<body>';


Add this before it:
if ($modSettings["ars_enabled"]) {
$context['arsadscount'] = 0;
showArsAds("top");
showArsMessage("top");
}


Search For:function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;

echo '
</div>';


Replace withfunction template_main_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '</div>';

if ($modSettings['ars_enabled']) {
if ($modSettings['ars_adsetup_right_enabled']) {
echo '</td><td valign="top">';
showArsAds("right");
}
if (($modSettings['ars_adsetup_left_enabled']) || ($modSettings['ars_adsetup_right_enabled'])) {
echo '</td></tr></table>';
}
showArsAds("bottom");

logImpressions();
}



Search for:echo '
</td>
</tr>
</table>
</td>
</tr>
</table>';


Add after:
if (($modSettings['ars_enabled']) && ($modSettings['ars_adsetup_welcome_enabled'])) {
echo '</td>
<td class="windowbg2">';
showArsAds("welcome");
showArsMessage("top");
}



Search for:
template_menu();


Add before:

if ($modSettings['ars_enabled']) {

showArsAds("links");


if (($modSettings['ars_adsetup_left_enabled']) || ($modSettings['ars_adsetup_right_enabled'])) {
echo '<table cellspacing="3" cellpadding="0" width="100%"><tr><td valign="top">';
}
if ($modSettings['ars_adsetup_left_enabled']) {
showArsAds("left");
echo '</td><td valign="top">';
}
}



These edits are required for this mod to work. The rest of it can be dealt with the package installer.
Title: Re: Ad Revenue Sharing Mod
Post by: MaXiForum.cz on April 26, 2009, 05:12:17 AM
Hmm nice!
Demo, screen? :)
Title: Re: Ad Revenue Sharing Mod
Post by: daveaite on April 26, 2009, 02:22:03 PM
Sounds like a good idea! Any chance we can go 2.0?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 26, 2009, 04:21:04 PM
Working on it.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 26, 2009, 05:05:12 PM
Here is a screenie of the advertisements in different areas.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgaminghubs.com%2FUntitled.png&hash=c5850e71523ad1fb8db585085bfcedda93c5791b)
Title: Re: Ad Revenue Sharing Mod
Post by: heavyccasey on April 26, 2009, 05:56:34 PM
Here's a suggestion. Under the link tree works very well for me.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 26, 2009, 06:03:31 PM
Quote from: heavyccasey on April 26, 2009, 05:56:34 PM
Here's a suggestion. Under the link tree works very well for me.
K might ad that section in a future release of this mod? Have you tested this mod?
Title: Re: Ad Revenue Sharing Mod
Post by: Goodman854 on April 26, 2009, 08:49:24 PM
Can you make it work with Adbrite? PLEASE! Because the other Ad programs don't work on my site.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 26, 2009, 09:07:03 PM
Why do they not work? adsense all you need is the pub number.
Title: Re: Ad Revenue Sharing Mod
Post by: Goodman854 on April 26, 2009, 11:24:09 PM
I don't have Adsense account. I have an adbrite.com account. Adbrite works best for me there really good!
Title: Re: Ad Revenue Sharing Mod
Post by: alex30 on April 27, 2009, 12:33:29 AM
I like this idea, this mod will be one of those popular ones.

Well done!
Title: Re: Ad Revenue Sharing Mod
Post by: gsawiris on April 27, 2009, 05:31:17 AM
I installed it on my free forum (http://science-query.com/free_forum/) using default skin but I don't see where you access it.
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on April 27, 2009, 08:03:04 AM
so good that someone is carrying on this mod.

are there any bugs with this mod as i have it installed on one forum but ads are not showing where i selected them?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 04:46:20 PM
Quote from: gsawiris on April 27, 2009, 05:31:17 AM
I installed it on my free forum (http://science-query.com/free_forum/) using default skin but I don't see where you access it.
Some likely reasons for this are 1)that you have not enabled the ad spots in the Admin Panel. 2) You have not made the edits i stated above, 3) You are the only person with the ads. It will more than likely be reason 1 or 2.

Quote from: ellion on April 27, 2009, 08:03:04 AM
so good that someone is carrying on this mod.

are there any bugs with this mod as i have it installed on one forum but ads are not showing where i selected them?
Yes. Thank you.  As I stated before you will have to make some small edits to index.template.php. She above. (http://www.simplemachines.org/community/index.php?topic=306738.msg2031827#msg2031827)
Quote from: alex30 on April 27, 2009, 12:33:29 AM
I like this idea, this mod will be one of those popular ones.

Well done!
Thank you
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 05:13:17 PM
Note: If you do not make the changes to index.template.php the only ad area that will display is Below Boards/Topic/Post Tables. Also you will NEVER be shown your own ads.
Title: Re: Ad Revenue Sharing Mod
Post by: gsawiris on April 27, 2009, 07:28:13 PM
I thought you did not need to do the mods using the default skin. I don't see any ad spots option in the admin panel. thanks.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 07:32:58 PM
Quote from: gsawiris on April 27, 2009, 07:28:13 PM
I thought you did not need to do the mods using the default skin. I don't see any ad spots option in the admin panel. thanks.
You do for this one for one reason. It is because it will not execute properly when installing. And the button will say "Ad Revenue Sharing" under configuration, under the Themes link

Trust me it works. See here http://gaminghubs.com/test4mod/
Title: Re: Ad Revenue Sharing Mod
Post by: damnitmike on April 27, 2009, 07:40:17 PM
I started to install this, but there was a warning in the description....Something like, if you use another ad management  (jerms), you shouldn't use this.....

I am wondering what the conflict is, or might be with the 2 installed on the same forum?

Thanks!
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 07:41:36 PM
Quote from: damnitmike on April 27, 2009, 07:40:17 PM
I started to install this, but there was a warning in the description....Something like, if you use another ad management  (jerms), you shouldn't use this.....

I am wondering what the conflict is, or might be with the 2 installed on the same forum?

Thanks!
It is just saying if you have that ad management mod installed the two might conflict. If you do not use that mod just disregard that
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 08:02:10 PM
Quote from: damnitmike on April 27, 2009, 07:40:17 PM
I started to install this, but there was a warning in the description....Something like, if you use another ad management  (jerms), you shouldn't use this.....

I am wondering what the conflict is, or might be with the 2 installed on the same forum?

Thanks!
Also if you need any help i am willing to explain any problems that occur
Title: Re: Ad Revenue Sharing Mod
Post by: damnitmike on April 27, 2009, 08:08:20 PM
Thanks mqhq!

Yeah, I'll give it a go.....I started to and got no errors, so that is good....I was guessing they both might be trying to use the same ad space....

I'll let you know how it goes! 8)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 27, 2009, 08:09:12 PM
Quote from: damnitmike on April 27, 2009, 08:08:20 PM
Thanks mqhq!

Yeah, I'll give it a go.....I started to and got no errors, so that is good....I was guessing they both might be trying to use the same ad space....

I'll let you know how it goes! 8)
Cool if it works post your url
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 28, 2009, 07:34:29 AM
We are up to 102 downloads. Does anyone need any help
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on April 28, 2009, 07:44:18 AM
Isn't there already an Ad Revenue Sharing Mod  ???
Good Mod  ;)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 28, 2009, 07:47:53 AM
Quote from: Joe N on April 28, 2009, 07:44:18 AM
Isn't there already an Ad Revenue Sharing Mod  ???
Good Mod  ;)
There was. No longer supported by author. I took it over. And it is up to date, and I am working on SMF 2
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on April 28, 2009, 08:48:17 AM
Quote from: mghq on April 28, 2009, 07:47:53 AM
Quote from: Joe N on April 28, 2009, 07:44:18 AM
Isn't there already an Ad Revenue Sharing Mod  ???
Good Mod  ;)
There was. No longer supported by author. I took it over. And it is up to date, and I am working on SMF 2
ok
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 28, 2009, 04:19:20 PM
No problem. Anyone else need any help with it?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 28, 2009, 07:54:36 PM
If you like this mod please donate.

(https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif) (https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=h8Qf4CJmFXW966KK9RnAMqZkkzLXDGPk6cSowRiZdJjGtIkGYB84DftuxEK&dispatch=5885d80a13c0db1f998ca054efbdf2c25fe4a05bcb33bff6aad6e850552f81af)
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on April 29, 2009, 12:45:12 PM
no 
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 29, 2009, 04:36:41 PM
KK. :D
Title: Re: Ad Revenue Sharing Mod
Post by: MaXiForum.cz on April 30, 2009, 02:34:29 AM
It missing smf 2.0 support.
This is the future ;)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 30, 2009, 07:03:55 AM
Quote from: MaxiPes on April 30, 2009, 02:34:29 AM
It missing smf 2.0 support.
This is the future ;)
Yeah, but SMF is missing alot of things.
Title: Re: Ad Revenue Sharing Mod
Post by: shy2pk on May 05, 2009, 10:10:03 AM
Dear guys,

I need your help to find out where i made a mistake because i followed every instructions that is being told related to this mod. it's awsome mod but not working with my forum.

i'm sending my index.template.php
with snapshot of errors

Please look into this and help me out. here i want to mention that i'm using SMF 1.7 and can't update it have no other mods installed yet.


Thanks in advance
Title: Re: Ad Revenue Sharing Mod
Post by: Bassboys on May 05, 2009, 04:21:21 PM
I got the same errors as shy2pk, apart from that it's an awsome mod. would be even better as soon as it functions perfectly.

would like to fix the placing.. any help would be good.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 05, 2009, 05:53:33 PM
Quote from: shy2pk on May 05, 2009, 10:10:03 AM
Dear guys,

I need your help to find out where i made a mistake because i followed every instructions that is being told related to this mod. it's awsome mod but not working with my forum.

i'm sending my index.template.php
with snapshot of errors

Please look into this and help me out. here i want to mention that i'm using SMF 1.7 and can't update it have no other mods installed yet.


Thanks in advance
I have attached the fixed file. Change the '    '  to "    ". Tell me if it worked. I need to change the install code if it fixes it
Title: Re: Ad Revenue Sharing Mod
Post by: shy2pk on May 06, 2009, 03:53:07 AM
Thanks man it works now but a little problem arouse. sending you error snapshot and index.templete

Thanks again for your support.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 06, 2009, 07:50:27 PM
Quote from: shy2pk on May 06, 2009, 03:53:07 AM
Thanks man it works now but a little problem arouse. sending you error snapshot and index.templete

Thanks again for your support.
if ($modSettings["ars_enabled"]) {
$context["arsadscount"] = 0;
showArsAds("top");
showArsMessage("top");
}

Needs to be if ($modSettings["ars_enabled"]) {
$context['arsadscount'] = 0;
showArsAds("top");
showArsMessage("top");
}



Tell me if that works
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 06, 2009, 07:59:49 PM
So does anyone else need help.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 06, 2009, 08:50:25 PM
Quote from: mghq on April 25, 2009, 08:08:28 PM
Search for: </head>
<body>';


Add this before it:
if ($modSettings["ars_enabled"]) {
$context['arsadscount'] = 0;
showArsAds("top");
showArsMessage("top");
}


Currently that modification is not working on any SMF versions so please do not make this edit currently until i find out why. Your forum and ad revenue sharing will still work with out that piece of code. It is not needed really.
Title: Re: Ad Revenue Sharing Mod
Post by: daveaite on May 09, 2009, 09:56:54 PM
How's it comming for 2.0 :)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 09, 2009, 10:08:14 PM
Quote from: daveaite on May 09, 2009, 09:56:54 PM
How's it comming for 2.0 :)
Working on it. Do you want it for 2.0?
Title: Re: Ad Revenue Sharing Mod
Post by: MaXiForum.cz on May 10, 2009, 02:26:57 AM
QuoteSorry, but this modification does not appear to be compatible with the selected version.
...  ;)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 10, 2009, 03:18:41 PM
I never said it was compatible. I am having problems with the sql database in 2.0
Title: Re: Ad Revenue Sharing Mod
Post by: MaXiForum.cz on May 10, 2009, 03:36:17 PM
Ou ok.
I was wrong... :-)
Title: Re: Ad Revenue Sharing Mod
Post by: dr.wills on May 10, 2009, 03:36:48 PM
I like the idea :D good job mghq
I hope you will finish the rc2 version soon ;)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 10, 2009, 03:40:29 PM
I am updateing sql and testing. In 2.0 they made changes to the sql queries and the mod has a lot so i am having to go over that along with template changes so give me just a few.
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on May 11, 2009, 10:53:31 AM
Just installed this. Great mod!
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 11, 2009, 06:49:09 PM
Quote from: Joe N on May 11, 2009, 10:53:31 AM
Just installed this. Great mod!
Cool, you can post your url so the members can see
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 11, 2009, 08:50:32 PM
Update for SMF 2.0:

I have fixed the sql errors for it. I am now trying to work with the file edits that are failing. This mod will be great in smf 2.0 when i can get the edits done. I am the biggest part through. The sql change had confused my but it was my mistake as i typed something wrong and copied and pasted which is fixed. I will keep you all updated on the info of ARS for SMF 2.0. Thanks for being patient.
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 12, 2009, 11:51:44 AM
how would i go about stopping the ads being shown on certain pages. ie; board index (ctr way to low) plus other non topic pages (ads are irrelevant and make the forum look amateur)

basically i only want ads to show on topic pages where there is useful content and low ad impressions but they have to be under the menu bar and after the last post.
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on May 12, 2009, 12:45:35 PM
Quote from: mghq on May 11, 2009, 06:49:09 PM
Quote from: Joe N on May 11, 2009, 10:53:31 AM
Just installed this. Great mod!
Cool, you can post your url so the members can see

I am just setting my ads up at the moment. Joe
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 12, 2009, 05:12:59 PM
Quote from: ellion on May 12, 2009, 11:51:44 AM
how would i go about stopping the ads being shown on certain pages. ie; board index (ctr way to low) plus other non topic pages (ads are irrelevant and make the forum look amateur)

basically i only want ads to show on topic pages where there is useful content and low ad impressions but they have to be under the menu bar and after the last post.
You can only set them by in the admin panel. Remove it from the areas you do not want
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 12, 2009, 05:15:40 PM
Quote from: mghq on May 12, 2009, 05:12:59 PM
Quote from: ellion on May 12, 2009, 11:51:44 AM
how would i go about stopping the ads being shown on certain pages. ie; board index (ctr way to low) plus other non topic pages (ads are irrelevant and make the forum look amateur)

basically i only want ads to show on topic pages where there is useful content and low ad impressions but they have to be under the menu bar and after the last post.
You can only set them by in the admin panel. Remove it from the areas you do not want

yes, how would i do that. how do i remove ads from the board index but have them show in topics?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 12, 2009, 06:07:08 PM
Quote from: ellion on May 12, 2009, 05:15:40 PM
Quote from: mghq on May 12, 2009, 05:12:59 PM
Quote from: ellion on May 12, 2009, 11:51:44 AM
how would i go about stopping the ads being shown on certain pages. ie; board index (ctr way to low) plus other non topic pages (ads are irrelevant and make the forum look amateur)

basically i only want ads to show on topic pages where there is useful content and low ad impressions but they have to be under the menu bar and after the last post.
You can only set them by in the admin panel. Remove it from the areas you do not want

yes, how would i do that. how do i remove ads from the board index but have them show in topics?
You must uncheck the places you do not want. Them are the default areas.

UPDATE:
I am needing one person to help me with template errors in SMF 2.0. If you help i will add a link to your selected website under the help category right beside mine.
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 10:08:09 AM
do i need to remove my previously installed "AD Management MOD" for this "AD Revenue sharing Mod to work"?
Title: Re: Ad Revenue Sharing Mod
Post by: Joe N on May 13, 2009, 01:00:58 PM
Quote from: pinoysim on May 13, 2009, 10:08:09 AM
do i need to remove my previously installed "AD Management MOD" for this "AD Revenue sharing Mod to work"?

That would help  ;)
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 01:56:57 PM
I just checked it. The Ad Management Mod is not compatible with the Ad Revenue Sharing Mod. i have uninstalled the Ad Management Mod.
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 02:01:23 PM
Question: Why is that the message "This Is An Ad Revenue Sharing Forum" disappears and sometimes it shows. i got an error when i click PROFILE on the menu bar. Here is the error:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/server/public_html/mysite.com/Sources/Profile.php on line 3080

Parse error: syntax error, unexpected $end, expecting ']' in /home/server/public_html/mysite.com/Sources/Profile.php on line 3080
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 02:09:18 PM
also the ad sizes are very limited. it should also include the medium rectangle and large rectange.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 13, 2009, 05:00:43 PM
Quote from: pinoysim on May 13, 2009, 02:01:23 PM
Question: Why is that the message "This Is An Ad Revenue Sharing Forum" disappears and sometimes it shows. i got an error when i click PROFILE on the menu bar. Here is the error:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/server/public_html/mysite.com/Sources/Profile.php on line 3080

Parse error: syntax error, unexpected $end, expecting ']' in /home/server/public_html/mysite.com/Sources/Profile.php on line 3080

Give me the code, I have had no problems with it on the forum i installed it on
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php

Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 08:33:31 PM
Quote from: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this

should i reinstall then?  Thanks for the reply  :D
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 13, 2009, 08:59:35 PM
Quote from: pinoysim on May 13, 2009, 08:33:31 PM
Quote from: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this

should i reinstall then?  Thanks for the reply  :D
Yeah, make a mysql backup, then reinstall everything you need. No problem
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 11:33:28 PM
Quote from: mghq on May 13, 2009, 08:59:35 PM
Quote from: pinoysim on May 13, 2009, 08:33:31 PM
Quote from: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this

should i reinstall then?  Thanks for the reply  :D
Yeah, make a mysql backup, then reinstall everything you need. No problem

It Works Now but the statement that says "This Is An Ad Revenue Sharing Forum" Does not appear on the Ads.
Title: Re: Ad Revenue Sharing Mod
Post by: Mavvic on May 13, 2009, 11:52:43 PM
Quote from: Mavvic on May 13, 2009, 11:33:28 PM
Quote from: mghq on May 13, 2009, 08:59:35 PM
Quote from: pinoysim on May 13, 2009, 08:33:31 PM
Quote from: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this

should i reinstall then?  Thanks for the reply  :D
Yeah, make a mysql backup, then reinstall everything you need. No problem

It Works Now but the statement that says "This Is An Ad Revenue Sharing Forum" Does not appear on the Ads.

OK i got it. The message "Adsense and YPN Revenue Sharing Forum  [?]" only works if the "Top of Page" Ad Placement is Checked. Currently, ARS mod is not showing top of the page ad placement because you are still fixing the code.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 14, 2009, 07:38:51 AM
Quote from: Mavvic on May 13, 2009, 11:52:43 PM
Quote from: Mavvic on May 13, 2009, 11:33:28 PM
Quote from: mghq on May 13, 2009, 08:59:35 PM
Quote from: pinoysim on May 13, 2009, 08:33:31 PM
Quote from: mghq on May 13, 2009, 08:05:19 PM
Quote from: pinoysim on May 13, 2009, 08:01:17 PM
attached here is the index.template.php and profile.php
Your error was caused by there being a huge chunk of your code missing after line 3080. My mod did not do this

should i reinstall then?  Thanks for the reply  :D
Yeah, make a mysql backup, then reinstall everything you need. No problem

It Works Now but the statement that says "This Is An Ad Revenue Sharing Forum" Does not appear on the Ads.

OK i got it. The message "Adsense and YPN Revenue Sharing Forum  [?]" only works if the "Top of Page" Ad Placement is Checked. Currently, ARS mod is not showing top of the page ad placement because you are still fixing the code.
It will continue duing that because the way the code works. It is not a problem.
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 14, 2009, 06:20:26 PM
Quote from: mghq on May 12, 2009, 06:07:08 PM
Quote from: ellion on May 12, 2009, 05:15:40 PM
Quote from: mghq on May 12, 2009, 05:12:59 PM
Quote from: ellion on May 12, 2009, 11:51:44 AM
how would i go about stopping the ads being shown on certain pages. ie; board index (ctr way to low) plus other non topic pages (ads are irrelevant and make the forum look amateur)

basically i only want ads to show on topic pages where there is useful content and low ad impressions but they have to be under the menu bar and after the last post.
You can only set them by in the admin panel. Remove it from the areas you do not want

yes, how would i do that. how do i remove ads from the board index but have them show in topics?
You must uncheck the places you do not want. Them are the default areas.

how do i uncheck them, is there settings somewhere else for the pages that the ads are shown on. i only want ads showing on topic pages.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 14, 2009, 06:23:05 PM
Admin panel > Ad Revenue Sharing:
UNcheck anything there and navigate between pages under Ad revenue sharing to uncheck places.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 14, 2009, 10:31:24 PM
Update:

SMF 2.0 RC1 is almost complete. I only have two files that are currently messing up and one problem with sql. The sql error is being cause by the difference from the versions but will be fixed.
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 15, 2009, 08:33:26 AM
Quote from: mghq on May 14, 2009, 06:23:05 PM
Admin panel > Ad Revenue Sharing:
UNcheck anything there and navigate between pages under Ad revenue sharing to uncheck places.

i am sorry, i really dont understand what you mean. my setting for ARS are fine but the ads are being shown on the board index and non topic pages. i only want ads to be shown on topic pages, where there is content and low ad impressions.

Quotenavigate between pages under Ad revenue sharing to uncheck places
what does this mean, how do i do this?

Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 15, 2009, 09:34:45 AM
Quote from: ellion on May 15, 2009, 08:33:26 AM
Quote from: mghq on May 14, 2009, 06:23:05 PM
Admin panel > Ad Revenue Sharing:
UNcheck anything there and navigate between pages under Ad revenue sharing to uncheck places.

i am sorry, i really dont understand what you mean. my setting for ARS are fine but the ads are being shown on the board index and non topic pages. i only want ads to be shown on topic pages, where there is content and low ad impressions.

Quotenavigate between pages under Ad revenue sharing to uncheck places
what does this mean, how do i do this?
There is a place in the admin panel under my mod where it says where you can place them
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 15, 2009, 01:25:06 PM
Quote from: mghq on May 15, 2009, 09:34:45 AM
Quote from: ellion on May 15, 2009, 08:33:26 AM
Quote from: mghq on May 14, 2009, 06:23:05 PM
Admin panel > Ad Revenue Sharing:
UNcheck anything there and navigate between pages under Ad revenue sharing to uncheck places.

i am sorry, i really dont understand what you mean. my setting for ARS are fine but the ads are being shown on the board index and non topic pages. i only want ads to be shown on topic pages, where there is content and low ad impressions.

Quotenavigate between pages under Ad revenue sharing to uncheck places
what does this mean, how do i do this?
There is a place in the admin panel under my mod where it says where you can place them

i cannot see any settings to choose what pages i want ads to be shown.

i think we are misunderstanding each other, do you understand what i am trying to do?

Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 15, 2009, 02:41:05 PM
Click on adsetup. That is the best that you can modify it. YOU cannot only set one or two pages, you have the choices under adsetup.
Title: Re: Ad Revenue Sharing Mod
Post by: ellion on May 15, 2009, 03:07:07 PM
Quote from: mghq on May 15, 2009, 02:41:05 PM
Click on adsetup. That is the best that you can modify it. YOU cannot only set one or two pages, you have the choices under adsetup.
i know that there is no settings for what i want to do,  this is why i ask for help. now i think you understand me. sorry for my manner i am getting frustrated with this. 

i am wanting to find another way to do this? i want to show the ad code on the topic pages only or to supress the code when it is not on a topic page.

is there anyway that this can be done?

i am sorry if am
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 15, 2009, 06:57:00 PM
Quote from: ellion on May 15, 2009, 03:07:07 PM
Quote from: mghq on May 15, 2009, 02:41:05 PM
Click on adsetup. That is the best that you can modify it. YOU cannot only set one or two pages, you have the choices under adsetup.
i know that there is no settings for what i want to do,  this is why i ask for help. now i think you understand me. sorry for my manner i am getting frustrated with this. 

i am wanting to find another way to do this? i want to show the ad code on the topic pages only or to supress the code when it is not on a topic page.

is there anyway that this can be done?

i am sorry if am

This is the closest thing you can get. "Below Boards/Topic/Post Tables"
Title: Re: Ad Revenue Sharing Mod
Post by: pingpong86 on May 31, 2009, 07:41:19 PM
I think I have AD MANAGEMENT v2.3 installed on my SMF 1.1.9. 

Is it ok to install this mod?



Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 31, 2009, 11:18:21 PM
Quote from: pingpong86 on May 31, 2009, 07:41:19 PM
I think I have AD MANAGEMENT v2.3 installed on my SMF 1.1.9. 

Is it ok to install this mod?
I do not believe it is for one reason. The reason is, is that mod might call for the same function this mod uses, but i am not sure
Title: Re: Ad Revenue Sharing Mod
Post by: pingpong86 on June 01, 2009, 07:42:14 AM
You mean there will be a conflict?

So you are suggesting that I uninstall it first?



Title: Re: Ad Revenue Sharing Mod
Post by: chrymo on June 22, 2009, 02:47:03 AM
Was browsing through my error logs after successfully installing this mod.

Can you help me figure this out?

Undefined index: arsadscount

Thanks!
Title: Re: Ad Revenue Sharing Mod
Post by: ibulseco on July 08, 2009, 01:25:49 AM
is this mod support SMF 1.1.9?
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on July 28, 2009, 02:41:32 PM
@ibulseco, yes it is compatible with SMF 1.1.9. I'm using it for my SMF 1.1.9.forum.

I upgraded my forum to SMF 2.0 RC1.2 and I'm still waiting for the SMF 2.0 RC1.2 version of this mod. I hope it will be released as soon as possible... please.. =)
Thanks.
Title: Re: Ad Revenue Sharing Mod
Post by: nadunwow on July 29, 2009, 01:44:53 AM
ging to install it wish me luck
Title: Re: Ad Revenue Sharing Mod
Post by: nadunwow on July 29, 2009, 01:54:09 AM
Oh
I can not because I use SMF 1.10

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Ad Revenue Sharing Mod
Post by: ttuu on July 29, 2009, 06:46:18 AM
u can give screanshots for this mod?
Title: Re: Ad Revenue Sharing Mod
Post by: laser on August 07, 2009, 07:51:45 PM
Any update on this mode ?  It sounds to be exactly what I need, but doesn't work with the latest versions.
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on August 14, 2009, 12:06:59 PM
It seems that the author of this mod is not updating it. Maybe this mod is in need of tender loving care from someone. Are you interested in making this work for SMF 2.0 RC1.2? Post it here or PM.
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on August 27, 2009, 03:13:56 AM
any update?
Title: Re: Ad Revenue Sharing Mod
Post by: PINOYBusinessClub on September 05, 2009, 12:29:36 AM
i dropped by to say THANK YOU for this mod.

was able to have this up and running on SMF v. 1.1.10.

you may view it at: hxxp:// wiredwebtalk[dot]com

i installed it manually :)

hope you guys are able to set it up also on v1.1.10

good luck.

by the way, i uninstall Ad Management mod though i never had the chance to check on the
result if both are installed at the same time. don't want to take some risk at this point.
probably i'll try once the site is smoothly running.
Title: Re: Ad Revenue Sharing Mod
Post by: PINOYBusinessClub on September 05, 2009, 01:42:08 AM
UPDATE: (sorry, cannot edit the previous post)

setup completed.
problem encountered during configuration (admin panel)
1. Setting tab not saving the settings done - refer to attached screenie  :-[
2. Adsetup tab also is not saving the config  ::)
3. Adshare tab is working fine  ;D
Title: Re: Ad Revenue Sharing Mod
Post by: SAFAD on September 22, 2009, 04:09:15 PM
Woha
Nice Mod You Got There
but
SMF 2 Plz
Else Can You Let Me Make A New Version ?
Regards
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 26, 2009, 09:39:08 PM
Ok, everyone. I have fixed all errors for SMF series 1.1.X and i am under development still for SMF 2.0. There are code changes and MySQL changes in SMF 2.0 that are different from SMF 1.1.X. New Support can be done here or through my site's forum. http://yourgaminghubs.com/
If you find any errors with this release please let us know and we will try and assist you
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 26, 2009, 10:13:22 PM
Please post screenshots or urls when you install. I do not think there are any bugs any more which makes me happy.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 26, 2009, 11:47:49 PM
Updated admin panel, please update

**Note: When installing on any theme other than default you will have to make some of the theme changes which you can find where you download the mod. And when you uninstall you will have to undo what you edited
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 27, 2009, 10:24:47 AM
So does anyone have any bug reports or any success with the latest
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on September 27, 2009, 10:40:02 AM
thank you for the update but im still using the older version and its working fine together with ad management mod. Im looking forward for SMF 2 version.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 27, 2009, 10:42:20 AM
Quote from: isl30fvi3w on September 27, 2009, 10:40:02 AM
thank you for the update but im still using the older version and its working fine together with ad management mod. Im looking forward for SMF 2 version.
If you are talking about the older version not by me, i would really recommend you upgrading. I will not answer any questions for those who do not upgrade.
Title: Re: Ad Revenue Sharing Mod
Post by: PINOYBusinessClub on September 27, 2009, 10:47:12 AM
I was able to set up the latest version on my site: wiredwebtalk[dot]com
using SMF v.1.1.10 with custom theme.

up and running.
so far no problem right now. just found some room for improvement like:
- option to align ads (mostly centered)
- addon to include "after-second post"
- option to customize color for each ad (currently on general custom)

am planning to test this compatibility with Ad Mgmt mod. have not tried and not even
thought of installing simultaneously to avoid any screwup.

so far, BIG THANKS to the developer.
looking forward to seeing more additions to future version.
i'd be glad to donate for such an awesome job.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 27, 2009, 10:51:43 AM
Quote from: PINOYBusinessClub on September 27, 2009, 10:47:12 AM
I was able to set up the latest version on my site: wiredwebtalk[dot]com
using SMF v.1.1.10 with custom theme.

up and running.
so far no problem right now. just found some room for improvement like:
- option to align ads (mostly centered)
- addon to include "after-second post"
- option to customize color for each ad (currently on general custom)

am planning to test this compatibility with Ad Mgmt mod. have not tried and not even
thought of installing simultaneously to avoid any screwup.

so far, BIG THANKS to the developer.
looking forward to seeing more additions to future version.
i'd be glad to donate for such an awesome job.
I will try to add moer flexibility. However with the Ad Mgmt Mod it could mess up SQL or calling for functions. if you would like to donate send it to [email protected]
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on September 27, 2009, 04:31:54 PM
So anymore successful installs
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on October 05, 2009, 07:01:01 PM
No problems posted, so i assume all is well, does anyone want language files?
Title: Re: Ad Revenue Sharing Mod
Post by: dollarbabe on October 09, 2009, 07:04:11 PM
Thank you for this very nice mod mghq. I tried to download it and install on my forum but im getting an error.  :(

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/index.template.php    Test failed
5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
6.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
7.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
8.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
9.    Execute Modification    ./Themes/default/Help.template.php    Test successful
10.    Execute Modification    ./Sources/Subs.php    Test successful
11.    Execute Modification    ./Sources/Post.php    Test successful
12.    Execute Modification    ./Sources/Profile.php    Test successful
13.    Execute Modification    ./Sources/Display.php    Test successful
14.    Execute Modification    ./Sources/Help.php    Test successful
15.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
16.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
17.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
18.    Execute Modification    ./Themes/default/languages/Manual.english.php    Test successful
19.    Extract File    ./Sources/ArsAds.php    
20.    Extract File    ./Sources/ArsTla.php    
21.    Extract File    ./Sources/ManageArs.php    
22.    Extract File    ./Themes/default/ManageArs.template.php    
23.    Extract File    ./Themes/default/languages/ManageArs.english.php

this is the error when i tried to install it. additionally, i checked at my error log and i got this:

8: Undefined index: ad_management
File: /home4/home/public_html/online/forum/Sources/Subs.php
Line: 2749 (some folder names change)

Im not so good at php thing still a noob on this. I dont know where to check for the error and what to do. Thanks for the help.


Edit: I was able to figure this out already. I have it successfully installed in my forum: http://onlinersclub.biz/forum
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on October 18, 2009, 07:47:28 PM
Quote from: dollarbabe on October 09, 2009, 07:04:11 PM
Thank you for this very nice mod mghq. I tried to download it and install on my forum but im getting an error.  :(

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/index.template.php    Test failed
5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
6.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
7.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
8.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
9.    Execute Modification    ./Themes/default/Help.template.php    Test successful
10.    Execute Modification    ./Sources/Subs.php    Test successful
11.    Execute Modification    ./Sources/Post.php    Test successful
12.    Execute Modification    ./Sources/Profile.php    Test successful
13.    Execute Modification    ./Sources/Display.php    Test successful
14.    Execute Modification    ./Sources/Help.php    Test successful
15.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
16.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
17.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
18.    Execute Modification    ./Themes/default/languages/Manual.english.php    Test successful
19.    Extract File    ./Sources/ArsAds.php    
20.    Extract File    ./Sources/ArsTla.php    
21.    Extract File    ./Sources/ManageArs.php    
22.    Extract File    ./Themes/default/ManageArs.template.php    
23.    Extract File    ./Themes/default/languages/ManageArs.english.php

this is the error when i tried to install it. additionally, i checked at my error log and i got this:

8: Undefined index: ad_management
File: /home4/home/public_html/online/forum/Sources/Subs.php
Line: 2749 (some folder names change)

Im not so good at php thing still a noob on this. I dont know where to check for the error and what to do. Thanks for the help.


Edit: I was able to figure this out already. I have it successfully installed in my forum: http://onlinersclub.biz/forum
Sorry for the late reply. I am sorry i didnt reply sooner. I am guessing there was a mod installed that had altered the code causing it to give the errors. Glad you got it installed. Are you experiencing anymore problems
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on October 21, 2009, 01:42:50 PM
Also please suggest other ad networks
Title: Re: Ad Revenue Sharing Mod
Post by: cruth on October 27, 2009, 04:38:35 AM
QuoteIntroduction
Adds the ability for your members to add their own ads to your forum and be able to make their money on your forum which will attract many visitors. There is also permissions and admin settings that allow you to set the percentage of how much the ads will show for each membergroup. This way it will keep people from registering, posting once or no times and then leaving their ad.

Sorry, please clarify. You say members can add their ads, but you say nothing about the forum owners also having ads, Visitors are good, but not so good if owner cannot also monetize. I realize Mod title is "Ad Revenue Sharing Mod. Can you clarify this? Thanks
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on October 27, 2009, 07:36:35 AM
Quote from: cruth on October 27, 2009, 04:38:35 AM
QuoteIntroduction
Adds the ability for your members to add their own ads to your forum and be able to make their money on your forum which will attract many visitors. There is also permissions and admin settings that allow you to set the percentage of how much the ads will show for each membergroup. This way it will keep people from registering, posting once or no times and then leaving their ad.

Sorry, please clarify. You say members can add their ads, but you say nothing about the forum owners also having ads, Visitors are good, but not so good if owner cannot also monetize. I realize Mod title is "Ad Revenue Sharing Mod. Can you clarify this? Thanks
Owner gets ads to. It allows everyone to display there ads
Title: Re: Ad Revenue Sharing Mod
Post by: elvira100 on November 09, 2009, 01:22:45 AM
I have installed this mod on my forum and everything works except inside the members profile panel  where the users can access the ad revenue sharing template loads on error this is the message I get (Unable to load the 'adrevenuesharing' template). I dont know to get this fixxed. we are running smf 1.1.10
if you can help with is let me know

thanks

Title: Re: Ad Revenue Sharing Mod
Post by: mghq on November 09, 2009, 08:50:35 PM
Quote from: elvira100 on November 09, 2009, 01:22:45 AM
I have installed this mod on my forum and everything works except inside the members profile panel  where the users can access the ad revenue sharing template loads on error this is the message I get (Unable to load the 'adrevenuesharing' template). I dont know to get this fixxed. we are running smf 1.1.10
if you can help with is let me know

thanks
Ok will look into. You mind to tell me where your forum is at also
Title: Re: Ad Revenue Sharing Mod
Post by: wilkins on November 27, 2009, 10:08:00 AM
Hello.

I installed sucessfully, but none of the ads are not showing anywhere on the screen?  I only have an adsense account and put my pub id in the backend.  Not sure what is going on here, any help?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on November 27, 2009, 12:31:42 PM
Quote from: wilkins on November 27, 2009, 10:08:00 AM
Hello.

I installed sucessfully, but none of the ads are not showing anywhere on the screen?  I only have an adsense account and put my pub id in the backend.  Not sure what is going on here, any help?
Because you cant see your own ads. If you are the only person with it then you cant see your ads. You also have to choose where you want your ads in the admin area
Title: Re: Ad Revenue Sharing Mod
Post by: char39 on December 04, 2009, 10:49:28 AM
I am excited I found this mod.  I am in the process of finding someone to install it and look forward to using it.

I noticed in the modifications area that it says directions coming soon?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 04, 2009, 08:55:15 PM
Quote from: katers on December 04, 2009, 10:49:28 AM
I am excited I found this mod.  I am in the process of finding someone to install it and look forward to using it.

I noticed in the modifications area that it says directions coming soon?
Hmm, for which one.
Title: Re: Ad Revenue Sharing Mod
Post by: char39 on December 06, 2009, 05:15:57 PM
This http://custom.simplemachines.org/mods/index.php?mod=1798
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 06, 2009, 06:49:55 PM
Quote from: katers on December 06, 2009, 05:15:57 PM
This http://custom.simplemachines.org/mods/index.php?mod=1798
It works for the 1.1.x series
Title: Re: Ad Revenue Sharing Mod
Post by: kapaionutz on December 07, 2009, 05:24:42 AM
it`s not working on smf 2.0  :'(

1.  Execută codul  install.php 
* 2. Execută modificarea ./index.php Testul a eşuat
1. Adaugă înainte de ./index.php Testul a eşuat
2. Adaugă înainte de ./index.php Testul a reuşit
3. Adaugă înainte de ./index.php Testul a reuşit
* 3. Execută modificarea ./Themes/default/Display.template.php Testul a eşuat
1. Adaugă după ./Themes/default/Display.template.php Testul a eşuat
2. Adaugă înainte de ./Themes/default/Display.template.php Testul a eşuat
* 4. Execută modificarea ./Themes/default/index.template.php Testul a eşuat
1. Adaugă înainte de ./Themes/default/index.template.php Testul a reuşit
2. Înlocuieşte ./Themes/default/index.template.php Testul a eşuat
3. Adaugă după ./Themes/default/index.template.php Testul a eşuat
4. Adaugă înainte de ./Themes/default/index.template.php Testul a eşuat
* 5. Execută modificarea ./Themes/default/BoardIndex.template.php Testul a eşuat
1. Adaugă după ./Themes/default/BoardIndex.template.php Testul a eşuat
* 6. Execută modificarea ./Themes/default/MessageIndex.template.php Testul a eşuat
1. Adaugă înainte de ./Themes/default/MessageIndex.template.php Testul a eşuat
* 7. Execută modificarea ./Themes/default/PersonalMessage.template.php Testul a eşuat
1. Adaugă după ./Themes/default/PersonalMessage.template.php Testul a eşuat
2. Adaugă înainte de ./Themes/default/PersonalMessage.template.php Testul a reuşit
* 8. Execută modificarea ./Themes/default/Profile.template.php Testul a eşuat
1. Adaugă după ./Themes/default/Profile.template.php Testul a eşuat
2. Adaugă înainte de ./Themes/default/Profile.template.php Testul a reuşit
* 9. Execută modificarea ./Themes/default/Help.template.php Testul a reuşit
1. Adaugă după ./Themes/default/Help.template.php Testul a reuşit
* 10. Execută modificarea ./Sources/Subs.php Testul a eşuat
1. Adaugă înainte de ./Sources/Subs.php Testul a eşuat
* 11. Execută modificarea ./Sources/Post.php Testul a reuşit
1. Adaugă înainte de ./Sources/Post.php Testul a reuşit
* 12. Execută modificarea ./Sources/Profile.php Testul a eşuat
1. Adaugă înainte de ./Sources/Profile.php Testul a eşuat
2. Adaugă înainte de ./Sources/Profile.php Testul a eşuat
3. Adaugă înainte de ./Sources/Profile.php Testul a eşuat
4. Adaugă după ./Sources/Profile.php Testul a reuşit
* 13. Execută modificarea ./Sources/Display.php Testul a reuşit
1. Adaugă înainte de ./Sources/Display.php Testul a reuşit
* 14. Execută modificarea ./Sources/Help.php Testul a eşuat
1. Adaugă înainte de ./Sources/Help.php Testul a eşuat
* 15. Execută modificarea ./Themes/default/languages/Admin.english.php Testul a reuşit
1. Adaugă înainte de ./Themes/default/languages/Admin.english.php Testul a reuşit
* 16. Execută modificarea ./Themes/default/languages/Modifications.english.php Testul a reuşit
1. Adaugă după ./Themes/default/languages/Modifications.english.php Testul a reuşit
* 17. Execută modificarea ./Themes/default/languages/Profile.english.php Testul a reuşit
1. Adaugă după ./Themes/default/languages/Profile.english.php Testul a reuşit
* 18. Execută modificarea ./Themes/default/languages/Manual.english.php Testul a reuşit

Testul a reuşit = Passed
Testul a eşuat = Failed

any help ? O:)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 07, 2009, 07:22:16 AM
Has not been made for smf 2.0 yet
Title: Re: Ad Revenue Sharing Mod
Post by: kapaionutz on December 07, 2009, 07:33:08 AM
"Compatibility
For SMF 1.1.X (1.1.2 through 1.1.10 )
It will not work for ANY earlier versions.
Working on SMF 2.0"  :(

when it will work on smf 2.0?
i can pay you....
do i have any other alternative? (another mod)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 07, 2009, 07:38:06 AM
Quote from: kapaionutz on December 07, 2009, 07:33:08 AM
"Compatibility
For SMF 1.1.X (1.1.2 through 1.1.10 )
It will not work for ANY earlier versions.
Working on SMF 2.0"  :(

when it will work on smf 2.0?
i can pay you....
do i have any other alternative? (another mod)
It should work on earlier versions, i just tested on those versions. I am working on SMF 2.0. Donations are greatly appreciated.
Title: Re: Ad Revenue Sharing Mod
Post by: kapaionutz on December 07, 2009, 07:40:06 AM
is there any way cu securely downgrade from 2.0 to 1.1.11 ?

Thanks so much for heling me!'I will try to donate! (with a Visa card...)

when i click on "donate" link it gets me to yourgaminghubs.com
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 07, 2009, 07:42:49 AM
Quote from: kapaionutz on December 07, 2009, 07:40:06 AM
is there any way cu securely downgrade from 2.0 to 1.1.11 ?

Thanks so much for heling me!'I will try to donate! (with a Visa card...)
Make a mysql backup of your databases, install 1.1.11, import your mysql database.
Be sure to keep your database
Title: Re: Ad Revenue Sharing Mod
Post by: kapaionutz on December 07, 2009, 07:52:57 AM
L.e.
it works :)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 07, 2009, 05:28:23 PM
Quote from: kapaionutz on December 07, 2009, 07:52:57 AM
L.e.
it works :)
Congrats
Title: Re: Ad Revenue Sharing Mod
Post by: kapaionutz on December 09, 2009, 11:17:21 AM
Sorry for bothering you again, but how can i put image Ads?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on December 09, 2009, 04:51:35 PM
Quote from: kapaionutz on December 09, 2009, 11:17:21 AM
Sorry for bothering you again, but how can i put image Ads?
Image ads are there when adsense wants it to be an images instead of text
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on December 22, 2009, 12:36:10 PM
Quote from: mghq on December 07, 2009, 07:38:06 AM
Quote from: kapaionutz on December 07, 2009, 07:33:08 AM
"Compatibility
For SMF 1.1.X (1.1.2 through 1.1.10 )
It will not work for ANY earlier versions.
Working on SMF 2.0"  :(

when it will work on smf 2.0?
i can pay you....
do i have any other alternative? (another mod)
It should work on earlier versions, i just tested on those versions. I am working on SMF 2.0. Donations are greatly appreciated.


great to heard that its on the way to 2.0 thanks
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on December 23, 2009, 08:53:35 AM
FEATURES REQUEST

please add following features in your release for RC2

1) Add ability to show ads on Gallery mod.

2) Add ability to display ads with Aeva mod, so that when ever anyone post video url it will show Banner Ads under it.

3) Add ability to show ads from both services Google & Yahoo, If users are registered on both then they can be able to add ids for both, & if they add id for anyone of the service even then display both ads with admin pub id

hope you understand that

4) Give best location for ads in post for best results

thankyou! If you have Alertpay then do add its donation link
Title: Re: Ad Revenue Sharing Mod
Post by: morecambe on January 04, 2010, 09:28:20 PM
Any news on the SMF 2 version? Would love to get this going even if it meant fudging the old version to work - do you think that's possible?

Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on January 14, 2010, 05:59:33 AM
please some one atleast make the current version compact-able with v2.0 RC2
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on January 15, 2010, 06:03:52 PM
Woo hoo, can anyone say 90% complete for SMF 2.0. When the release for SMF 2.0 is done it may or may not have a couple of glitches which will be fixed in a later version. There have been no additions to it yet. I have started a live website so i can test. Current things i am working on is the profile and admin area. Currently i have not got the admin area displaying the link and i am working on adding the option for users to ad there adsense id's

Live forum for discussion is
http://arsdev.gaminghubs.com
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on January 22, 2010, 04:42:57 AM
hey great to hear that man

thanks
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on January 23, 2010, 02:06:05 PM
thanks for the update! ars for smf 2.0 is coming.. =)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on January 24, 2010, 07:29:02 PM
Yea, just got to weed out some kinks in the system.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on February 01, 2010, 08:31:45 PM
UPDATE:
We are almost done with the system. All we have to do is fix the user profile and then yall can use it.
Title: Re: Ad Revenue Sharing Mod
Post by: anakmacan on February 02, 2010, 09:49:58 PM
Yeahhhhhh, im so glad to hear that :D
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on February 02, 2010, 09:59:08 PM
Yea, i actually have a screenshot somewhere on my computer to upload of the admin panel. The user profile field on my dev forum is a little messed up because i like making the mod on a live server
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on February 03, 2010, 01:34:08 AM
Here is the screenie as promised.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Farsdev.gaminghubs.com%2Fwoot.png&hash=b33f823a5ed799de400bd75a36341a326a2b7165)
Title: Re: Ad Revenue Sharing Mod
Post by: anakmacan on February 03, 2010, 07:47:22 PM
Wow!! ill definitely donate if you have paypal account.
there should be another option for adsense inside post like this though :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg97.imageshack.us%2Fimg97%2F1%2Fadsl.gif&hash=f35b21887bb8f733a01fd04a2e4cab244fcb8922)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on February 03, 2010, 10:06:03 PM
Quote from: anakmacan on February 03, 2010, 07:47:22 PM
Wow!! ill definitely donate if you have paypal account.
there should be another option for adsense inside post like this though :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg97.imageshack.us%2Fimg97%2F1%2Fadsl.gif&hash=f35b21887bb8f733a01fd04a2e4cab244fcb8922)
Hey that is a great idea for an ad place. However i will not release that position in the upcoming 2.0 release as i want to get it out to yall 2.0 users. If you wish to donate you can do so to my paypal at [email protected]
The last thing i will be working on is going to happen starting friday night. It is the user profile page so they can add there paypal account
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on February 05, 2010, 05:13:58 AM
great man, when you are going to release I am soo Excited,

& adsense crushes my excitement by banning me adsense

I am in search of any other platform like adsense NOT like adbrite
Title: Re: Ad Revenue Sharing Mod
Post by: rjckE on February 17, 2010, 11:47:50 PM
Excelent mod! i am waiting for 2.0 :D
Title: Re: Ad Revenue Sharing Mod
Post by: anakmacan on February 22, 2010, 03:20:42 AM
I hope so too, i have downloaded it but it installation was failed on smf 2RC2
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on February 22, 2010, 09:55:44 AM
any update for 2.0?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on March 20, 2010, 02:31:29 PM
Well, i am still working on it. I lost all my modifications when windows crashed, and now i am without a computer to work with so yea.
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on April 20, 2010, 02:09:18 PM
c'mon guys someone donate a PC to him ;)
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 20, 2010, 07:24:53 PM
Quote from: darubillah on April 20, 2010, 02:09:18 PM
c'mon guys someone donate a PC to him ;)
Dont need a pc, i still have a computer, however it is ubuntu. I am still working on it, still trying to find the changes i made. Donations are accepted
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on April 21, 2010, 06:15:58 AM
please do create an alertpay account paypal dont work in ma country
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 21, 2010, 06:08:10 PM
I got an alertpay account now, my email is [email protected]

Thanks anyone for donations
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on April 23, 2010, 05:27:18 AM
donated!!!!!
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 26, 2010, 07:40:39 PM
Thank you for your donation, i am still working on it
Title: Re: Ad Revenue Sharing Mod
Post by: SAFAD on May 12, 2010, 06:48:02 AM
Won't this work with SMF 2 ?
Title: Re: Ad Revenue Sharing Mod
Post by: darubillah on May 13, 2010, 01:22:42 PM
nop it wont work, need time I think
I M also waiting so long, Hope will get better as thought
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on June 06, 2010, 09:36:35 AM
any update for SMF 2 version?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on June 22, 2010, 09:15:25 PM
Yes, sorry for this. School finals have been kicking my butt. I am now back on this. Here is the Announcement made on the forum. http://arsdev.gaminghubs.com/index.php?topic=4.0

Once i actually finish the mod, i will upgrade the forum and see if there is any conflicting issues, then from there i will add a support board and make a different url for the board. Please feel free to go ahead and sign up on the forum. I may send periodic announcements from it.

Once again,
I am very sorry for the delay. It has been school work on school work.
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on June 22, 2010, 11:50:41 PM
All i want now is encouragement from people's who want it. That would be to have the forum registrations gain. I just want it that way so i can get the feel of how many need/want to have this
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on June 24, 2010, 05:59:33 PM
I got a new domain for it.

http://arsdev.pro.mk
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on June 25, 2010, 02:17:35 PM
Sorry guys, i linked to the long place, it is
http://arsdev.pro.mk
Title: Re: Ad Revenue Sharing Mod
Post by: scenerip2k on June 25, 2010, 09:25:08 PM
waiting for RC3 version
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on June 25, 2010, 11:09:27 PM
Quote from: scenerip2k on June 25, 2010, 09:25:08 PM
waiting for RC3 version
Be sure to register on the forum as I will make the public announcement there and possible release it to a couple people before i release to public
Title: Re: Ad Revenue Sharing Mod
Post by: minuway on September 19, 2010, 01:53:00 AM
I really need this mod for my 2.0 rc3
Title: Re: Ad Revenue Sharing Mod
Post by: jbman223 on October 03, 2010, 05:43:10 PM
Fatal error: Cannot redeclare adrevenuesharing() (previously declared in /home/content/j/o/e/joebuckh/html/Sources/Profile.php:106) in /home/content/j/o/e/joebuckh/html/Sources/Profile.php on line 622

Help?
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on October 04, 2010, 11:55:39 PM
Quote from: jbman223 on October 03, 2010, 05:43:10 PM
Fatal error: Cannot redeclare adrevenuesharing() (previously declared in /home/content/j/o/e/joebuckh/html/Sources/Profile.php:106) in /home/content/j/o/e/joebuckh/html/Sources/Profile.php on line 622

Help?
I need your code
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on November 16, 2010, 10:46:35 PM
UPDATE:

The reason no progress has been made is because school as started again. Rest assured that over Christmas break I will begin work on this project again and with enough determination have it finished before school let's back in
Title: Re: Ad Revenue Sharing Mod
Post by: panicattack on November 26, 2010, 06:43:29 PM
Has anybody experienced this problem:

1.1.12 - I add the AdSense ID in the admin section and click the save button.  The page refreshes and the ID is gone. 

Does anybody have any idea what is happening?

Thanks!
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on November 27, 2010, 11:02:27 PM
Quote from: panicattack on November 26, 2010, 06:43:29 PM
Has anybody experienced this problem:

1.1.12 - I add the AdSense ID in the admin section and click the save button.  The page refreshes and the ID is gone. 

Does anybody have any idea what is happening?

Thanks!
I actually havent tested the latest 1.1.x version been busy with school work. I will get to it shortly
Title: Re: Ad Revenue Sharing Mod
Post by: impreza on January 03, 2011, 01:11:40 AM
Sounds interesting I have to try it
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on April 19, 2011, 03:11:15 PM
Well guys sorry for new here recently school and life has been hectic and dont think i forgot you. I just lost my host because i was no longer able to afford the hosting and is trying to rebuild what i did have done for the mod. The major development of this mod will rebegin after May 27th. However if there is any bugs with the release for the 1.1.x build i will release patches. Those are the easy ones to fix. I will keep yall up to date and try to get a new host
Title: Re: Ad Revenue Sharing Mod
Post by: varn3y on April 20, 2011, 04:53:23 AM
Hi

!!
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
**************************************************
AD REVENUE SHARING MOD V1.5
**************************************************
Installation Notes:
+++++++++++++++++++

Ad Revenue Sharing modification v1.5 by Mega Gaming Hq

Tested & Works for any 1.1.X install and Installs on the DEFAULT skin only.

This is a brand new mod with extensive coding. All features have been extensively tested to the point where I am confident enough to install on my own forum. If any bugs are discovered, I'll try to release fixed versions asap.

Enjoy!

Warning: You should NOT use this mod if you have the Ad Management Mod by Jerm installed, any other advertisement mod or if you have manually inserted adverts into your pages.

FIX: 1.2
All install problems seem to work now

FIX: 1.1
Fixed bug not saving Users Adsense Channels

FIX: 1.0
Due to TextLinkAds poor decision to change their referer links to tinyurl ones. I've had to fix it up.
Fixed allowing of ca-pub adsense ids.
No other fixes. V2.0 is in progress and on the way.

Install Actions
Installations actions for "Ad Revenue Sharing":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/index.template.php    Test failed
5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
6.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
7.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
8.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
9.    Execute Modification    ./Themes/default/Help.template.php    Test successful
10.    Execute Modification    ./Sources/Subs.php    Test successful
11.    Execute Modification    ./Sources/Post.php    Test successful
12.    Execute Modification    ./Sources/Profile.php    Test successful
13.    Execute Modification    ./Sources/Display.php    Test successful
14.    Execute Modification    ./Sources/Help.php    Test successful
15.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
16.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
17.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
18.    Execute Modification    ./Themes/default/languages/Manual.english.php    Test successful
19.    Extract File    ./Sources/ArsAds.php    
20.    Extract File    ./Sources/ArsTla.php    
21.    Extract File    ./Sources/ManageArs.php    
22.    Extract File    ./Themes/default/ManageArs.template.php    
23.    Extract File    ./Themes/default/languages/ManageArs.english.php


I have no other mods installed on this forum so please advise me as to what it could be, thanks
Title: Re: Ad Revenue Sharing Mod
Post by: mghq on May 30, 2011, 08:03:33 PM
Could you please upload the index.template.php to this thread so I can look into it.
Title: Re: Ad Revenue Sharing Mod
Post by: laudia on August 10, 2011, 01:43:44 PM
I apologize for my bad English I hope you understand me.

This is a really nice mod, and I understand that to improve it we need a lot of work is a long time, but since a long time, is that users look forward to a new version you may authorize other developers to edit files. I noticed that some developers would be willing to do the work but not having the permission from the owner of the mod cannot do anything. Sharing with other development work would become more easy and fast.

Passing to other would be nice to put these functions:
- not to risk being banned you could insert the sections or categories where not to display ads and then talk about everything without problems.
- In addition to various adsense and similar that are based on the banners there are networks that rely on "ToolTip" which is a form of implementation, that inserts advertising directly on the text in the affiliate site. It would be nice to integrate this type bi listings in revenue sharing system next to banners, can be inserted along with the banner system on the same page. There are many networks that may be useful as heyos.com, edintorni.net, juiceadv.com and many others but these are the most reliable.

I hope I have given of helpful hints, do you think these are achievable.
Title: Re: Ad Revenue Sharing Mod
Post by: technica on March 28, 2012, 12:15:39 PM
Is anybody working on this?

I have installed this MOD on SMF 1.1.16 version and working well. The only thing is bugging me is that, the ads are displayed on he threads for a member even if he has replied to that post and not the owner of the thread.

What I mean is, if the user has started the thread then only the ads referring to his adsense ID should be displayed for that thread and not when the user has replied to the thread.


Anybody can help me?
Title: Re: Ad Revenue Sharing Mod
Post by: nend on July 11, 2012, 12:29:57 PM
I have something similar running on a 2.0.2 site of mine. Didn't know someone created a mod, although for earlier SMF versions. The site is in my signature, all I did was added some custom profile fields and set them to not visible. From there I made a set of rules in the display.template.php to show the ads.

if (isset($rec['member']['options']['cust_revsha']) && $rec['member']['options']['cust_revsha'] != '' && isset($rec['member']['options']['cust_publis']) && isset($rec['member']['options']['cust_revpos']) && $rec['member']['options']['cust_revpos'] != '') {
if($rec['member']['options']['cust_revsha'] == 'Google AdSense')
$rev_ad = '
<script type="text/javascript"><!--
google_ad_client = "'.$rec['member']['options']['cust_publis'].'";
google_ad_width = 300;
google_ad_height = 250;
//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>';
if($rec['member']['options']['cust_revsha'] == 'AdBrite')
$rev_ad = '
<script src="http://ads.adbrite.com/mb/text_group.php?sid='.$rec['member']['options']['cust_publis'].'&ifr=1&ref=http%3A%2F%2Fwrestletopia.2-si.new%2F" type="text/javascript"></script>';

if (strstr($rec['body'], '[revshare]'))
$rec['member']['options']['cust_revpos'] = 'BBC';
if ($rec['member']['options']['cust_revpos'] == 'Top Left' || $rec['member']['options']['cust_revpos'] == 'Bottom Left')
$rev_out = '<div style="margin:2px;float:left">'.$rev_ad.'</div>';
else if ($rec['member']['options']['cust_revpos'] == 'Top Right' || $rec['member']['options']['cust_revpos'] == 'Bottom Right')
$rev_out = '<div style="margin:2px;float:right">'.$rev_ad.'</div>';
else
$rev_out = '<div style="margin:2px">'.$rev_ad.'</div>';

if ($rec['member']['options']['cust_revpos'] == 'BBC')
$rec['body'] = str_replace('[revshare]', $rev_out, $rec['body']);
else if ($rec['member']['options']['cust_revpos'] == 'Top' || $rec['member']['options']['cust_revpos'] == 'Top Left' || $rec['member']['options']['cust_revpos'] == 'Top Right')
$rec['body'] = $rev_out.$rec['body'];
else if ($rec['member']['options']['cust_revpos'] == 'Bottom' || $rec['member']['options']['cust_revpos'] == 'Bottom Left' || $rec['member']['options']['cust_revpos'] == 'Bottom Right')
$rec['body'] = $rec['body'].$rev_out;
}


If the dev needs the code of mine I will be happy to share the rest, however there isn't any more thinking about it besides what I posted above since it works off the custom profile fields.
Title: Re: Ad Revenue Sharing Mod
Post by: isl30fvi3w on August 12, 2012, 02:24:58 PM
This mod was made possible for the older version of SMF, why can't it be made available for SMF 2? Does this mean the older version of SMF is easier for the development of this mod?