The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Just wanted to ask a silly question, but not a stupid one of course. "The question that is not asked is the most stupid one". I am writing a plugins for login integration with vBulletin. For this purpose, I need to do the following. 1) vBulletin tries to login and fails 2) vBulletin fails and tries to check the username and password in my webservice. 3) if vBulletin finds the username and password in my webservice, it creates a new user in vBulletin and logs him. Upto this stage everything is working fine! However, when the user tries to login manually later on, he is not authorised. I believe I have traced where the problem is. When I add the user, I do a datamanager setup. 1. $newuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY); 2. $newuser->set('username', $vbulletin->GPC['vb_login_username']); 3. $newuser->set('password', $vbulletin->GPC['vb_login_password']); Line 3 is not working. I believe $vbulletin->GPC['vb_login_password']) does not carry the actual password value. However, $vbulletin->GPC['vb_login_username']) does carry the username value. Question: How can I get the exact password value that was entered in navbar login form? I would like to apply that value in login_failure hook. Cheers. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|