MUMSAI is an application who manages and authenticates users.
In addition, the mumsai provides useful features like link and download management.
- represents a tool to manipulate your links.
From an admin account, add a new label, 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 following manner:
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.
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.
Users can subscribe to receive newsletter in two ways:
Note: Rss news file for MUMSAI must be located in root
directory. Also, send_emails.php script must be installed in crontab and
run once per day.
To send manually emails to users, use Send email to users option.
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.
List last logins from all clients, including MUMSAI.
Once a user is selected ("choose user"/"choose user by email" option), an admin user can do the following actions:
In order to authenticate users from a client web site through MUMSAI, you need to copy and configure some script files. Follow these steps:
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);