MyBB Community Forums

Full Version: Customize mybb login script.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How would I do this? I want to integrate an existing site's login (already have a script that validates that)

I just need to know where/how to integrate that into mybb.

I know that this would be found in member.php, but it is so big and i'm lost in the file.
What exactly do you want to do? i.e. integrate which platform with what?
Wow, fast response.

I already have the script that validates the login on the other site, I just need to know what line (approximately) i can insert the code into.

I am modifying the mybb login code to use the system I already have.
That's not exactly what I am looking for. I have a site with its own login system, and I want mybb to use the other site's login system. Not the other way around.
^ may be you can make use of myBB quick login function !! btw, which type of main site you have ?
It doesn't really matter, does it?
(2011-08-31, 05:25 PM)tyzoid Wrote: [ -> ]I already have the script that validates the login on the other site, I just need to know what line (approximately) i can insert the code into.

I am just trying to find where in member.php is the login auth function.
It starts in line 962 and ends in 1106.
and where would the function:
validate_password_from_username($username, $password)

be defined?
In ./inc/functions_user.php, starting in line 62.
Pages: 1 2