Installation of MUMSAI - SERVER SIDE
- Edit the config_mysql.php from /includes directory and complete with database name, user and password.
- Edit the settings.php from /includes directory.
- Edit config.php from /CLIENT directory and change your web address( this is very important! )
- CHMOD 777 for 'modules' directory. (after install you can turn back to 755)
- CHMOD 777 for 'links' directory.(in this directory are created the xml files with links)
- Run install/create_db.php - creates database tables.
- Run install/setup_server.php - creates database tables needed by server to keep information about users.
- You can customize the number and type of these fields.
- Note: an int(1) field mean bool. This fields are not managed by this
application. If you wish to store more information about visitors, and display them
from admin section, edit the following file:
-modules/pg_list_users.php: (here you cand modify the display fields -entered at step 6.)
Now you can login as admin with admin/admin. (remember to change this
password, is a very common password used in all the world)
Note:this package cames with an default TCS ( an authentification key).
It's recomandated to change this from admin section, after you login.
This can be done very simple:
-choose LIST URL from menu, click RESEND TCS, and then check your
email ( email write in settings.php ) and copy paste TCS in the config.php file.
Mumsai is css based and is easy to change the design.Modify template.php and stil.css
Additional features
The mumsai provide,in addition, links management which represents a tool to manipulate your links.
From an admin account, add a new label , then add a new link, choose
link's label and press [GENERATE LINK].Links are stored in rss format
(in links directory)
When the links are generated, is also generated an index.php file
(full address: http://your-site.com/links/index.php), which allows your
visitors to see your rss files.
The links are generated in the fallowing manner:
- is generated a single rss file with all labels (links/categories.rss)
- for each label, is generated a rss file which containts all links in that category
On the client sites will appear all the links entered by you. By
default, the cache time is set to 3 hours, and is made via magpierss rss parser.
How to use on a client site:
- Copy the directory links_parser in the root of your client site
- Create a directory named "cache" with rights permissions (chmod 0777
cache).Here are stored temporaly files with links, and expires after 3 hours.
If you don't do that, each time your client site is accesed, the rss
parser will read from server site the links which imply a lot of band usage and slow speed of your site
- Edit rss.php ( links_parser/rss.php ) , and change the address of
rss file with labels
- include in your script "rss.php" [eg: include("links_parser/rss.php"); ]
- Now you can use the links array to display links in which manner you want.
(eg: foreach($links as $link) echo $link;)
Instalation of CLIENT SIDE
Follow these steps:
- Uncompress the file CLIENT_FILES.tar.gz to a directory in the root of your CLIENT web site.
- From admin section, use "New url" to add this site, then get config values from your email.
- Edit the 'config_mysql.php' and 'settings.php' files from 'configs' directory (more information you will find there)
- Run the install.php from install directory to create database tables.
- Put specific code, located in index.php where you need (where login section you want to appear).
You can view here a simple example of using client side (a client of http://www.demo.axiologic.net/mumsai.