vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Login/Register User Remotely? (https://vborg.vbsupport.ru/showthread.php?t=127477)

binjured 09-24-2006 11:51 PM

Login/Register User Remotely?
 
Hey, I am trying to solve a problem that's currently got me stuck. I have a vB forum and a main website not coded in PHP. Now, I want a single-signon and registration system for both the site and the forums. How can I achieve this? Basically, I need to know the following:

1) How passwords are hashed for input to the database for vBulletin.
2) What cookies need to be set for a logged-in user.
3) Any pertinent information on the 'session' table -- do I have to do something with this too?

That way, to login a user all I have to do is check their credentials (I probably won't even access the vB table for this, I will just check against my main site information) and then set the necessary cookies (and possibly session table info) to have them viewed as logged in. To log a user out, I just have to destroy those cookies. And to register a user all I have to do is know how the password should be hashed and put into the database, all the rest I can easily figure out on my own, the above information just seems really cryptic and somewhat hidden. I really need this information ASAP though, so if you can help I'd be very grateful :)


All times are GMT. The time now is 08:38 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
  • Page Generation 0.00918 seconds
  • Memory Usage 1,702KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete