News:

Wondering if this will always be free?  See why free is better.

Main Menu

Paid Subscriptions

Started by Grudge, August 12, 2006, 06:09:49 AM

Previous topic - Next topic

madfiddler

the paid subs link in admin.

Grudge

I've just updated the mod, but really to make it work with the Development Edition. I did however find a bug which meant the mod was not keeping a members primary group when they took up a subscription. By this I mean if I'm an administrator and take a subscription it didn't add "Administrator" to the additional groups so I lost that power. I've fixed this.

I think I've also updated it such that the problem Madfiddler got should never happen again.

I haven't had time to look at the other bits at the moment I'm afraid.
I'm only a half geek really...

madfiddler


Gargoyle

So is this good to go for 1.1.1 now then ??

I am sorry I was using this on RC3 and am wondering it's progress at this point.

Thanks!!

bri

#324
Quote from: Grudge on December 29, 2006, 07:28:38 AM
I've just updated the mod, but really to make it work with the Development Edition. I did however find a bug which meant the mod was not keeping a members primary group when they took up a subscription. By this I mean if I'm an administrator and take a subscription it didn't add "Administrator" to the additional groups so I lost that power. I've fixed this.

I think I've also updated it such that the problem Madfiddler got should never happen again.

I haven't had time to look at the other bits at the moment I'm afraid.

Doh! Recurring still not working, thanks for looking at this again Grudge!

Bri
<*)))><

hbixler03

Ok I've gotten an error from my forums.  It was sent to my email address and this is what it said:

An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not recover member ID



Does anyone know why it gave me this error?  Any suggestions on what I need to do about this error to make sure it doesn't do it again?  Thanks for any help!
God Bless,
Heather
My Forums [nofollow]

bri

<*)))><

madfiddler

Here's a feature request. The forum PM's members a week before their subscription date is up to remind them?

Cheers,

m

redbarradio

I just installed the latest paid subscriptions mod to my SMF 1.1.1 - it installed properly, I set it up using paypal - but where do users go to sign up for paid subscriptions? The only thing I found close to where sign up SHOULD be is: hxxp:redbarradio.com/forum/index.php?action=profile;u=1;sa=subscriptions [nonactive]

But it says " There are currently no paid subscriptions available!" - I made sure that my paid subscription was indeed active. I've spent hours double checking settings to make sure everything was activated.

Any ideas?

I have attached a screenshot of what it looks like when a user tries to view subscriptions.




bri

you have to set one up in the admin panel!
<*)))><

redbarradio

I DID!

Like I said, I set everything up.


szinski

Quote from: Grudge on August 12, 2006, 06:09:49 AM
Link to Mod
Note for paypal to work you need to setup your account to direct your IPN to this script. To do this login to paypal, click "Profile" and then select the "IPN" link from merchant tools. Enter the URL of your forum, and then the subs/ipn.php. For example:

http://www.simplemachines.org/community/subs/ipn.php

This is required for paypal to notify the forum that the payment was received.

The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:

Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">

immediatlely before the line:

Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />

You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.

Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.

qtime

It's asked before, but I really like to see an adult payment processor in the list, like ccbill.
I also want to pay for this work!!

gasman

I have one bug report (and fix suggestion) and 2 questions:

1. The mod should modify index.template.php to include paidsubscribe in the list of admin current_actions:
Quote
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'paidsubscribe', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';

This is just a cosmetic fix to keep the admin tab active in the menu when accessing the paid subscriptions option.

2. If I activate my Paypal IPN function for this subscription, what happens to my Paypal payments that come from non-forum sources (eg ebay sales). Does such a payment also get sent to the forum for verification, and does this cause problems? Would the following addition to the script avoid this problem by getting the forum to send the IPN link each time.

<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">

3. I noted that you fixed the mod so that by becoming a subscriber, your administrator status is retained. Does this also apply to moderators? Do moderators stay as moderators if they subscribe? Or do I need to adjust this manually for each moderator?

cheers
Rob

gasman

#334
This is a message for those who have read everything above and think this mod may be too full of bugs. It isn't, as far as I can tell.

I have installed this mod on SMF 1.1.1. Installation went smoothly and all seems to be working fine. I am using Paypal only. I have about 7 subscribers so far, 6 are active, set to renew monthly, dates are correct. One is pending while waiting for an echeck to clear. Reports are clear and accurate.

Great mod!

PS I have done a slight hack of index.template.php to make members' subscriptions a tab in the main menu and therefor more prominent and easy to access. See website in sig.

sawz

i have the latest version of paid subs along with SMF 1.1.1

everything seems to work except for this:

users are not added automatically and the expire date is some ongodly December 1969 date.
keep smiling, they'll always wonder what your up too.....

busterbones

Using 1.1.1 installed paid sub .16 getting an error

An Error Has Occurred!
Unable to load the 'main' template

I'm just a infant when it comes to forums. I could really use help getting up and running with this mod. Even suggestions of  programs to buy, that will allow me to charge fees for memberships on my site.

Thanks in advance

Jeremy
www.knifetalkonline.com

sawz

Quote from: busterbones on January 13, 2007, 07:44:43 PM
Using 1.1.1 installed paid sub .16 getting an error

An Error Has Occurred!
Unable to load the 'main' template
Jeremy
www.knifetalkonline.com
when you install a mod, additional files are added to certain folders. maybe ManagePage.template.php didn't make it. it should be in the Themes/default folder.
keep smiling, they'll always wonder what your up too.....

SRaven

#338
Quote from: madfiddler on January 01, 2007, 09:14:29 PM
Here's a feature request. The forum PM's members a week before their subscription date is up to remind them?

Cheers,

m

Nice one...I'll second that :D

Quote from: Blue Crab on January 05, 2007, 07:39:13 PM
The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:

Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">

immediatlely before the line:

Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />

You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.

Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.

Has anyone else tried this? Does it really work?

SRaven

#339
I have a problem. When I try to execute paidsubsdb.php to add the DB tables I get this:

Fatal error:
Call to undefined function: db_query() in /xxxx/xxxxx/xxxxx/xxxxxx/xxxxxxx/paidsubsdb.php on line 24

All the files are modified as they should be and the new files are where they should be also.

EDIT: ok, I fixed that error by adding
include_once("Sources/Subs.php");
include_once("Settings.php");

to the paidsubsdb.php file.
but now when I try executing it, I get a white page that says 'Hacking attempt...' ! can someone please help me get this file executed? :(

Advertisement: