1. Create an account on the Drupal end.
2. Click on link in Drupal end that goes to a vb forum.
3. vb forum page loads.
4. user is not logged into the vb forums.
5. log in to forums with Drupal username and password.
6. user IS logged in.

Perhaps I an wrong, but shouldn't if I am logged into my Drupal site, and then I click on a link that takes me to the vb Forum, also be logged in to the vb Forum?

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Is it only not working directly after registering a new user account or did you test this by logging in with an existing user account, too?

stevenpatz’s picture

Actually, both. I had my users create accounts, and then click on a forum link from within my Drupal install. They go to the forums page, and they're not logged in. But if they do log in all is okay.

sun’s picture

Did you already enter your vB license number in Drupal vB's settings?

stevenpatz’s picture

yes, the vb license was entered.

sun’s picture

Please try to clear all your browser cookies and then test again.
If that does not work, I will need much more detailed information about your site/server and setup/modules/configuration.

stevenpatz’s picture

Cleared my browser cookies and still get the same result.

Drupal	5.8
MySQL database	5.0.22
PHP	5.1.6
Web server	Apache/2.2.3 (CentOS)

And these are the modules I am running:

name
system
block
blog
comment
contact
filter
help
menu
node
path
poll
profile
search
statistics
taxonomy
tracker
upload
user
watchdog
cck_field_perms
contemplate
content
fieldgroup
nodereference
number
optionwidgets
scheduler
text
userreference
views
views_rss
views_theme_wizard
views_ui
panels
account_reminder
advpoll
votingapi
autotimezone
captcha
copyright
custom_breadcrumbs
devel
drupalvb
basicevent
event
event_views
extlink
fivestar
forward
legal
me
menu_per_role
privatemsg
search_config
front_page
date
date_api
buddylist
cleanfeeds
comment_closer
commentrss
similar
image
image_gallery
og
workflow
print
og_calendar
og_galleries
og_roles
og_reg_codes
page_title
signature
jstools
tabs
update_status
image_captcha
token
smtp
nice_menus
weblinks
guestbook
og_files
nodequeue
smartqueue
link
stringoverrides
views_group_pack
cck_address
phone
zipcode
weather
faq
webform
sun’s picture

Title: Integration is not working. » Shared sign-on not working

It would be great if you could compare the cookie domain of Drupal's and vBulletin's coookies after logging on in Drupal.
My wild guess is that vBulletin uses a different cookie domain than Drupal (f.e. www.example.com instead of example.com), so there are actually cookies set, but for the wrong domain. Drupal automatically strips the www-prefix, but vBulletin does not (however, you can change this in the vBulletin configuration easily).

stevenpatz’s picture

That's probably the issue then. The Drupal site is at www.example.com the VB forum is at forums.example.net
The Drupal site will eventually be moved to www.example.net. That means the Shared Login will still not work, correct?

Ahh I see the setting. I should be able to, once the Drupal site goes live, set the cookie domain in vBulletin and be okay.

sun’s picture

Component: Code » Documentation
Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

If the two domains will be different permanently, you should install Shared Sign-On module. However, you also need to set a fixed cookie_domain in your settings.php as well as in vBulletin to make this work properly.

If not and all will be on example.com finally, it's not worth the extra headaches such a complex setup would require. You just need to ensure that both systems use example.com as cookie domain then, because vBulletin will use automatically forums.example.com otherwise.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.