News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Calendar Event Reminder

Started by HoverClub, January 28, 2011, 06:48:03 PM

Previous topic - Next topic

OCJ

well, its meant for 2.0 gold... think its worth upgrading isnt it?

HoverClub

Quote from: petesky on July 01, 2011, 07:49:58 AM
I deleted my 0.7 but 2.0 cannot be installed right now on my RC4 ?!!!!

I would recommend upgrading for the security fixes in 2.0.  Otherwse, don't bother updating this mod - there are no functional changes or serious bug fixes in the 2.0 version.

TheListener

Been getting tons of the following error.

Apply Filter: Only show the error messages of this URL
http://www.xxxxxxxxxxxx/index.php?topic=573.0
Apply Filter: Only show the errors with the same message
8: Undefined index: reminder
Apply Filter: Only show the errors from this file
File: /home/xxxx/public_html/xxxxxx/Themes/default/Display.template.php
Line: 179

169:
$menu = '<ul class="dropmenu" id="menu_rem">
170:
<li id="button_rem">
171:    
<span class="firstlevel"><img src="' . $settings['images_url'] . '/icons/notify_sm.gif" alt="*" /></span>
172:    
<ul>
173:    
' . $url . '0' . '"><span>' . ($event['reminder']==0 ? '<img src="' . $settings['images_url'] . '/icons/field_valid.gif" alt="*" />' : '') . '&nbsp;' . $txt['reminder_noremind'] . '</span></a>
174:
</li>';
175:    
176:
foreach ($periods as $time=>$msg)
177:    
{
178:
if (($event['start_timestamp']-$time)>time())
==>179:    
$menu .= $url . $time . '"><span>' . ($event['reminder']==$time ? '<img src="' . $settings['images_url'] . '/icons/field_valid.gif" alt="*" />' : '') . $msg . '</span></a></li>';
180:    
}
181:    
return $menu . '
</ul>

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Alpay


bruce86


DaleM

Thank you for this mod!

When you select "8 hours" before the event for the reminder, what *time* is being used? 12 midnight or 12 noon? Something else?

The calendar table does not store a time, so I was wondering what "8 hours" would be calculated against.

Thanks.

HoverClub

It's 12 midnight - probably should be 12 hours before rather than 8.

OCJ

Got a strange looking subject title for an event reminder.

Quote=??B?T3V0Z​G9vciBDbHVi​IEphcGFuICB​cKE9DSlwpIC​DjgqLjgqbjg​4jjg4njgqLj​g7vjgq/jg6n​jg5bjg7vjgr​jjg6Pjg5Hjg​7Mg?=

Mightve been Japanese characters in the event tiltle ... but not on the calendar now - need to check again with alphabet only.


Kindred

ok.   This was a nice-clean uninstall and re-install -- even with the huge number of mods currently running....
with the exception of the new function at the end of display.template.php.
Another mod had added another new function between this one and the ?>. Which made the uininstall fail, because the ?> did not immediately follow the reminder function.

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

PPZ-01

Quote from: igirisjin on January 19, 2012, 08:06:53 AM
Got a strange looking subject title for an event reminder.

Quote=??B?T3V0Z​G9vciBDbHVi​IEphcGFuICB​cKE9DSlwpIC​DjgqLjgqbjg​4jjg4njgqLj​g7vjgq/jg6n​jg5bjg7vjgr​jjg6Pjg5Hjg​7Mg?=

Mightve been Japanese characters in the event tiltle ... but not on the calendar now - need to check again with alphabet only.


     I have the same problem, instead of normal subject I get this.Is there any help for it?

BTW, here is Serbian translation, both Latin and Cyrillic versions :):

     
Code (Email.templates.serbian_latin-utf8.php) Select
'event_reminder' => array(
/*
@additional_params: event_reminder
EVENTNAME: display name for member.
EVENTSTART: start date of the event.
TOPIC: url to forum topic for the event.
REALNAME: real user name.
@description:
*/
'subject' => 'Podsetnik',
'body' => '{REALNAME},

Ovaj email te podseća na  {EVENTNAME} koji počinje {EVENTSTART}.  Za više informacija klikni na sledeći link: {TOPIC}

{REGARDS}',
),


Code (Email.templates.serbian_cyrillic-utf8.php) Select
'event_reminder' => array(
/*
@additional_params: event_reminder
EVENTNAME: display name for member.
EVENTSTART: start date of the event.
TOPIC: url to forum topic for the event.
REALNAME: real user name.
@description:
*/
'subject' => 'Подсетник',
'body' => '{REALNAME},

Овај емаил те подсећа на  {EVENTNAME} који почиње {EVENTSTART}.  За више информација кликни на следећи линк: {TOPIC}

{REGARDS}',
),


Code (Modifications.serbian_latin-utf8.php) Select
// podsetnik
$txt['reminder_mod_day'] = 'dan';
$txt['reminder_mod_days'] = 'dana';
$txt['reminder_mod_week'] = 'sedmicu';
$txt['reminder_mod_weeks'] = 'sedmice';
$txt['reminder_noremind'] = 'ne podsećaj';
$txt['reminder_emailsubject'] = 'Podsetnik događaja!';
$txt['reminder_mod_before'] = ' ranije';


Code (Modifications.serbian_cyrillic-utf8.php) Select
// podsetnik
$txt['reminder_mod_day'] = 'дан';
$txt['reminder_mod_days'] = 'дана';
$txt['reminder_mod_week'] = 'седмицу';
$txt['reminder_mod_weeks'] = 'седмице';
$txt['reminder_noremind'] = 'не подсећај';
$txt['reminder_emailsubject'] = 'Подсетник догађаја!';
$txt['reminder_mod_before'] = ' раније';


Code (ManageScheduledTasks.serbian_latin-utf8.php) Select
$txt['scheduled_task_reminderemails'] = 'Slanje podsetnika događaja';
$txt['scheduled_task_desc_reminderemails'] = 'Šalje email-podsetnik za odabrane događaje iz kalendara članovima';


Code (ManageScheduledTasks.serbian_cyrillic-utf8.php) Select
$txt['scheduled_task_reminderemails'] = 'Слање подсетника догађаја';
$txt['scheduled_task_desc_reminderemails'] = 'Шаље емаил-подсетник за одабране догађаје из календара члановима.';


     

PPZ-01

     Well, let me answer to myself  ;D

      Problem with subject was that I was using country-specific characters in subject, which was by some mail servers treated as code or something, so people were getting such a strange subject email.
      As soon as I changed subject to simple letters, with no special characters, everything worked.

      It SHOULD work and with special characters, especially because people in my country are using two kinds, cyrillic and latin sets, and sending and receiving emails written in them, but hey, I solved my problem!  ;D  It is important to me that subject is understandable, and I got it.

      HoverClub,thank you for this great mod!

Vince S

Quote from: HoverClub on March 01, 2011, 01:57:32 PM
It would probably be possible to send a bulk reminder email to all members but that's a guaranteed way to get listed as a spam site ::)

Why not set a reminder for yourself using this mod, then send a newsletter "reminder" (Admin->Main->News and Newsletters->Newsletters) to specific groups?

With SMF 2's nicely paced email release what's the prospects of revisiting this request? As admin I would like to be able to subscribe all members that haven't unticked the "receive notifications from admins" box. In our case that would apply to all events, but obviously there may be events where that is not called for. Can I do this as a manual exercise via updating a database once the next year's calendar events are listed (typically an event every fortnight)? Obviously it would be really helpful to tick a box to announce the topic at the designated reminder point, any chance of that? The reality is that relying on myself to generate the reminders simply isn't realistic and an "opt out" .vs. "opt in" approach would be much more helpful. Thank you.
Try figuring out where all this is going to keep coming from: Millionaire Baby? Or just pass me a beer and we'll sort it, thank you.....

Vincent Volmer

Thanks for this mod.....

It looks OK but I (and also other members) don't receive any notifications.....

We're using 2.0.2 with PortaMx (and some other mods).
What can be wrong? Did I miss a setting somewhere?

Thanks,
Vincent

HoverClub

Check that the "Send Event Reminders" Scheduled Task is appearing properly (in the Scheduled Tasks log).

Vincent Volmer

Yes it does, please see attachment.... (if this is what you mean...)..

HoverClub

I meant check in the task log.....

Vincent Volmer

Ah OK, sorry.... It is called: "sturen evenement rappels" in Dutch (all though I don't understand 'rappels' hehe)...

Attached..

Vincent Volmer

I see a lot of "send_email_campaign" in that log... is that part of it too?

HoverClub

OK - now check the email queue is empty (Maintenance ->Mail->browse queue).

If it is then I've no idea why reminder emails aren't being sent by your site?

Advertisement: