Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: emery on January 18, 2012, 09:49:18 PM

Title: Paid Subscriptions
Post by: emery on January 18, 2012, 09:49:18 PM
I am not sure how this whole paid subscription thing works, what i need it to do is this

There is a yearly membership fee, which can be canceled at the end of the year, here are the costs


1. $80.00  Primary                   
2. $60.00  Secondary               
3. $20.00  Child (15 or younger)       
4. $40.00  Seniors (65 or older)                 
5. $30.00  Non-Riding Members
6. $60.00  Additional Snowmobiles
7. $10.00  Replacement


How would i make SMF do this, if possible?
Title: Re: Paid Subscriptions
Post by: Oldiesmann on January 18, 2012, 10:36:27 PM
Since there doesn't seem to be a guide here about setting up subscriptions, here's how you do it.

First enable the feature (Admin -> Configuration -> Core Features, click the switch image next to Paid Subscriptions so it turns green, then click "Save" at the bottom of the page).

Second, configure it:
Admin -> Members -> Paid Subscriptions -> Settings
Follow the instructions there to set up Paypal
Enter your Paypal email address there and click Save

From there, just set up and configure the subscriptions:
Admin -> Members -> Paid Subscriptions
Click "Add Subscription" and fill in all the details.

Repeat the process for each subscription.

The "Additional groups upon subscription" option lets you choose one or more additional groups to add the member to when they subscribe.

Users will be able to access the subscriptions from their profile (they can go to their profile then choose "Paid Subscriptions" from the "Actions" menu).
Title: Re: Paid Subscriptions
Post by: emery on January 19, 2012, 12:51:58 AM
Thanks  ;D
Title: Re: Paid Subscriptions
Post by: emery on January 20, 2012, 05:14:45 PM
is there a way i can make my own payment php page? like with ssi or something?
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 01:40:37 PM
i'm bumping this because nobodys helping me  :'(
Title: Re: Paid Subscriptions
Post by: Illori on January 22, 2012, 01:54:22 PM
maybe that is because no one knows the answer to this question beyond what was posted already.
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 03:35:42 PM
So your saying you don't know?
Title: Re: Paid Subscriptions
Post by: Illori on January 22, 2012, 03:41:16 PM
no i dont happen to know, i dont use this feature on my forum.
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 07:09:41 PM
hmmm
Title: Re: Paid Subscriptions
Post by: Arantor on January 22, 2012, 07:20:37 PM
What exactly are you hoping to put on this custom page and what's supposed to be on this custom page that isn't in the main subs area in the profile?
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 07:48:56 PM
Well, i won't be using the forum, i just want to use the "paid subsciptions" feature from it. Do you know of a better "free" way to do this?

I just wanted this page, index.php?action=profile;area=subscriptions;u=1

But without the forum stuff
Title: Re: Paid Subscriptions
Post by: Arantor on January 22, 2012, 07:52:48 PM
I don't entirely get why you want to put it on a separate page...?

Also define 'free'? Is it just a case of displaying the subscriptions available/held on a separate page or were you hoping to somehow rip out all the subscription stuff entirely and put it in a separate page? (Note, the latter is substantially more complicated and really not worth the effort)
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 08:34:20 PM
This is what i need, i mean "free" by the software to be free

Somewhere where my group can pay for there membership to the club, the club is open 6 months if the year, it is a snowmobiling club.

I am trying to auto mate things, that is what i need
Title: Re: Paid Subscriptions
Post by: Arantor on January 22, 2012, 08:52:41 PM
So, you want someone to extend SMF (which is free already) to put the paid subscription stuff on a separate page, which is a complicated task at best, and spend hours of their time, writing something as a one-off for you, for free.

I still don't see how any of these things (club being open 6 months of the year etc.) is relevant to putting the paid subscriptions on a separate page.
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 09:23:34 PM
i was just telling you what i am using it for, do you know of any other php scripts that i could use?
Title: Re: Paid Subscriptions
Post by: Arantor on January 22, 2012, 09:28:13 PM
So, are you trying to do paid subscriptions without a forum then?

I still do not understand what is wrong with the way SMF does it.
Title: Re: Paid Subscriptions
Post by: painterforum20 on January 22, 2012, 10:17:12 PM
Just get a paypal business account ( which is free) and get their "subscription" script button & service ( there is a small fee for the transactions). post the script on your webpage. Using SMF for this is really an insult to the developers here.
Title: Re: Paid Subscriptions
Post by: emery on January 22, 2012, 11:03:01 PM
I don't want to use paypal bussiness account. I thought it was a compliment because it was a good feature, i will just use the forum then i guess
Title: Re: Paid Subscriptions
Post by: Arantor on January 23, 2012, 03:14:16 AM
If you want to receive subscription payments, you HAVE to use that, because PayPal will not handle the transaction to your account otherwise, and no amount of code change will fix that.
Title: Re: Paid Subscriptions
Post by: emery on January 23, 2012, 09:00:40 PM
Well, i know that, i just dont want to use a paypall interface for selecting how much to pay
Title: Re: Paid Subscriptions
Post by: Arantor on January 23, 2012, 09:04:14 PM
SMF's doesn't.

Seriously, go look at the paid subscriptions thing that's built in, in the profile > actions on this site, to see how it looks.
Title: Re: Paid Subscriptions
Post by: emery on January 23, 2012, 09:40:07 PM
I KNOW IT DOESN'T -- I DONT WANT TO USE PAYPALS INTERFACE ... I ALREADY LOOKED AT SMF'S  ???
Title: Re: Paid Subscriptions
Post by: mashby on January 23, 2012, 09:43:55 PM
OK, so you don't want to use Paypal's interface and you've looked at SMF's interface. I read through the replies and if Oldiesmann's reply and Arantor's suggestions don't work for you, I'd suggest to find another solution that isn't paypal and isn't SMF. ZenCart comes to mind (although I have nothing to go on but free shopping cart software).
Title: Re: Paid Subscriptions
Post by: Texan78 on January 24, 2012, 01:53:47 AM
Quote from: emery on January 23, 2012, 09:40:07 PM
I KNOW IT DOESN'T -- I DONT WANT TO USE PAYPALS INTERFACE ... I ALREADY LOOKED AT SMF'S  ???

Ether way, whether you use SMF or not it still goes through Paypal. Unless you wanted to sign up and purchase a payment gateway which is going to end up charging you to use. I know you don't want to use Paypal but what others are saying is there is no way around it if you want a "free" payment solution because the SMF back-end still uses Paypal as the processor unless you get a payment gateway as I described earlier like authorize.net. I know it's not what you want to here but they are giving you their honest and truthful opinion.

Basically no matter what you use you only have two choices. Paypal or a payment gateway of your choice. You have to have something to process the transaction.
Title: Re: Paid Subscriptions
Post by: 51B0RG on February 04, 2012, 12:41:19 PM
if you just want to shorten the link you can create a html file that redirects to the correct page.

if you want an entirely different page then you would have to download a modification that allows you to create custom pages, like simple portal then setup a page manually using paypal buttons and custom images.

if you just want to redirect,

open notepad,
copy, paste whats below,
<title>Redirecting..</title>

<head>
<script type="text/javascript">

function cookieLoad( Cookie )
{
var i, x, y, Array = document.cookie.split(";");

for (i = 0; i < Array.length; i++)
{
x = Array[i].substr(0, Array[i].indexOf("="));
y = Array[i].substr(Array[i].indexOf("=") + 1);
x = x.replace(/^\s+|\s+$/g, "");
if (x == Cookie)
{
return unescape(y);
}
}
}

function Manu( Cookie )
{
{
window.open("/index.php?action=profile;area=subscriptions;u=1", "_self");
}
}


function cookieExists( )
{
var hasBeen = cookieLoad("hasBeen");
if (hasBeen != null && hasBeen != "")
{
loadForums();
}
else
{
window.open("/index.php?action=profile;area=subscriptions;u=1", "_self");
}
}

</script>
</head>
<body onload = "cookieExists()" style = "padding: 0px; margin: 0px; overflow: hidden;">

<p style = "text-align: center;"><br><br>Redirecting to Link<br><br><br>If this takes too long <a href="/index.php?action=profile;area=subscriptions;u=1">Click here</a> <br></p>

</body>

</html>


when saving, save it as
Quote"(NAME).html"
WITH QUOTATION MARKS!!