------------------------ Table of contents:
#1 - How to install
#2 - How to update ------------------------
#1 - How to install
a) Checkout the site from http://tools.assembla.com/svn/mangosweb/trunk/
b) Once files are in place on your web server
(on linux)chmod these folder to 777.
(On Windows) Change permissions so all groups can write/edit/read files:
/core/cache/
/core/cache/config_cache.php
/images/attachs/
/images/avatars/
/images/wallpapers/
/images/screenshots/
b) go into sql/ folder and apply "full_install.sql" to REALM Database.
Now there are 2 choices available for you. Automatic or manually.
- Automatic:
c) Go in your browser and go to http://Yourserver/path/to/mangosweb/install.php
d) You are done.
- Manually:
c) Open config.php in root folder.
- Set variable: $dev to "FALSE". (If this is FALSE already just jump to next step )
- Set other configurations like Mysql password, username, host and database.
d) Now for the fun part, login in your database "realmd" for example and open the table "accout_extended".
Look up for your "account_id", (you can get the coresponding account id from the "account" table), and set g_id to 3 or 4 (admin or root admin). For more information about g_id have a look in "account_groups".
e) You should have a admin account on your website right about now. Login to it and click Admin Pannel.
f) Set up your site settings, realms, forums and language.
g) You are done.
------------------------ #2 - How to update
a) Get your config backuped.
b) update SVN
c) go into sql/ folder and apply updates that havn't been applied.
d) You are done.------------------------
NOTE: To change Default size that can be uploaded of Wallpapers and Screenshots go to
/templates/offlike/media/media.screen.php Ln=7, Col=46 Change 2 to whatever you want ex: 2=200k, 4=400k, 10=1mb
/templates/offlike/media/media.wallp.php Ln=7, Col=46 Change 2 to whatever you want ex: 2=200k, 4=400k, 10=1mb
------------------------ -- Extra -- ------------------------ How to install Levelup system on site.
a) Make ONE account for Horde and ONE for Alliance characters.
b) Create all classes on each account. ( These are the characters that are getting copied with our system )
c) Define the Id's of the accounts in the config file.
d) Define other things like starting level and so on in config file.
e) You are done. The system should now work.
How to install DONATION SYSTEM
To install the PayPal donation system you need a PayPal account. Please look for absolute instructions below!
a) Create a paypal account (www.paypal.com). And login to paypal
b) Make it a Premier account.
c) Go to Profile -> Under selling Preferences -> Instant Payment Notification Preferences
- Click the checkbox.
- Write in the full phat ( With your domain name ) to donation.php found in root of mangosweb.
Example: http://test.com/lol/smile/test/WoWserver/donation.php
d) To add more donations and items see table donation_template. There are already some examples in donation_template that you can see.
PS! Admin panel has donation admin. You can add packages in http://Yourpath/to/mangosweb/index.php?n=admin&sub=donate
c) You are done