Dolphin login form integration

Hello,

 

I'm trying to integrate a game script to Dolphin.

That are asking me to do this in the configuration file:

 

/*
implement this function if login is needed

return null if login failed
return the player ID and player name if succeed
*/
function checkLogin($username, $password) {
$result = new stdClass();

$result->playerID = '1';
$result->playerName = $username;
$result->playerPictureURL = null;

return $result;
}

 

How do I integrate Dolphins login form to the scripts config.php file?

Can you fix this issue for me please?

 

Thanks,

Quote · 25 Jan 2013

not very sure what you want to do but take a look in the profiles.inc.php at bx_login() function.

so much to do....
Quote · 25 Jan 2013

What game is it? Is it a public domain game?

Something I can download and look at?

http://www.mytikibar.com
Quote · 25 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.