View Full Version : ReviewPost and vBulletin
February 12th, 2006, 06:12 PM
This is a little strange. My ReviewPost and vBulletin scripts share the same user base. When you login via ReviewPost you are automatically logged in to vbulletin. But if you log in via vBulletin...you need to log in to ReviewPost seperately. How can this be if they are pulling from the same database?
February 12th, 2006, 07:59 PM
That would be extremely strange unless of course your cookie domains are not set correctly.
Make the cookie domain .domain.com and that will cover www and no www. ;)
February 13th, 2006, 02:30 PM
I input .mysite.co.uk; in the site cookies section and it's working better. But now if you login to vBulletin, you still need to login to ReviewPost (using the same username & password). That's ok, but how can I arrange for the user to login to vBulletin, and be automatically logged in to ReviewPost?
Is it a cookie issue, or do the scripts need to be modified to 'read' each other in some way?
February 13th, 2006, 03:22 PM
No its cookies
The forum and our product must match
Have you entered the cookie path cookie prefix and cookie domain to match the forum?
My bet is you have not entered the vb cookie prefix which is usually bb and found in the config-int.php file
You must also enter the proper vbulletin license number in the config-inc.php file of our product for logins to work
February 13th, 2006, 03:39 PM
Everything appears fine. bb code is there, vb_prefix for vbulletin is there, .mysite.com; site cookie is in place, vBulletin license number is correct...
I'll double check and test everything and get back to you
February 13th, 2006, 03:55 PM
Here are the cookie settings:
ReviewPost Cookie path: /
Forum cookie prefix: bb
ReviewPost Cookie domain: .mysite.co.uk;
vBulletin license number is correct.
Just tried it, and you definately have to login seperatley. The user base is shared (you need only one username and password), but you have to login twice.
Hmmm... maybe if cookie domain is set to .mysite.co.uk/forums?
February 13th, 2006, 04:08 PM
This is wacko! If you login via vBulletin, you need to login to ReviewPost seperately. But if you login to ReviewPost, you are automatically logged in to vBulletin! How on earth is that possible?
Could it be something vBulletin side?
February 13th, 2006, 04:36 PM
Now I can't log out if I'm logged in as admin!
February 13th, 2006, 06:05 PM
View your cookies as you login to each product to see what is not meshed up. Especially the bbpassword cookie.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.