The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forcing Users to use cookies
Hi guys
I've just upgraded from YaBB to vb3.5, and it all went very well I'm pleased to say. Now I'm just working on converting the rest of my site to connect to vB. I'll explain - previously, members could review products and add products to a 'wish list'. This was all done using the YaBB forum cookie for username and password. Now, I'm trying to update these to work with vB. I can see that the user id is stored in a cookie called bbuserid. But it seems that even though a member is logged in a cookie is not always set. THrough reading posts on here and also vb.com it seems that you only get a cookie if you hit 'remember me' on login. Is there any option in the admin side, or a plug in, or adaption I can make to make sure a cookie is set for all users? And if there is one - is there any side effects to doing this? On YaBB there was an option on login to select how long the cookie would last for, so users could choose from 1 hour to 1 day/week/month/year/permenant. This would be the ideal option, but I'm open to suggestions. Alternatively, is there any way of getting the userID without looking at the cookies. thanks in advance |
#2
|
|||
|
|||
Would turning 'remember me' into a hidden field set to 'yes' force cookies, and if so whould there be any drawbacks?
Thanks |
#3
|
||||
|
||||
the drawback would be public terminals, people would need to explicitly log out
it's better to just add a session cookie when users login |
#4
|
|||
|
|||
Thanks! My last forum insisted on cookies so my members are used to logging out at the end. I'll add a note to to remind them to do so!
Thanks again |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|