The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]() Quote:
Code:
if ($vbulletin->session->created) { // do your logging here } Note that a session is created for a guest, so if you don't want to log every time a new guest arrives, you'll want to check for $vbulletin->userinfo['userid'] != 0 before logging. And yes, if a guest (who will already have a session) logs in, a new session is created (I tested that). Oh, and that probably works for any hook, although you might want to use global_complete since then whatever you do will happen after the page has been sent. |
Благодарность от: | ||
offpista |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|