loneranger
02-03-2008, 11:00 AM
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.
$eventdata = new vB_DataManager_Event($vbulletin, ERRTYPE_STANDARD);
$eventdata->set_info('fromtime', 1530);
$eventdata->set_info('fromdate', $date_event);
$eventdata->set_info('type', 'single');
$eventdata->set_info('recur', 0);
$eventdata->set('title', "Clan Match");
$eventdata->set('event', "Clan Match ");
$eventdata->set('allowsmilies', false);
$eventdata->set('utc', 0);
$eventdata->set('recurring', 0);
$eventdata->set('calendarid', 1);
$eventdata->set('dst', 0);
$eventdata->set('visible', 1);
$eventdata->set('userid', $vbulletin->userinfo['userid']);
$eventdata->set('calendarid', 1);
$eventid = $eventdata->save();
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.
$eventdata = new vB_DataManager_Event($vbulletin, ERRTYPE_STANDARD);
$eventdata->set_info('fromtime', 1530);
$eventdata->set_info('fromdate', $date_event);
$eventdata->set_info('type', 'single');
$eventdata->set_info('recur', 0);
$eventdata->set('title', "Clan Match");
$eventdata->set('event', "Clan Match ");
$eventdata->set('allowsmilies', false);
$eventdata->set('utc', 0);
$eventdata->set('recurring', 0);
$eventdata->set('calendarid', 1);
$eventdata->set('dst', 0);
$eventdata->set('visible', 1);
$eventdata->set('userid', $vbulletin->userinfo['userid']);
$eventdata->set('calendarid', 1);
$eventid = $eventdata->save();