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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2005, 06:53 PM
pmfp pmfp is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User authentification integration

I need to integrate the user authentication between vBulletin 3.5.1 and another script's user database.
Specifically, when the vBulletin user account is created, the same user account is created in the other script's database. Only single login is needed. Password changes affect both. Etc..

Am looking for advice on an approach to take to code an integration between vBulletin user authentication and another script's user database.


Am particularly interested in hearing from folks who have done this before, such as:

- Brian / Zachary, the vBAdvanced brains
- Tamarian, who did the vB Drupal hack that included login integration with Drupal
- leitel / Kai Blackman, who wrote the really interesting summary on MediWiki integration https://vborg.vbsupport.ru/showthread.php?t=93024
- Grim77, who did the SigmaChat integration
https://vborg.vbsupport.ru/showthread.php?t=93833
- Pseudomizer, who did the DigiChat integration
https://vborg.vbsupport.ru/showthread.php?t=83102

It seems several people have asked this before, but it has gone unanswered:
https://vborg.vbsupport.ru/showthrea...ad.php?t=69682
https://vborg.vbsupport.ru/showthread.php?t=72134
https://vborg.vbsupport.ru/showthread.php?t=93499

Martin
Reply With Quote
  #2  
Old 11-27-2005, 11:27 PM
monotreme monotreme is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is another recent thread about this.. I posted the code I have so far.
https://vborg.vbsupport.ru/showthread.php?t=101721
I have half of it working.
Reply With Quote
  #3  
Old 11-29-2005, 08:54 AM
pmfp pmfp is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, monotreme! I'll check it out.

Keep it up!

Martin
Reply With Quote
  #4  
Old 12-06-2005, 06:53 PM
Gadianton Gadianton is offline
 
Join Date: Dec 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also trying to integrate the Vbulletin authentication into my own custom login process. I'm not sure what the best approach on this.

Option 1) Have the custom form post to VB's login.html and then hack that page to header redirect back to my own script to complete the registration. This would mean I'd have to keep all usernames and password synced, which I'd rather not do.

Option 2) Try and copy and modify the VB login process to manually authenticate the user. Trying to do this has proven to be extremely difficult.
Reply With Quote
  #5  
Old 12-07-2005, 05:35 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just include global.php in your custom page, and if wanted provide a login box.
Reply With Quote
  #6  
Old 12-09-2005, 06:01 PM
monotreme monotreme is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought I had it whooped and then it went all to heck when people started having multiple forum pages open etc. I'm trying another approach where theres not so much masquerading. basically, instead of curl to vb's login, just set up the form directly on the third party site to be compatible, and go there direct, then the thought is to write a plugin to trigger when vb successfully logis in someone to curl back to the third party site and call a script to do whatever it has to do invisibly. It's cleaner too, in that hopefully we won't have to be patching sessions in vb's database. that's why I deleted that other post, I don't think that's the way to go because there's too much context to duplicate and if vb ever changes their login it would break anyway.
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:08 AM.


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.03763 seconds
  • Memory Usage 2,205KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_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