Server Requirements
1.PHP4 or Higher
2.MYSQL
3.htaccess enabled web Hosting
Create Your Database
Open MySQL Using cPanel
at your hosting account control panel, start by clicking the MySQL Databases Icon..
Once Inside
STEP 1 Create an empty MySQL database on your server use any name you wish
STEP 2 Create a new username and password
for MYSQL Database.
STEP 3 Assign this user to database you created in step 1
Prepare
& upload your files
STEP 1 Edit your system
emails
Message emailed to a user when their Paypal payment is confirmed.
msm/templates/welcome.tpl
Message mailed to your users when they
click the forgot password link.
msm/templates/send_pw_mail_msg.tpl
STEP 2. Create a new
empty folder on your web server called msm
STEP
3.
Upload all of the files included
in the msm folder into the new
msm folder on your server you
just created.
Upload the using an FTP software, if you do not have one try the 30 day free demo at www.WSFTP.com
or
www.CuteFTP.com.
You must keep the directory structure the same as it is now in the msm folder. Once uploaded it,
all files and folders will still intact to each other.
Set
File Permissions (CHMOD)
The following files and directories need to be writable by the web server.
Specifically
CHMOD These folders to 777
install
install/templates_c
lib
members
manager
manager/templates_c
templates_c
Then also
CHMOD
theses files below to 777
lib/config.php
members/.htaccess
members/.htpasswd
manager/.htaccess
manager/.htpasswd
To set CHMOD permissions of these folders in your FTP software right click with your mouse on the folder you wish to change
select "properties" at the very bottom of the box that will open.
Now enter the required number in the number box or check all squares
Go To
Install Page
Now open a web browser and go to
http://yourdomain.com/msm/install/index.php
Most of the stuff will be pre-filled in for you, however you will need to
add your MYSQL Database name, the DB user and pass that you
created earlier on.
Step 1.
Site Info should usually be
filled in by the setup script for you, you may want to
choose another email address though as by default it is
webmaster@yourdomain.com
Step2.
Database
Enter your DB name, DB user and
password as you set up in the steps above before you
uploaded your files.
Then check the "Create Tables" box to have your database populated.
Step 3.
Set your paypal email address, the
return url should be pre filled in for you as http://www.yourdomain.com/msm/thanks.html
This
is a page you will want to edit in an html editor
with your thank you message and a link to your login url
which will be http://www.yourdomain.com/msm/members
Step 4.
Set your membership prices and terms if there is a trial period
select proper check boxes.
Then set regular membership terms on bottom in
this next step
Step 5. If you would like to have all new members entered
into an autoresponder, enter that autoresponder email
address in last step and check the box. If you need an autoresponder we
recommend
http://proceed.aweber.com
or
http://www.GetResponse.com
with this system
Finish
install Click Save and your setup will be created!
********************************************************
URLs You Need To Use The Paypal Member Script:
1.
(installation process)
http://www.yourdomain.com/msm/install/index.php
For security purposes, you should either password protect
this directory in cPanel, or delete it after your install.
You may
reinstall this install directory in the future by copying
it from the original archive back into your msm folder later to
make any changes to the system that you wish.
2, (member signup) Place a link on your
sales page to this url so your customers can signup-
http://www.yourdomain.com/msm/registration/index.php
3. Allows a member to
change the registration information, you may want to
place a link to this in your members area for your
members to be able to edit their information.
http://www.yourdomain.com/msm/registration/index.php/registration/index.php?action=edit
4. Form for member to
request their password be sent to them via email,
add this to your login page for users that have lost
their pasword.
http://www.yourdomain.com/msm/registration/index.php?action=sendpw
5. Membership manager - This directory needs to be protected
this is only for your access to manage the members
manually.
- Default username on install is
user= admin
pass- admin1234
http://www.yourdomain.com/msm/manager/index.php
You will find a
link to change your admin password in the managers area.
6. The protected members directory that only current
subscribers to your site may visit
You will upload your member content here!
Build it just like a website and load it into this folder,
only members will be able to access it.
http://www.yourdomain.com/msm/members/
Add a link to
this location on your site home page to allow users to
login to this area.
7. File called if the user cancels the Paypal process,
a great place to add other offers!
http://www.yourdomain.com/msm/cancel.html
8. File called after a successful payment
- add a thank you page and a place for your members to login to
your members area.
http://www.yourdomain.com/msm/thanks.html
9. Header called in almost every file.
Add any images or content you want here to show up on all pages of
the script such as the signup page..
http://www.yourdomain.com/msm/templates/head.html
10. Footer called in almost
every file,http://www.yourdomain.com/msm/templates/foot.html
11. Message emailed to a user when they forget their password.
You may use any of the
"USER TAGS" below in this email to personalize it.
http://www.yourdomain.com/msm/templates/send_pw_mail_msg.tpl
12. Message emailed to a user when their Paypal payment is confirmed.
Edit this and again feel free to use the user tags below
to personalize it.http://www.yourdomain.com/msm/templates/welcome.tpl
You may use any of the "USER TAGS" below in this email.
Almost all of the .tpl files may be customized with no effect
to the application.
The .php files should not be modified unless you know what you are doing.
The .tpl files are Smarty template files.
For more information on using Smarty functions and tags,
please visit: http://smarty.php.net/
USER TAGS
-----------
You may use these smarty tags in some of the template files which will be replaced by the associated values.
{$user->user_id}
{$user->user_firstname}
{$user->user_lastname}
{$user->user_email}
{$user->user_password}
{$user->user_telephone}
{$user->user_fax}
{$user->user_address}
{$user->user_address2}
{$user->user_city}
{$user->user_state}
{$user->user_country}
{$user->user_postcode}
{$user->user_created}
- Unix Timestamp (can be made into human rqdable value using Smarty's date_format tag)
{$user->user_status}
- A numerical value 1=Registered 2=Paypal Signup 3=Paypal Cancelled 4=Paypal Failed 5=Paypal Paid 6=Paypal End of Term
********************************************************
If you wish to use paypal's IPN system then set your passback url at paypal as
- http://www.yourdomain.com/msm/paypal/ipn.php
Advanced users may install this script in the server root
by not uploading the whole msm folder in one shot but
instead uploading just the files in the msm folder into
the root or any other directory you wish.
Important
Note-
This script is not
an instant membership site- this is just the gate keeper
that accepts the payments
for your content that you place in the "members" folder,
and automatically sets up the member accounts.
It will allow your members to sign
up, it will then ask them to make payment through PayPal.
The system will then activate their account and send
them login information.
Should their account ever go behind
in payment it will deactivate their user status, you can
also change this in the manager area as well.
You will need to build your home
page that sells your member site, and then add your
signup link to that home page order link which will be
http://www.yourdomain.com/msm/registration/index.php
You will also
need to add a link to allow your members to login to
your members area content that you have placed into the "members" folder. Give them access to this by adding the
members login link to your home page which will be
http://www.yourdomain.com/msm/members/
Again this script
is just the gate keeper, you need to build out your
member site and user the links given above in the "URLs You Need To Use The Paypal Member Script:"
section to customize your site and integrate your site
with this member manager script."
|