 |
 |
 |
 |
#199233 - 12/25/04 08:48 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
Give this a shot, no guarantee it'll work. In ubb_lib_calendar.cgi FIND: &do_add_event_general($eventtitle, $julian_day, 1, $message, $username); ADD AFTER: my $calendar_message = qq~$username has added a new event.
It can be found <a href="~ . $ULTIMATEBB{"ubb=calendar;date=$julian_day"} .
qq~">here. ($eventtitle)</a>~;
my $forum = 4;
my $Moderator = &build_mod_emails($forum);
&RequireCode("$vars_config{CGIPath}/ubb_lib_mail.cgi");
&ubb_mail_tng({
'EmailTo' => $Moderator,
'EmailFrom' => $vars_display{BBEmail},
'EmailReplyTo' => $vars_display{BBEmail},
'BCCList' => undef,
'Subject' => qq~$username has added a calendar event (Title: $eventtitle)~,
'TextMessage' => $calendar_message . " ... " . $ULTIMATEBB{"ubb=calendar;date=$julian_day"},
'HTMLMessage' => $calendar_message,
'CCList' => undef,
});Set $forum to whichever forum who's moderators you want to know about the new event
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199238 - 01/09/05 10:17 AM
Re: [6.6 - 6.7] [finished] Calendar
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
A CRON job is the ability to schedule tasks to be completed at different intervals through out the day, week or month.
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|