![]() |
Custom user setting saved in cookie?
So I added a new userfield in a user's options page that allows them to toggle worksafe mode. Now I want to be able to store that setting in a cookie, so if they turn it on at work, it's always on at work, but when they come home, its off. How can I manage the setting like this? I don't mind getting down into the PHP of vB if that's necessary.
|
Look for vbsetcookie() in vBulletin 3.7 Code Documentation
Then just read the cookie as you would any normal one. |
thanks
|
All times are GMT. The time now is 07:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|