![]() |
Calendar Event INSERT
I am working on a bit of a modification/addition for my site and I am in need of some help. I am building a script that will be cronned and will insert events into the calendar every day. I have the script built and the insert query working however for some reason the even does not show in the calendar. I can access the event via the url for the eventid and it works fine, and I can edit the event and it will then show in the calendar. So I am missing something that needs to happen in addition to the INSERT into the event table.
To complicate matters, I can't find where the existing functions are for the event creation in the files. I am looked through calendar.php, class_dm_event and functions_calendar and can't find a single insert there anywhere. Code:
$vbulletin->db->query_write(" --------------- Added [DATE]1273603886[/DATE] at [TIME]1273603886[/TIME] --------------- Entering a row directly to the database does the same thing. So it must be some cache function I am missing or something. |
If anyone is interested in helping out, here is the code I am using. This is to be cronned as a scheduled task.
PHP Code:
|
Still looking for help with this...
|
^^ Still looking.
|
Most of the times, it's the stupid things. The date from has to be midnight gmt.
|
So Reefland
how's the progress on this? Is it showing up now? |
All times are GMT. The time now is 02:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|