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

Jewelzz

I have a stupid newbie question, in which folder does this mod get installed from/to?  And the most stupid of all ... how do I install it?  I've read over the 'install mods manually' but it's WAY over my head :(  Any help/suggestions would be appreciated.

Bigguy

Install through the "Package" manager in your admin panel.

Gosu Schwarz

Is anyone going to update this mod? I prefer to only use stable versions of mods.

Egg

working fine here

any way to make the subscriber input a postal address (to send membership cards to)

thanks
great mod!!
Egg

3mrhythm

i would like to use this .. but i have a webstore already on the same domain that i need the ipn directed at.. is there a way to  do it to two sites at once?
www.nhfragswap.com
www.yariscentral.com

SRaven

well, you could try this:
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.

3mrhythm

Quote from: SRaven on January 22, 2007, 05:13:39 PM
well, you could try this:
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.

what line is that located at i cant find it in my chose payment section
www.nhfragswap.com
www.yariscentral.com

3mrhythm

and do i do that after i have installed it?
www.nhfragswap.com
www.yariscentral.com

Jewelzz

Quote from: Bigguy on January 20, 2007, 08:03:53 PM
Install through the "Package" manager in your admin panel.
I've tried that, it doesn't seem to work.

gasman

I would also second the idea of sending out a reminder email (or PM) to those members whose subscriptions are about to expire.

And a feature request: when a member deletes his account, any subscription that member had gets canceled automatically.

cheers
Rob

drhamad

Quote from: MrCue on August 13, 2006, 04:38:39 PM
Why does it require the site owner to change their IPN.

You could instead use.


<input type="hidden" name="notify_url" value="http://yourdomain.com/path/to/your/ipn.php">


Which means the owner can use more than one IPN.

Would you consider making this change?



Was this change ever made, or do we still have to define the IPN?
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

3mrhythm

www.nhfragswap.com
www.yariscentral.com

drhamad

My only other question (besides the IPN one) is why 1 month is not 1 month ;)
1 month started January 30 @ 4:04 PM, ended March 2 at 2:33 AM.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Gargoyle

It's probably doing 30 days... Which is a month if you want to be technical..

I really don't think a mod like this is gonna count a calendar. But it will days.. ;D

drhamad

#354
Quote from: Gargoyle on January 31, 2007, 07:31:29 PM
It's probably doing 30 days... Which is a month if you want to be technical..

I really don't think a mod like this is gonna count a calendar. But it will days.. ;D

Why shouldn't it use a calendar?

Regardless, it starts at 4PM and ends at 2AM... even if it's 3 days, that's not right ;)
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

3mrhythm

okay i have the package installed everything works as it should except  that after they pay the status isnt updated from pending to active.  I put the ipn  url in the paypal return url spot and set it to active. .. any thoughts?

i know with my os commerce site i didnt need to use a url it did it automatically and it works great.

the adding the couple lines to the manage.template.php  has me confused i looked throught that whole php and didnt find the line that they are refereing to.  so i dont know where to add it.. if that seems to be my problem.. i cant figure it out .. for now as my member base is low its not too big of a problem.. but when the numbers increase im not going to want to manually process all the subscriptions...  
www.nhfragswap.com
www.yariscentral.com

digit

#356
Is this correct in paidsubs_v0.16.mod?




<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
$context['admin_areas']['members']['areas']['ban_members'] = '<a href="' . $scripturl . '?action=ban">' . $txt['ban_title'] . '</a>';
</search for>

<add before>
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
</add before>




shouldn't it read...  (it looks to me like   "if (allowedTo('manage_bans'))"   is missing)





<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban_members'] = '<a href="' . $scripturl . '?action=ban">' . $txt['ban_title'] . '</a>';
</search for>

<add before>
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
</add before>



Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

wk38

After the package is uploaded and I try to run the install it says I need to provide my ftp login. I do and it says it's incorrect when it is correct.

drhamad

Quote from: dklassen on February 07, 2007, 12:22:00 AM
After the package is uploaded and I try to run the install it says I need to provide my ftp login. I do and it says it's incorrect when it is correct.

Nothing to do with the mod... that's SMF itself... check your login info again.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

wk38

Hum.. I can login to SMF and I can login to my FTP client. Can't when the install asks me.

Advertisement: