PDA

View Full Version : Please help me ASAP


Ahmed_Eissa
07-09-2007, 02:20 PM
Hi,

I have a website which is built on ASP and I have a users on it, just I want to connect vBulletin to my website to let the logged-on users on my website to be automatically logged-on to vBulletin. Can any one help me how to do this ASAP?

I just think if I can forward the username and password for the user from my websirte to vBulletin through a cookies or session.

I transfer all users username and password to mySQL database with the MD5 coding and I test it and it works.

Thank you

Ahmed

WOW... nonody can solve this?!! I see many websites done this!!! www.vbulletin.org done this!!! O'come-on men!

vB Nova
07-10-2007, 03:31 PM
vBulletin.org doesn't use ASP, it uses PHP...

Ahmed_Eissa
07-10-2007, 04:24 PM
OK, so do you have any solution for my problem?

Please I need help.

vB Nova
07-10-2007, 06:47 PM
Sorry, I'm not an ASP coder.

Dismounted
07-11-2007, 06:05 AM
I don't think you'll find any ASP coders here.

Ahmed_Eissa
07-11-2007, 09:18 AM
Hi,

OK, please design a splash screen that can read thos 2 cookies :

$_COOKIE["username"];
$_COOKIE["password"];

and forward it to vBulletin, and I will complete the rest.

Thank you very much for your fast reply.

All the best...

Best regards,

Ahmed

Dismounted
07-11-2007, 10:01 AM
We can't, we're not ASP coders here...

Ahmed_Eissa
07-11-2007, 10:37 AM
No, in PHP...

Dismounted
07-11-2007, 11:23 AM
You only need to set these two cookies:
$password = md5(md5(md5($password) . $salt) . $license);

setcookie(COOKIE_PREFIX . 'password', $password, time() + 14400);
setcookie(COOKIE_PREFIX . 'userid', $userid, time() + 14400);

Ahmed_Eissa
07-11-2007, 12:29 PM
Hi Dismounted,

Thank you very much. But I need a code in PHP that can do this things:
1. Read thos two cookies (which is launched from my website):
$_COOKIE["username"];
$_COOKIE["password"];
2. Forward this values to vBulletin.
3. Login the user into vBulletin with this username and password.
4. Show the vBulletin Welcome Screen, and then open the vBulletin form and the user is logged on.

Thank you ...

Best regards,

Ahmed

Hi,
I solve the problem

Thank you

I fix it... the artical is in this link:
https://vborg.vbsupport.ru/showthread.php?t=151992

Thank you

Ahmed