The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am attempting to add the upcoming events section to the forumdisplay page. What I have found is that the calendar permissions don't seem to be loaded into the userinfo array. When I look at the value of the blow expression, it is null. Can anyone help me figure out how to get the calendar permissions loaded into the array from there?
PHP Code:
|
#2
|
||||
|
||||
![]()
I doubt that $eventinfo exists on a forum display page - I think that will be your problem, the userinfo (calendarpermissions) will exist on any page when you are logged in.
|
#3
|
|||
|
|||
![]()
Actually, I put the "TODAY'S EVENTS" section into a hook in the forumdisplay_start. I confirmed that $eventinfo[calendarid] is bringing up the calendar ID of the event.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|