PDA

View Full Version : Today's events on non-index pages


OsMoSiS.it
09-23-2004, 03:37 PM
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.

traderx
11-23-2004, 06:05 PM
Any updates on this.... I would also like to use this

Coll