![]() |
Manually setting Cookies / Login
probably someone of you can help me. i want vbulletin authenticate against an axternal database. this one is a very easy one, just 4 fields (username, userid, password, email).
i added a hook in login.php just below of Code:
$vbulletin->input->clean_array_gpc() Code:
($hook = vBulletinHook::fetch_hook('external_login_hook')) ? eval($hook) : false; Code:
$newuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY); now the problem starts, after authentication (useradding or not doesnt matter) i have a problem with starting vb session and redirecting to the board again. i try it with this code: Code:
verify_authentication($vbulletin->GPC['vb_login_username'], $vbulletin->GPC['vb_login_password'], $vbulletin->GPC['cookieuser'], true); can anyone please help me how to, create the vb sessions? would be very nice. thanks -andy |
yeah i need the same info :) im told by others to "just search the board" but i been searching for hours, cant find the exact info i need...
|
All times are GMT. The time now is 03:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|