Thought I installed everything correctly, but for some reason I can't logout of the vb forum.

This is my logout url:

http://forums.sites.com/drupalvb/logout?&logouthash=1289056517-9661b58f1... and it just redirects me to the forum index page where everything now has:

/drupalvb/ like so:

http://forums.somesite.com/drupalvb/forumdisplay.php?f=71

And the forum doesn't work correctly.

Any ideas? Thanks.

Comments

mattwmc’s picture

(Using VB 3.84)

Is this because my forums are installed in a subdomain?

Do the replacement variables need to be altered?

Well, the Blocks work correctly! Cool! Now I just need to fix the vb login/logout issue.

Question - is the forum url supposed to change and show /drupalvb/ in it?

Ok, when loggin into drupal I am logged into VB - so cookies are set correctly I take it.

Hmmm..I wonder if I can just replace vb's login with drupal?

uniprepc’s picture

Hi Matt, sorry for the delay in response, I know you're having the same problems I had as according to my issue post, however, as of today at this very moment, everything seems to be working for me now.

I don't know if you managed to solve your problems yet, and if you have, i'd like to hear how, but if you didn't, i'll tell you what i had to do to get it working.

Firstly, leave all variables that were instructed in the install.txt file as is. Just make sure you do it for every style you have, but the replacement variables are fine.

Next, something that seemed common sense now, which I don't know why i missed is a setting in vbulletin options. Under the settings/options/cookies and http header options in vbulletin, there's a section called "path to save cookies" where they tell you to leave it blank. If your forum is the main website, then leave it blank ("/"), but in my case, my forum is in "www.mywebsite.com/forum." If this is same for you, then just select the down arrow under suggested settings and select the "/forum/" option.

Now, if you installed Drupal Vb properly, then everything should be golden for you. If it's not, then go to Drupal VB under Site Configuration in your drupal site. Under the "integration" tab, make sure you selected your proper vbulletin version, and have correctly entered cookies salt. This is were i messed up, for some reason, the cookie salt had my License number. As according to the fine print underneath, you can find the lengthy cookie salt value in the functions.php file. Which can be found under forum/includes/functions.php, look for this "define('COOKIE_SALT', xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" where the x's are your cookie salt. So make sure you have the correct cookie salt and of course, under the "database" tab, make sure all the variables are correct and the "Table prefix" is blank.

Once that's done, also make sure that the database type in config.php is mysqli. After that, everything should be working fine. Hopefully this works for you. For me, i had to set one more thing in vbulletin. Again, under the cookies and http header options, the section with cookies domain should be set to ".yourdomain.com", and finally, your problem should be fixed.

After all these settings, if still you cannot fix the problem, then the best option is to upgrade to vb4.0 dev version like i have according to my posts in the previous issue and that should definitely work as it has for me.

Hope this helps, let me know otherwise. If you had already fixed your problem, then i'd like to hear how so i can watch out for next time in case it's something different.

Uniprepc

mattwmc’s picture

Ok, I sorta figured it out.

I needed to put full paths because my forum is in a subdomain.

I suppose that is what the "note" above that section in the ReadMe means.

However, the login link leads to the white page of death. I'll have to look into that.*
*solved: http://drupal.org/node/840290#comment-3144190

Also, the logout goes to the site front page and not the forum front page.

sun’s picture

Status: Active » Closed (cannot reproduce)

Looks like this issue magically resolved itself somehow.