Error when using drupalvb/logout?
Branndon - August 11, 2009 - 07:00
| Project: | Drupal vB |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Fatal error: Call to undefined function user_logout() in /home/mysite.com/sites/default/modules/drupalvb/drupalvb.module on line 529
I just installed the newest dev release because I couldn't get the loggin in or out to work with the stable release.
the /drupalvb/login still hangs at a white screen for me too and doesn't log in at all. Think it could be anything

#1
I submitted a little early, think it could be anything do with with vbseo or a mod rewrite setting?
#2
Thanks for reporting, reviewing, and testing! Committed attached patch.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
#3
Thanks, that fixed the logout thing.
I can not still log in though, I only get the white screen. Also after installing this last night, I can't log in to vbulletin regularly either. It shows the log in forms, but when I enter my log in, it says thanks for logging in, then redirects me to where I was, but I'm logged out still. I can't even get in to the admin section.
#4
I have just tried the dev snapshot and still receive the white screen of death when trying to login...
#5
Temp solution was to simply not add the replacement variable in vB for /drupalvb/login (if they are logging into the forums, that's where they want to stay anyways ;)
#6
I too am getting white screens for login/out - thought it was my installation (just installed drupalvb for the first time). Seems to not be working so well in this area.
#7
I had this problem, what I did was clear all my cookies. I could log back into vBulletin now. However, I'm still not clear on how to set up the replacement variables.
#8
Using Drupal 6.14 and Vbulletin 3.8.4.
I got everything working on mine. For the login, I had to change the variables in:
Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar
in the login form change the values for the two inputs in the form:
vb_login_username -> name
vb_login_password -> pass
Those should fix the login if you are using the "/drupalvb/login" variable.
For the logout, it worked fine from the get go, www-YOURSITE-com/logout - should log both drupal and vbulletin out.
#9
i also have drupal 6.14 and vb 3.8.4 ... Among other things I had to change the modifypassword template in vb to add a link back to the drupal account page (/user), to make sure that someone trying to change the PW would do so successfully. Also, changing variables to name and pass worked great, except I am still working on getting drupalvb to redirect the user back to the forums...