This topic is locked

Multiple Subscription Levels

10/8/2010 6:21:14 PM
Members Template General Questions
C
crhys author

Hi Guys / Girls,
I have a PHPRunner site (almost) online that uses this Members Template and I would love to add additional subscription levels later in the year.
Is there a way to add two payment levels and if a customer pays the higher tariff their security group (User Group Permissions) changes to something like SuperUser or SuperManager, and this Super account will basically give them greater use of the software (eg. Export, Print etc. etc.).
Just thought this could be a handy addition.
Thanks
Rhys

J
Jane 10/22/2010

Hi,
yes it's possible.

Create new security groups on theUser group permissions dialog on the Securitytab and assign required permissions.

To update users table and assign user to Supermanagergroup edit generated ipn.php file. Find and edit this code:

$sql = "update memusers set Paypal=1, Beginpay='".$bpay."', Endpay='".$epay."' where ID=".$_POST["item_number"];

db_exec($sql,$conn);