I need to add something to the cookies that vB makes, a new field, say, section=Games or section=Books, etc. Now, I looked around and in functions.php, I found
vbsetcookie, which may do what I want, I can't say that I can figure out the coding.
I've poked around forumdisplay.php, and found various usages...
Code:
vbsetcookie('lastvisit', TIMENOW);
set_bbarray_cookie('forum_view', $forumid, TIMENOW);
$bb_cache_forum_view = unserialize(convert_bbarray_cookie($_COOKIE[COOKIE_PREFIX . 'forum_view']));
Basically, I need to set section=Games and then read from the cookie what section the user wants to be in (Games, for example). How do I do that using vB's functions?
Thanks