News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Paid Subscriptions

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

Previous topic - Next topic

madfiddler

That sounds about right - so what do you mean
QuoteI need to figure out how to block access to the rest of the groups...
?

wm

When a member's sub expires, they should not have access to any of the Boards, until they renew.  Right now they only lose access to the Boards they get with their Primary Group.

sasmcpot

I really need a fix for this 1970 error. I cant launch my P2P forums until it is.

And yes, once I have made my first 2 months revenue I will be donating a significant sum of money as a thankyou for making it possible.

If anyone else has suggestions to this please go ahead. Ive got about 5 forums launched, so I can test it.

Grudge

Updated to v0.18 to fix a problem with renewing subscriptions.

I cannot duplicate the 1970 problem. Can you confirm that you defintely have the case of the subs folder setup right in PayPal? If so can you post an extract from your log_subscribed table?
I'm only a half geek really...

Mizkaa

Hi!

Thanks Grudge for this great mod! I have only on problem with it. My forum language is supposed to be Finnish, and when I set server language to Finnish from english, "Paid Subscriptions" disappears from the menu on the left. How can I get it to show up when language is set to Finnish?

SRaven

Did you edit the Finnish language file in the themes?

This should be in Modifications.finnish.php in your default theme language folder:
(Except, the english parts after the '=' translated to Finnish lol)
Quote// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';

$txt['paid_current'] = 'Existing Subscriptions';

// Some errors.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as 2co.com secret word is incorrect - please ensure you have the correct secret word and 2co.com ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';


Mizkaa

Thanks SRaven. Got it working! :)

webmistress

So far it's installed and I have made the changes in paypal.

If I click "enable paid subscriptions" and "enable test mode" it will not automatically apply this to all boards, correct? I assume it will apply it to a board only if I choose that board. Thanks.

webmistress

Anybody know anything about this? I wanted to work on this today.
But if it adds a subscription button to every board, then it would shake things up. Can this be applied to one board?  

SRaven

The subscription link for a user to pay for a subscription  is in the users profile page...

webmistress

Thanks I did see that. I'm in the process of trying to give it a test run. I'm not all that familiar with the sandbox but I guess I have to set up a test e-mail. So far so good.  

Stumpy

Quote from: Grudge on March 02, 2007, 05:03:07 AM
Updated to v0.18 to fix a problem with renewing subscriptions.

I cannot duplicate the 1970 problem. Can you confirm that you defintely have the case of the subs folder setup right in PayPal? If so can you post an extract from your log_subscribed table?

Hey, Grudge.

I'm still having the date problem and I've confirmed that the case of "subs" is correct everywhere.  I've been manually changing the end dates on all of the subscribers so far - I assume you want an extract for the log_subscribers with one that hasn't been manually corrected?

What issues does v0.18 address?

WebWorm

I thought I had already uninstalled .15 before I uploaded the .18 upgrade, but hadn't. So after uploading the .18 upgrade, I'd get the following message when trying to click on any type of "profile" link:

Quote
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/username/public_html/mydomain/Sources/Profile.php:2910) in /home/username/public_html/mydomain/Sources/Profile.php on line 3083

So I went in and first uninstalled, then deleted 1.8 and 1.5...but I still show Paid Subscriptions as fully functional in the Admin panel, and after putting in a test subscription, everything went through just fine.

So even though Paid Subscriptions does NOT show up as one of my installed packages, it is still there, and functioning (seemingly) fine. But if I try to re-install either 1.5 or 1.8, I get the same fatal error listed above.

I'm an idiot - can someone tell me how to fix the situation so I can show Paid Subscriptions as an installed package and not get the error?

Possibly relevant info with attempted .18 install:

Quote
Installing this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Sources/ManagePaid.php    
2.    Extract File    ./Themes/default/ManagePaid.template.php    
3.    Extract File    ./Themes/default/languages/ManagePaid.english.php    
4.    Extract File    ./subs/ipn.php    
5.    Extract File    ./subs/worldpay.php    
6.    Extract File    ./subs/paypal.php    
7.    Extract File    ./subs/nochex.php    
8.    Extract File    ./subs/2co.php    
9.    Extract File    ./subs/authorize.php    
10.    Execute Code    paidsubsdb.php    
11.    Execute Modification    ./index.php    Test successful
12.    Execute Modification    ./Sources/Subs.php    Test successful
13.    Execute Modification    ./Sources/Profile.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

tansu

Hello mates,
How can I change the Subscription for fixed price and period's Day/week/year value to post numbers.
For example I want the subscriptions to end after 1/2/3 post(s)

3mrhythm

if i uninstall version .15  will i lose all the current subscription information or will it be there again when i install version .18?

thanks!

www.nhfragswap.com
www.yariscentral.com

WebWorm

Quote from: WebWorm on March 10, 2007, 02:34:16 PM
I thought I had already uninstalled .15 before I uploaded the .18 upgrade, but hadn't. So after uploading the .18 upgrade, I'd get the following message when trying to click on any type of "profile" link:

Quote
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/username/public_html/mydomain/Sources/Profile.php:2910) in /home/username/public_html/mydomain/Sources/Profile.php on line 3083

So I went in and first uninstalled, then deleted 1.8 and 1.5...but I still show Paid Subscriptions as fully functional in the Admin panel, and after putting in a test subscription, everything went through just fine.

So even though Paid Subscriptions does NOT show up as one of my installed packages, it is still there, and functioning (seemingly) fine. But if I try to re-install either 1.5 or 1.8, I get the same fatal error listed above.

I'm an idiot - can someone tell me how to fix the situation so I can show Paid Subscriptions as an installed package and not get the error?

Possibly relevant info with attempted .18 install:

Quote
Installing this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Sources/ManagePaid.php    
2.    Extract File    ./Themes/default/ManagePaid.template.php    
3.    Extract File    ./Themes/default/languages/ManagePaid.english.php    
4.    Extract File    ./subs/ipn.php    
5.    Extract File    ./subs/worldpay.php    
6.    Extract File    ./subs/paypal.php    
7.    Extract File    ./subs/nochex.php    
8.    Extract File    ./subs/2co.php    
9.    Extract File    ./subs/authorize.php    
10.    Execute Code    paidsubsdb.php    
11.    Execute Modification    ./index.php    Test successful
12.    Execute Modification    ./Sources/Subs.php    Test successful
13.    Execute Modification    ./Sources/Profile.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

Bumpity for grudge? Anyone?

madfiddler

Quote from: 3mrhythm on March 17, 2007, 09:46:16 PM
if i uninstall version .15  will i lose all the current subscription information or will it be there again when i install version .18?


The subs details are kept in your forum database, so won't be lost when upgrading the mod.

m

edwardsiow

hi,

i would like to seek for help because when i apply this mod, the error below shown:

BLOB/TEXT column 'Cost' can't have a default value
File: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\smf\Packages\temp\paidsubsdb.php
Line: 40

anybody know why?

i am using apache 2.2.4, php5.2 and mysql 5.0...

thanks for helping..

Ryan

#438
Grudge can u add functionality to accept MOBILE payment service ONEBIP They cover most Networks in Europe and USA now it would be great to have this option in the paid subscriptions..
I am soo desperate for this one heh
The api is same as paypal n others
http://www.onebip.com/docs/OneBip_integration.pdf

This just gives greater option of ways to accept payments.

72dpi

hey Guys,
I must be going stupid here. I cannot see the paid Subscriptions tab.
I am running SMF 1.1.2 and paid Subscriptions 0.18 (latest)

can someone please point out if there is anything you need to do extra, as I just doenloaded, applied the mod, etc, but no menu items appear for this.

i really have to get this working, if I can't I am forced to look into VBulletin, which would suck.. I love this Forum.

Any pointers are really, REALLY appreciated,

Regards,

Advertisement: