The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Today's events on non-index pages
I need to put Today's events bar (the one at the end of the index.php page) also in forumdisplay.php but I have some problems. Simply pasting event parsing code from index.php to forumdisplay.php seems not to work, trying to debug why events doesn't show I noticed that removing $bbuserinfo['calendarpermissions']["$eventinfo[calendarid]"] from if ($bbuserinfo['calendarpermissions']["$eventinfo[calendarid]"] & CANVIEWCALENDAR OR $eventinfo['holidayid']) fixes the problem and events shows up and templates are ok. I think removing that piece of code would turn off user permissions on calendar view so I'd like to mantain it in place.
Any ideas or suggestion? I've tried also to put entire index.php code into forumdisplay.php, with necessary adjustements, but nothing changed. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|