Go Back   vb.org Archive > News and Announcements > vBulletin Pre-Sales Questions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2003, 03:12 PM
iflc_sw_procure iflc_sw_procure is offline
 
Join Date: Oct 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default External Authentication hack?

I am interested in purchasing vBulletin, but before my organization can do so, we need to ensure we can integrate it with our existing system.

Specifically, what we need to be able to do is have user authentication done through an external system. This will prevent users from having to have a separate username and password for our existing integrated systems and vBulletin.

We can modify the php code, but without being able to see how it works before purchasing, we have no way of knowing how difficult the task would be.

Ideally, if someone logs into their customized homepage at our site, then clicks on a "Forums" link, they should automatically be logged into vBulletin. If they try to access vBulletin and are not logged in, they should be directed to a standard login page (and from there they would be sent back to vBulletin after logging in).

If a logged in user tries to access vBulletin and has never done so before, it should prompt them for their initial user settings or just give them some initial default values (and perhaps display some kind of message like "Welcome to the forums. To configure your forums account, use the configuration link at the top of the page".

Again, what we want to avoid is users having to create multiple user accounts to use any of the systems on our web site.

Any assistance/info would be greatly appreciated.
Reply With Quote
  #2  
Old 10-20-2003, 03:58 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the login part is actually very easy to do. just change the forms of your current script to set up the vb cookies as well.

the second part isn't hard as well.
Whenever someone creates an accounton your site, you have to enter the needed standart values into the db of vb, too.

there are a lot of hints around about how to do that
Reply With Quote
  #3  
Old 10-20-2003, 04:06 PM
iflc_sw_procure iflc_sw_procure is offline
 
Join Date: Oct 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the login form that sets the vb cookies, do we also need to add any kind of session ID entry to the database? Any *detailed* information would be greatly appreciated (links to other threads or external web sites with the info if anyone knows it)

For example, in many systems, when the user logs in, he is given a session cookie and the session ID is added to the MySQL DB. This way when the user sends the cookie back to the web server, the scripts can ensure the session ID is valid. This also allows for timing out of session ID's if they're not used within a certain period of time.

Also, any detailed info or links to info on adding the needed standard values into the vb database would be appreciated. I don't mean to sound lazy, but if someone knows of a specific thread or other resource, it would save me the time of having to dig for the info.

Finally, what about disabling all the "change password", "delete account", "register", and other options from within vb? I assume this could just be done by removing the options from the templates?
Reply With Quote
  #4  
Old 10-20-2003, 04:33 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as i haven't done so right now i cannot give *detailed* infos, just the how to

session id's are stord in the DB with vb, you're right here (or that's done automatically if you have a user with correct cookies and first connects to the forums)

yes, you can disable all change passwords aso within the templates.

For more details maybe so else can help
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 07:22 AM.


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.03763 seconds
  • Memory Usage 2,187KB
  • 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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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