The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
i was wondering about the function fetch_bbarray_cookie();
is it a predefined php function or is it a vbulletin function, also what is contained in that cookies as far as vbulletin forum information and how would i implement sometype of thing like that to check if someone has viewed something i.e. a forum ![]() thanks for all your help ![]() |
#2
|
|||
|
|||
![]()
Decent examples of its use can be found in forumdisplay.php or threadrate.php. It's a vB function that is used to store an array of information by key, like forumid or threadid.
As for checking when a forum was last viewed, you should see that in forumdisplay.php. The cookie may not be set, so you'd need something along the lines of: Code:
$last_view = fetch_bbarray_cookie('forum_view', $foruminfo['forumid']); $last_view = max($last_view, $bbuserinfo['lastvisit']); |
#3
|
||||
|
||||
![]()
im still kind of confused what it does>_<
cookies is sort of a new thing to me :lol: |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|