MUMSAI is an application who manages and authenticates users.

I. Installation


Now you can login as admin with admin/admin (remember to change this password, is a very common password used in the entire world) Note: this package comes with a default TCS (an authentification key). It's recomandated to change this from admin section, after you login. This can be done very simple: -choose SITES->List sites from menu, click RESEND TCS, and then check your email (email that you configured in custom_settings.php ) and copy paste TCS in the custom_configs.php file.

Mumsai is css based and is easy to change the design. Modify template.php and stil.css

II. Additional features

In addition, the mumsai provides useful features like link and download management.

II.1 Links management

- represents a tool to manipulate your links.

From an admin account, add a new label, add a new link, and press associate icon to add labels to that link.
Links can belong to one or more labels.

II.2 How to use on a client site:

To display links from MUMSAI on a client website go to label listing and press Generate code icon. The code provided can be used on any php page : <? echo mumsai_make_links(mumsai_get_label('label_name')) ?>

The mumsai_make_links() functions outputs link using unordered html list. If you would like to customize how links are shown on your website just modify this function.

II.3 Download management

There is a section called download management. Administrators users can upload files and set access mode (need user login, or not), description, version and links to license and documentation pages.
Each downloaded file it's counted.

II.5 Links exchange

If you exchange links with many sites, there is a feature (check links exchange) that can check automatically if your link it's still present in partners’ pages. When you insert a new link exchange you can choose from a list, what sites needs to be checked.

II.6 Last logins

List last logins from all clients, including MUMSAI.

II.7 User features

Once a user is selected ("choose user"/"choose user by email" option), an admin user can do the following actions:

II.8 Text rotation

...

Installation of CLIENT SIDE

In order to authenticate users from a client web site through MUMSAI, you need to copy and configure some script files. Follow these steps:

  1. Uncompress the file client.tar.gz to a directory in the root of your CLIENT web site.
  2. give 777 permissions to Session directory (in fact, apache user needs write access)
  3. From admin section, use "New site" to add this site, and then get TCS value from your email.
  4. Edit the 'config_mumsai.php' file from client directory (more information you will find there)
  5. Put specific code, located in index.php where you need (where login section you want to appear).
  6. Configure crontab to run "crontab_sessions.php" script at least once in a day

Use example:

Your index.php should look like this:

        #start session############################################
        require ("core.php");
        $session=new Session();
        //put session in array to work like $_SESSION default array
        $SESSION=$session->getArray();
        #seesion##################################################
    
Login page :
        if(@$SESSION['username']=="")
        {
        echo "
        <center>
        <iframe width='400' height='400' src='redirect.php?&m=".$message."' frameborder='0'>Login frame</iframe>

        </center>";

        }
        else
        {
        echo "Welcome {$SESSION['username']}.<a href='logout.php'>Logout</a>";
        }
        ## end login ##

    
To find user permissions, use function getPermission(HTTP).This function will return one of the following string:
        -"User"
        -"Admin"
        -"Moderator
    
To store values in session, write $session->setSession("key",$value);