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 08-25-2010, 02:59 PM
MikeTodd MikeTodd is offline
 
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Single Sign On?

How easy/tough is it to do a single sign on system with vBulletin? Having worked with SMF and phpBB before, it's dead simple with those, but everything I've researched for vBulletin makes it seem like this is very complex. I'm hoping that's wrong though.

Here's what I'm wanting to do: I have a custom-coded chat community site that currently uses phpBB as the forum, and login database. The rest of the site uses the forum's login system, by using a simple include to see if someone is logged into the forum and using the forum's user data if so. In phpBB the code is a little longer, but with SMF the code is a one-line include to do this.

Does something similar exist with vBulletin? I love vBulletin in general, and would be more than willing to buy a license for it, but this is a must-have for my site. (Also on my wishlist would be a plugin install/upgrade system, Wordpress has.)
Reply With Quote
  #2  
Old 08-26-2010, 05:08 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has been done many times and, if your site is in PHP, should not be too difficult to do.

It will require a few lines of coding in most cases.
Reply With Quote
  #3  
Old 08-26-2010, 01:17 PM
MikeTodd MikeTodd is offline
 
Join Date: Aug 2010
Location: Atlanta, GA
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's very heartening to hear! Do you have any links to code samples, Marco? I wasn't able to find those, but perhaps my search powers are lacking.

Edit: As a note, I'm just wanting to verify how easy/complex it is, since I couldn't find any examples of how to do so. I want to be 100% sure of what I'm getting into before I put down such a chunk of change.
Reply With Quote
  #4  
Old 08-27-2010, 02:43 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but code blocks are not viewable by unlicensed users on our site.
Reply With Quote
  #5  
Old 08-27-2010, 07:38 AM
mbtshoes2011 mbtshoes2011 is offline
 
Join Date: Aug 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The rest of the site uses the forum's login system, by using a simple include to see if someone is logged into the forum and using the forum's user data if so. In phpBB the code is a little longer, but with SMF the code is a one-line include to do this.
Reply With Quote
  #6  
Old 08-27-2010, 08:08 AM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not entirely sure how your code works, but as far as vBulletin goes, it's as easy as including a file and checking if a member is signed on, or a guest. ($show['member'] would help greatly in this situation.)

If you happen to purchase vBulletin, I (amongst many others) should be able to help you accomplish what you need, and the numerous amount of articles here should help as well. I assume by "The rest of the site uses the forum's login," you mean you redirect some sort of login URL to the forum dedicated login page? (seeing as SMF and such have those)
Reply With Quote
  #7  
Old 12-16-2010, 04:44 AM
rjkendall rjkendall is offline
 
Join Date: Nov 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've searched and searched and I can't find these 'few lines of code' examples mentioned above. I have a site setup (and vBulletin purchased) and I just want to get this single-sign-on implemented so my client can call the project completed and pay my final invoice. Where can I find an actual example of a single-sign-on?
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:45 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.06008 seconds
  • Memory Usage 2,213KB
  • 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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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