1
farhad2na2
alitalk & xoops
  • 2006/10/10 14:18

  • farhad2na2

  • Just popping in

  • Posts: 3

  • Since: 2006/1/18


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:


<?PHP
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:


<?PHP
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

2
xuser
Re: alitalk & xoops
  • 2006/10/10 14:53

  • xuser

  • Just popping in

  • Posts: 73

  • Since: 2002/11/26


search "achat" in this site
Xuser's site
http://xuser.org
http://theme.xoops.org.cn

3
davidl2
Re: alitalk & xoops
  • 2006/10/10 15:01

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Why does the Mambo code have a line like:

<?PHP function joomla($remot,$user,$pass,$db,$pre,$pa,$us,[b]&$xoops_user[/b])


???

4
irmtfan
Re: alitalk & xoops
  • 2006/10/10 16:27

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


huum
connect XOOPS user with this chat is not so hard but port it as a module in XOOPS with XOOPS permissions and css is hard.

if you done persian language for alitalk send it to me and i can help about.

Login

Who's Online

262 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 262


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits