Alitalk is a powerful and complete web messenger based on AJAX and PHP Technologhy did you like have a web messenger lock like yahoo messenger on your website? AliTalk is that. But it doesnt support xoops. It means that you cant switch its users database on XOOPS but it support some othe portals system like joomla, phpbb, vbulletin, mybb, smf and ipb. for example it use this script to switch on joomla:
function joomla($remot,$user,$pass,$db,$pre,$pa,$us,&$joomla_user)
{
mysql_connect($remot, $user, $pass);
mysql_select_db($db);
$uprigh=mysql_query("SELECT username,password from ".$pre."users where uname='".$us."' and pass='".md5($pa)."'");
if($lastlap=mysql_fetch_array($uprigh))
{
$joomla_user=$lastlap['username'];
return false;
}
else
{
$joomla_user=false;
return false;
}
}
?>
and the script that it use for phpbb is:
function phpbb($remot,$user,$pass,$db,$pre,$pa,$us,&$phpbb_user)
{
mysql_connect($remot, $user, $pass);
mysql_select_db($db);
$saltin=mysql_query("SELECT * from ".$pre."users where username='".$us."'");
if($saltup=mysql_fetch_array($saltin))
{
$uprigh=mysql_query("SELECT username,user_password from ".$pre."users where username='".$us."' and user_password='".md5($pa)."'");
if($lastlap=mysql_fetch_array($uprigh))
{
$phpbb_user=$lastlap['username'];
return false;
}
else
{
$phpbb_user=false;
return false;
}
}
}
?>
I sure that its possible to wright some cods or edit top cods to switch alitakh users table on xoops. BUT HOW? please help!
AliTalk DEMO:
http://www.mekanik.ir/achat/user: demo
pass: demo
Download Link:
http://www.mekanik.ir/alitalk.zip