The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Including event information in the 'forumdisplay' section.
I have a little bit of an issue. I want to be able to display upcoming events not just in 'forumhome' but also in 'forumdisplay'. I made the appropriate template change to include the event section from Forum Home Template >> FORUMHOME into Forum Display Template >> FORUMDISPLAY and then located the code that apparently sets the $show['upcomingevents'] and other variables necessary for the event data to be displayed correct and create a plugin that hooked into forumdisplay_start.
I thought this would pull in the necessary data to allow the template conditionals and the data required to function within 'forumdisplay.php' but it's not. Basically I cut and past the code out of index.php from // ### TODAY'S EVENTS down to the next header with a couple of minor tweaks. No PHP errors are being reported by the eval() but the <if condition="$show['upcomingevents']"> conditional isn't firing and there is no data in $upcomingevents. Could somebody help me out and point me at what I'm doing wrong/missed in this? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|