The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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.
|
#2
|
|||
|
|||
Look for vbsetcookie() in vBulletin 3.7 Code Documentation
Then just read the cookie as you would any normal one. |
#3
|
|||
|
|||
thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|