![]() |
event datamanager
hi
i have used the code from calanders.php to try and insert an event into the calander but i keep getting internet explorer can not display the page so no errors and no clue i have included the code below. PHP Code:
|
How are you running the code?
|
this is inside the admincp in a file where all my admin code is i have already used the thread and pm datamanagers alright
got it sorted now unsure what the problem was |
You've probably figured out your problem by now, but for anyone else that might be trying to do this, I finally got it working. The biggest problem I had was getting the date and time formats correct, and also figuring out that choosing a type of 'single' meant that you couldn't set the time (single is apparently just for all-day events).
Here's the code I have for inserting a calendar entry: Code:
function addEvent($date, $title, $info, $userid) { |
All times are GMT. The time now is 08:18 PM. |
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:
|