The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Upcoming Events next X days (from index) on an external page: no luck so far
Modification Request
Display calendar events from the next x days on a non-vbulletin page. Lack of Success So Far I've been trying to create my own hack that shows a table of the upcoming events (as on the index page if that option is set) on an external page. I haven't been having much luck so far and am looking for some guidance. What's already been done by others (at vb.org) From looking through this site, I find that Sharg has enlisted Colin F to do this exact hack as a service request (paid hack) - see https://vborg.vbsupport.ru/showthread.php?t=69184 . There is also a very basic example of exporting the latest calendar entries at https://vborg.vbsupport.ru/showthread.php?t=64584 (which isn't what I want: I want those that occur in the next 14 days, including whatever recurring events fall in that period). What I've unsuccessfully coded I've been trying to work from the code in index.php to recreate this in another page but with only the calendar output as returned in the $upcomingevents variable. I ended up with the attached file - which requires several php files, as does the index.php page. I would have preferred to avoid emulating the index.php script but since my knowledge of php isn't that good I didn't/couldn't just start coding from scratch. I managed to get the desired result on my local machine (running an offline trial copy of my site) but when I uploaded it to http://www.waitaraweb.com/forum/upcomingevents.php I get the following error: Quote:
What are my Options?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|