Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2007, 02:20 PM
Ahmed_Eissa Ahmed_Eissa is offline
 
Join Date: Jul 2007
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Please help me ASAP

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!
Reply With Quote
  #2  
Old 07-10-2007, 03:31 PM
vB Nova vB Nova is offline
 
Join Date: Mar 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin.org doesn't use ASP, it uses PHP...
Reply With Quote
  #3  
Old 07-10-2007, 04:24 PM
Ahmed_Eissa Ahmed_Eissa is offline
 
Join Date: Jul 2007
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so do you have any solution for my problem?

Please I need help.
Reply With Quote
  #4  
Old 07-10-2007, 06:47 PM
vB Nova vB Nova is offline
 
Join Date: Mar 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I'm not an ASP coder.
Reply With Quote
  #5  
Old 07-11-2007, 06:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think you'll find any ASP coders here.
Reply With Quote
  #6  
Old 07-11-2007, 09:18 AM
Ahmed_Eissa Ahmed_Eissa is offline
 
Join Date: Jul 2007
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 07-11-2007, 10:01 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We can't, we're not ASP coders here...
Reply With Quote
  #8  
Old 07-11-2007, 10:37 AM
Ahmed_Eissa Ahmed_Eissa is offline
 
Join Date: Jul 2007
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, in PHP...
Reply With Quote
  #9  
Old 07-11-2007, 11:23 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You only need to set these two cookies:
PHP Code:
$password md5(md5(md5($password) . $salt) . $license);

setcookie(COOKIE_PREFIX 'password'$passwordtime() + 14400);
setcookie(COOKIE_PREFIX 'userid'$useridtime() + 14400); 
Reply With Quote
  #10  
Old 07-11-2007, 12:29 PM
Ahmed_Eissa Ahmed_Eissa is offline
 
Join Date: Jul 2007
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07626 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete