MMP 4.0 Install
MMP 4.0 Install
MMP 4.0 Install
VERSION 4.0
SEPTEMBER 1, 2016
MEMBERSHIP MANAGER PRO
INSTALLATION AND USER GUIDE
PRESENTED BY: WOJOSCRIPTS
WOJOSCRIPTS.COM
Wojoscripts.com
Thank you for your purchase! If you have any ques ons that you feel should have been in this
document, please log in using the account used to purchase the file and email via my user profile page
contact form there. Thanks!
For ques ons on basic HTML, JavaScript or CSS edi ng ‐ please give your ques on a quick Google or
visit W3Schools as theme issues get top priority.
membership manager pro 1
Wojoscripts.com
REQUIREMENTS
Please ensure your web host meets the applica on requirements. The lists of requirements are:
Web Server Requirements
Opera ng System: Linux, Unix, or Windows
Web Server: Apache
Scrip ng Language: PHP 5.5 or above
Apache mod_rewrite
Mul byte string
INTL extension
PHP GD library
Database: MySQL 5.5 or above (PDO driver enabled)
If you're unsure whether your server meets these requirements, simply ask your hos ng provider.
membership manager pro 2
Wojoscripts.com
INSTALL
Unzip the MMP package into your local hard drive. If you don't have WinZip, you can download it for
free from h p://winzip.com.
Using an FTP program (such as Filezilla, which is free, or a commercial package such as CuteFTP), login
to your web server and copy the MMP files across into your base website directory. This directory is
commonly called 'public_html', 'html', 'www' or 'h pdocs'. If you're not sure what it is, your webhost
provider will be able to tell you.
WEB SERVER REQUIREMENTS
MMP requires the following files/directories to have 'write' permissions set. If you're running on a
Linux or UNIX web host, you can use your FTP program and use the 'CHMOD' ('Change Mode') func on
to grant writes permissions.
If your host is running Windows, you will need to contact your hos ng provider about se ng up write
permissions on these files/folders.
Folders, CHMOD these to755:
/uploads/
view/admin/cache /
view/front/cache/
NOTE: ALTHOUGH IT SAYS 755, SOME WEBHOSTS MAY REQUIRE 775 OR 777 INSTEAD.
MYSQL DATABASE
MMP makes use of a MySQL database to store your data. This database must be created before you
run the MMP installa on wizard. Your MySQL user account should also have full grant access to that
database.
You will need the database connec on details during the setup wizard.
membership manager pro 3
Wojoscripts.com
Se ng up your database may differ with your webhost and what so ware they use for your web
hos ng control panel. If you don’t know how ask your hos ng provider.
SETUP WIZARD
MMP includes a simple 3 step installa on process. To start the setup wizard, navigate to the directory
that you uploaded MMP, for example: h p://www.example.com/.
The MMP setup wizard will appear. Follow simple on screen instruc ons.
membership manager pro 4
Wojoscripts.com
WHATS NEW?
V4.0 is complete and full rewrite. Every single file is modified in order to support latest php, mysql
jQuery etc…
Due to those massive changes upgrade at this me is not possible for few reasons:
1. Passwords are now being hashed in users table, vs sha1() older method. This adds security to user
accounts, and it is impossible to decrypt passwords even if someone can gain access to your
database.
2. Brand new framework is introduced (virtual rou ng) something similar to MVC pa ern, except
model is not being used. Only controller and view.
3. New debugging console, which is a must for any developer trying to troubleshoot errors in PHP
environment. To enable console, open up /lib/config.ini.php file and set DEBUG to true.
4. New framework is faster more secure, and uses lot less memory and resources.
NEW FEATURES
New front and backend design.
Fully responsive (renders perfectly on any device).
New gateways (Offline, Ideal and Authorize.net) Single payments.
Stripe (recurring payment added).
Detailed sales sta s cs per membership and per user.
User history (previously purchased memberships).
User permissions assignable admin permissions.
membership manager pro 5
Wojoscripts.com
HELP
Please see help sec on (Admin panel) for different methods of page protec on and redirect.
If you want to include your protected and non‐protected pages within exis ng framework, please
follow this simple tutorial.
As you may have no ced system ages are being accessed using virtual rou ng, something like
h p://yourdomain.com/dashboard/
Even though folder “dashboard” does not exists anywhere within MMP directory.
Let’s add one page as part of framework and call it “news”
1. Open up index.php and search for “//Custom Routes add here”
2. Right below add:
$router‐>get('/news', func on () use ($tpl)
{
$tpl‐>template = 'front/news.tpl.php';
$tpl‐> tle = "News Page";
});
Note: Make sure that route names are unique in this case word “news” is unique and it’s not being used
anywhere else.
3. Go to /view/front/ and create a blank file and name it news.tpl.php
4. Edit /view/front/news.tpl.php and at the very beginning add:
<?php
if (!defined("_WOJO"))
die('Direct access to this loca on is not allowed.');
?>
Right below you can add your own html/php code or membership based protec on
5. Now you can access your page like h p://yourdomain.com/news/
membership manager pro 6
Wojoscripts.com
CONFIGURATION PAGE
WEBSITE NAME
The name of your web site, which is displayed in various loca ons across your site.
SITE DIRECTORY
Directory where MMP is installed. This field is auto populated during ini al install, and it should not be
changed unless you’re moving whole site into different directory.
PAYMENT CONFIRMATION EMAIL
If le empty default site email will be used instead.
REGISTRATION VERIFICATION
If Yes users will need to confirm their email address and go through ac va on process.
AUTO REGISTRATION
If Yes, once registra on process is completed users will be able to login. If No Admin will need to
manually ac vate each account.
REGISTRATION NOTIFICATION
Receive no fica on upon each new user registra on.
OFFLINE PAYMENT INFO
Enter your offline payment informa on. Such as bank account, swi etc. Once payment is received, you
can manually assign membership to a client.
DEFAULT MAILER
Default mailer is PHP. Some hos ng companies will disable this feature on shared hos ng. If you’re not
able to receive emails, try switching to SMTP, or Sendmail method.
ICONS
You can view full list of icons, by opening /view/admin/fonts/wojoicons.html
Icon shortcode:
<I class=”icon agenda”></i>
<i class=”icon align center”></i>
membership manager pro 7
Wojoscripts.com
CACHE FOLDER
When modifying css files do not change anything in /view/admin/cache/ or /view/front/cache/
Instead modify individual css files located in /view/admin/css/ or /view/front/css/
Cached file master_main.css will be automa cally updated.
SETTING UP CRONJOB
Make sure to set up a cronjob on /cron/cron.php. Run it every day using (wGet) just before midnight.
Cron job will automa cally remove expired memberships Stripe recurring, email no fica ons etc…
If you don’t know how to use CronJob, please contact your hos ng company.
SOURCES & CREDITS
Images included in preview are for demonstra on purposes only. Some photos can be purchased
separately. (If needed, par cular links can be given at your email request).
In downloaded product folder placeholders might be used instead of real stock images.
Thank you for purchasing this script!
membership manager pro 8