The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Login Process: process_new_login() not responding.
Greetings,
First, before I go in to details, is there anyway to enable the PHP error/warning messages that are generated by default. You know, the kind that tell you where and what line the code is broken on, so that you can jump right to the code without having to comb it line by line? So, I am working to complete a custom login process for vBulletin 4.0 based off of Novell's proprietary login process: iChain. Supposedly there is a process already in place for v3.0.+ which is based off of some LDAP authorization solutions that have been posted here and else where. The original bit of code that inspired this solution was by Zemic: https://vborg.vbsupport.ru/showthread.php?t=145188 Then malcolmX wrote this upgraded solution for 4.0.x: https://vborg.vbsupport.ru/showthread.php?t=231909 My immediate issue is with the built-in functionality and not being able to understand exactly what values need to be passed/what process or order needs to happen in order for the login process to execute successfully. The actually user login process is handled by Novell's IChain security process. Once the login is completed however, a list of variables gets returned to vBulletin with the purpose of being processed and acknowledged as being logged in. This is what is not working. According to the login process, I've logged in successfully. According to Vbulletin, I've not yet logged in. Following the logic and processes suggested from the first LDAP Authorization solution, I've setup the login script to read the variables that have been passed and am now trying to get the native vBulletin scripts that process that information to respond to those variables. I've tested to make sure that the needed information is available, and it is. Now it's just a matter telling the system to let the user in the door. Right now I'm focusing on the process_new_login() function, which is declared in the functions_login.php file. Its spec sheet can be viewed here: http://members.vbulletin.com/api/vBu...login.php.html Now I've not used the validation functions, because those seem to be more along the lines of the actual login-safety features and what not. I don't need to worry about this because iChain has already taken care of this process. So the functions such as verify_strike_status() and verify_authentication() seem to not be necessary. But I'm wondering if they are. My reason for wondering is that I can't seem to get process_new_login() to respond. There are three variables required for the process_new_login() function: -login type -username -CSS preference I've got the login type set to 'standard' as opposed to 'admin' or 'mod', the username comes from Novell, and corresponds with what has already been created, and the CSS preference is a numeric value (two digits) that is being passed to represent the user's preferred style settings as recorded in database settings. So when I go to test the script with the process_new_login() function enabled. My page is returned blank. I'll continue to work at this, but any insights or feedback would be appreciated. Is there any other way to accomplish this? Thanks, Brent |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|