Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2860)
Allows users to set a reminder for any calendar event.
Adds an drop-down reminder menu icon (alarm clock) to events in the calendar and on post with linked events.
The reminder menu allows users to select pre-set reminder periods from 1 day to 8 weeks. They will be send an email reminder the selected period before any event.
Required Settings:
The calendar must be enabled in the admin control panel.
If you are also using my Event Registration mod (http://custom.simplemachines.org/mods/index.php?mod=3238) mod then this mod MUST be installed AFTER installing the event registration mod.
Languages Support:
British English
Dutch
Italian
.. and the utf8 versions of all of them....
v2.31
Install bug in Italian language file
v2.30
fixed undefined error when event has been deleted but reminder still set
v2.20
include_once used to avoid PHP redeclare errors if code used in a portal block
v2.10
Won't send out reminders for events that have alerady started
Schedule changed to once daily @ 1:10am (to avoid other midnight tasks)
v2.09
fixed emailtemplate error for unsupported languages
removed some debug code that was preventing emails being sent
added support for utf8 languages.
v2.08
Fixed issue that stopped reminders being sent at times.
Now handles reminders correctly if the event date is changed AFTER a reminder has been set
v2.07
fixed template errors caused by attempting support for non-english language for email
v2.06
fixed language undefined errors in scheduled task
v2.05
changed redirect in calreminder.php to return to home page if topic # is undefined
reminder menu no longer visible to guests
reminder icon reduced in size
Menu no longer available on same day as event (it's too late!)
... etc.
This mod looks good.
Would be ideal for my forum as it is for the local community and makes heavy use of the Calendar.
However on line 158 of my display template file I have this error.
Undefined Inex: View Week.
$url = '<li><a href="' . $scripturl . '?action=calreminder;eventid=' . $event['id'] . ';eventstart=' . $event['start_timestamp'] . (isset($context['current_year']) ? ';year=' . $context['current_year'] : '') . (isset($context['current_month']) ? ';month=' . $context['current_month'] : '') . (isset($context['current_day']) ? ';day=' . $context['current_day'] : '') . ($context['view_week'] ? ';viewweek' : '') . ';' . $context['session_var'] . '=' . $context['session_id'] . ';reminder=';
Edit the display template line 158 and replace:
$context['view_week']
..with
isset($context['view_week'])
.. I'll fix it at the next update (although it does work OK with the curve theme on RC4 ;D)
Will do it this afternoon.
Another thing I have noticed is not all the events have the image next to them.
The calendar is open to guests if ya wanna take a peep.
www.miltonkeynesaware.co.cc/mkaforum
Getting these errors now.
http://www.xxxxxx/index.php?action=calendar
Apply Filter: Only show the errors with the same message
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Apply Filter: Only show the errors from this file
File: /home/xxxxxpublic_html/xxxxx/Themes/default/Calendar.template.php
Line: 383
http://www.xxxxxx/xxxx/index.php?action=calendar
Apply Filter: Only show the errors with the same message
8: Undefined variable: rems_done
Apply Filter: Only show the errors from this file
File: /home/xxxxx/public_html/xxxx/Themes/default/Calendar.template.php
Line: 383
377:
/* The events are made up of:
378:
title, href, is_last, can_edit (are they allowed to?), and modify_href. */
379:
foreach ($day['events'] as $event)
380:
{
381:
382:
==>383: if (!in_array($event['id'],$rems_done))
384: {
385:
$rems_done[]=$event['id'];
386:
echo make_reminder_menu($event,null);
387: }
// If they can edit the event, show a star they can click on....
Hmm since the suggested edit was applied I now see the following on the page.
Parse error: syntax error, unexpected ')' in /home/xxx/public_html/xxxxx/Themes/default/Display.template.php on line 158
Looks like you mis-edited the template. Do a search and replace by copying the text from the post above.
Guests can't see the reminder icon in the calendar as, being guests, they haven't got an email address to recieve a reminder.
Here is the Dutch translation:
$txt['reminder_mod_title'] = ' stuur mij een email voordat dit evenement begint';
$txt['reminder_mod_hours'] = 'uren';
$txt['reminder_mod_day'] = 'dag';
$txt['reminder_mod_days'] = 'dagen';
$txt['reminder_mod_week'] = 'week';
$txt['reminder_mod_weeks'] = 'weken';
$txt['reminder_noremind'] = 'geen reminder';
$txt['reminder_emailsubject'] = 'Evenement Reminder!';
I'm not shure if this part is correct. Could you place that in context for me?
$txt['reminder_mod_title'] = ' stuur mij een email voordat dit evenement begint';
Embarrassingly, it's not actually used anywhere - I'll remove it next update :-[
Ok, then that is the Dutch translation ;) Have fun with it :)
Im getting the same (log) errors as Brack1 with a clean install on rc4 or rc5 with no errors during package setup and no manual edits.
Adds up to about 200-300 errors per day.
http://************/events/index.php?action=calendar;year=2011;month=3
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: /home2/************/public_html/events/Themes/default/Calendar.template.php (main sub template - eval?)
Line: 383
http://************/events/index.php?action=calendar;year=2011;month=3
8: Undefined variable: rems_done
File: /home2/************/public_html/events/Themes/default/Calendar.template.php (main sub template - eval?)
Line: 383
Andy
These aren't fatal errors - they should be fixed in the latest release though (05).
That was quick .... reminder5
:)
Seems like 1 error gone but still getting this one:
http://**********.com/events/index.php?action=calendar
8: Undefined variable: rems_done
File: /home2/*********/public_html/events/Themes/default/Calendar.template.php (main sub template - eval?)
Line: 379
Is there any way to set events to default to send emails to all members or individuals? We use calendar events for amongst other things recording who is on the swimming pool life guard rota and it would be great to be able to default to sending an email the day before each individuals "watch". Similarly we have some club events such as talk that we send a reminder about to our membership a couple of days before the event. It would be great if we could automate this via the forum.
Thanks for a useful mod.
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?
Thanks for the quick reply. I take your point about spam. In our case we have a restricted and small membership(a dive club) who actively want to be reminded about talks etc. H#ll try your suggestion about setting a reminder for myself as a prompt to email people.
In pool marshall rota is more of an issue for us as its a pain when someone forgets to turn up. I'll try taking a look at Outlook(shiver), although it sort duplicates enties somewhat.
I haven't tested this MOD out, just wondering of their is a PM reminder option, instead of sending an email?
Quote from: hcfwesker on March 06, 2011, 04:18:04 PM
I haven't tested this MOD out, just wondering of their is a PM reminder option, instead of sending an email?
Nope - it's really the same thing as most people elect to get email reminders of a PM
Nice mod! Glad to see some interest in improving the Calendar/Events features. Tnx! :)
Non-fatal error almost completely gone now ... I get an error when a guest selects a reminder from the calendar page - thats about it.
Adding to this post that one of my main uses for this mod is that the icon on the calendar splits up the events rather well - improves the standard calendar layout which makes it hard to see where one event title ends and the other begins - just the comma in small wrapped linked text. So it would be nice it it stayed rather than made invisible to guests...
I deleted my 0.7 but 2.0 cannot be installed right now on my RC4 ?!!!!
well, its meant for 2.0 gold... think its worth upgrading isnt it?
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.
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="*" />' : '') . ' ' . $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>
Thanks for this Mod
thanks you for mod :=)
Italian Translation..;)
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.
It's 12 midnight - probably should be 12 hours before rather than 8.
Got a strange looking subject title for an event reminder.
Quote=??B?T3V0ZG9vciBDbHViIEphcGFuICBcKE9DSlwpICDjgqLjgqbjg4jjg4njgqLjg7vjgq/jg6njg5bjg7vjgrjjg6Pjg5Hjg7Mg?=
Mightve been Japanese characters in the event tiltle ... but not on the calendar now - need to check again with alphabet only.
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.
Quote from: igirisjin on January 19, 2012, 08:06:53 AM
Got a strange looking subject title for an event reminder.
Quote=??B?T3V0ZG9vciBDbHViIEphcGFuICBcKE9DSlwpICDjgqLjgqbjg4jjg4njgqLjg7vjgq/jg6njg5bjg7vjgrjjg6Pjg5Hjg7Mg?=
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 :):
'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}',
),
'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}',
),
// 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';
// 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'] = ' раније';
$txt['scheduled_task_reminderemails'] = 'Slanje podsetnika događaja';
$txt['scheduled_task_desc_reminderemails'] = 'Šalje email-podsetnik za odabrane događaje iz kalendara članovima';
$txt['scheduled_task_reminderemails'] = 'Слање подсетника догађаја';
$txt['scheduled_task_desc_reminderemails'] = 'Шаље емаил-подсетник за одабране догађаје из календара члановима.';
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!
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.
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
Check that the "Send Event Reminders" Scheduled Task is appearing properly (in the Scheduled Tasks log).
Yes it does, please see attachment.... (if this is what you mean...)..
I meant check in the task log.....
Ah OK, sorry.... It is called: "sturen evenement rappels" in Dutch (all though I don't understand 'rappels' hehe)...
Attached..
I see a lot of "send_email_campaign" in that log... is that part of it too?
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?
Quote from: Vincent Volmer on October 25, 2012, 01:13:20 PM
I see a lot of "send_email_campaign" in that log... is that part of it too?
Nope
Quote from: HoverClub on October 25, 2012, 01:17:05 PM
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?
Hmmmm no email's waiting....... than this mod is not working for us.
Thanks, Vincent
Maybe it's the way we ara using it...
The calendar is disabled for normal members. It is only visible/usable for moderators, staf and a special membersgroup called designers. All have the calendar enabled.
Vincent
Send me a copy of your ScheduledTasks.php (Sources subdirectory) and I'll take a look.
Hereby ;)
I hope you can find a solution.
Vincent
This update (http://custom.simplemachines.org/mods/index.php?mod=2860) should fix it (very obscure bug!).
Thanks for the update! I installed it.... hope it works. Will let you know.
Is there something specific that needs to be done to get the latest 2.08 version mod available via Package Manager? Currently ours shows 2.05 as "current" in Package Mgr. Thank you.
Nope- just upload/download the latest version, then uninstall the older one and install the new one and that's it (the current/old version indicators aren't totally reliable in the Package Manager from what I've seen)
Hello,
After updating the notifications are still not working at our website.
Which version have you installed (2.09)?
Ohw.. I'm sorry. I have 2.08 installed. I'll try 2.09.... !! Didn't see the latest version.
Thanks, Vincent
Now I see some notifications, with wrong date ( year 1999) and horrible Dutch translation ;)
I think these are old notifications, from old test events, topics are already deleted..... I'll wait for the next notifications and let you know.
Vincent
Good - if you want better translations then please supply them and I'll include in the mod at the next update (look in the modifications.xml; file in the mod ZIP for the English version).
hehe... yes of course!
Hereby:
Modifications.dutch.php
$txt['reminder_mod_title'] = ' stuur mij een email herinnering voordat dit evenement begint';
$txt['reminder_mod_day'] = 'dag';
$txt['reminder_mod_days'] = 'dagen';
$txt['reminder_mod_week'] = 'week';
$txt['reminder_mod_weeks'] = 'weken';
$txt['reminder_noremind'] = 'Geen herinnering';
$txt['reminder_emailsubject'] = 'Evenement Herinnering!';
$txt['reminder_mod_before'] = ' voor';
EmailTemplates.dutch.php
'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' => '{EVENTNAME} Evenement herinnering',
'body' => '{REALNAME},
Dit is herinnering voor het evenement {EVENTNAME} dat begint op {EVENTSTART}. Voor meer informatie over dit evenement klik op deze link: {TOPIC}
{REGARDS}',
ManageScheduledTasks.dutch.php
$txt['scheduled_task_reminderemails'] = 'Stuur evenement herinneringen';
$txt['scheduled_task_desc_reminderemails'] = 'Stuurt e-mail herinneringen voor evenementen aan leden die geselecteerd zijn.';
Thanks!
If you have old reminders that didn't get sent for whatever reason, the mod will catch-up initially.
Hi, I'm in need of a bit more help. I've got both the Event Registration Mod and the Reminder Mod both installed. Everything seems okay but once I post an event I get this error:
Not unique table/alias: 'h'
File: /home/maggied/public_html/wodtribulations.com/smf/Sources/Display.php
Line: 574
I've got the Display.php attached. Not sure what 'h' means. :-\
Thanks ahead of time!
Also, I've posted this before but wasn't able to figure it out and I *think* it has to do with this mod. After events are posted, I get this on the Calendar on the date of the event:
Fatal error: Call to undefined function make_reminder_menu() in /home/maggied/public_html/wodtribulations.com/smf/Sources/Load.php(2214) : eval()'d code on line 398
turn off eval.
I've already addressed your issue in this thread (http://www.simplemachines.org/community/index.php?topic=462457.msg3445655#msg3445655). As was said, you've got parts of two different installations of this mod which you either need to remove manually OR restore from a backup and start again. It's almost impossible to trawl through all of the files trying to find duplicated or corrupted code caused by the double installation - far quicker and safer just to restore and start again.
magswood,
I think you are misunderstanding what a "reinstall" actually is in this case.
Copy fresh copies of all files in the Sources, Themes/default and root directories - overwriting the existing files on your server with the exception of Settings.php. (KEEP THAT FILE UNTOUCHED)
your forum will be now reset by removing all mods.
All DATA (boards, messages, users, etc) is stored in the database and will be untouched.
In the future, take regular backups - especially before installing mods.
Yes thank you. Once this is fixed proper, I'll be backing up. I did that. Reinstalled fresh copies of those files. Now, when trying to view the calendar I get this error:
Fatal error: Cannot redeclare handler() (previously declared in /home/maggied/public_html/wodtribulations.com/smf/Sources/calreminder.php:8) in /home/maggied/public_html/wodtribulations.com/smf/Sources/calreminder.php on line 47
This is after I re-installed the mods per the instructions on top of the fresh files you noted.
Sorry for being a bit daft, I'm new and learning as I go.
it would seemt hat you did not successfully overwrite all the existing files.
Do this.
Delete all files in /Sources.
Delete all files in /Themes/default
(you can leave any subdirectories alone)
delete index.php and SSI.php in the root directory
Now, upload fresh copies of the files for /Sources, /Themes/default, index.php and SSI.php
THEN try reinstalling mods.
Question - Will this effect the other mods I have installed? The only one I'm terribly concerned with is the Helpdesk mod. If so not a big deal, just curious if I need to uninstall all mods in the admin panel.
Thank you again for your help!
yes. Doing this will remove ALL mods which you have previously installed. They will have to be re-installed.
(hence my reminder - always take a backup before installing a new mod)
Thank you so much, that solved the problem. And I have a backup :)
Possible german_informal translation:
/Themes/default/languages/Modifications.german_informal.php
// Event reminder mod
$txt['reminder_mod_day'] = 'Tag';
$txt['reminder_mod_days'] = 'Tage';
$txt['reminder_mod_week'] = 'Woche';
$txt['reminder_mod_weeks'] = 'Wochen';
$txt['reminder_noremind'] = 'keine Erinnerung';
$txt['reminder_emailsubject'] = 'Veranstaltungserinnerung!';
$txt['reminder_mod_before'] = ' bevor';
/Themes/default/languages/EmailTemplates.german_informal.php
'event_reminder' => array(
/*
@Zusätzliche Parameter für: event_reminder
EVENTNAME: Veranstaltungsname.
EVENTSTART: Startdatum der Veranstaltung.
TOPIC: Link zur Veranstaltung.
REALNAME: Empfängername.
@Beschreibung:
*/
'subject' => '{EVENTNAME} Erinnerungsmail',
'body' => '{REALNAME},
Dies ist eine Erinnerungsmail, dass die Veranstaltung {EVENTNAME} am {EVENTSTART} beginnt. Für weitere Informationen klicke folgenden Link: {TOPIC}
{REGARDS}',
),
/Themes/default/languages/ManageScheduledTasks.german_informal.php
$txt['scheduled_task_reminderemails'] = 'Sende Erinnerungsmails';
$txt['scheduled_task_desc_reminderemails'] = 'Sendet Erinnerungsmails an Benutzer die sich für eine Erinnerungsmail angemeldet haben.';
This MOD is pretty good... Will be beneficial for a lot of forums...
Kudos!!! :) :)
Hello, could this mod possibly be backported for SMF 1.1.18 please? Thank you!
Not by me (I've never used SMF 1 and no reason to start now) but anyone else is welcome to try?
..... cancel that - SMF1 doesn't have a scheduled task system so this mod can never work with it.
Could it be done through a cronjob?
Anything is possible if you have the time and skill - I don't have the the first one ::)
Tried to install this MOD (v2.31) on SMF 2.0.8 and the prechecks pulled up the following error:
* 2. Execute Modification ./Themes/default/Display.template.php Test failed
1. Add After ./Themes/default/Display.template.php Test successful
2. Add After ./Themes/default/Display.template.php Test failed
3. Add Before ./Themes/default/Display.template.php Test successful
I've reverted SMF back to the standard theme and still see the same error messages.
Is there any problem in proceeding with the installation?
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Thanks for the link.
Installed the mod and found out that I didn't need to change anything - changes were made by the installation code.
Except that the changes were not made... Anything that was marked as test failed was NOT changed.
Reading the mod-page, it occurs to me, this mod has not been worked on for some 4-ish years.
I use 2.0.13. Does this mod work with my system or does it screw things up?
I get an error when trying to install on my test platform so you may have to emulate.
http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Or:
http://wiki.simplemachines.org/smf/Error_in_mod_installation
I don't know if it will work or not but gonna try installing this on 2.0.18 but need help...
In Display.template.php it says to add:
($context['user']['is_guest'] ? '' : make_reminder_menu($event)) .
After:
($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') .
My Display.template.php:
($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), '
is there anything after that in your display.template.php
if not then just change your code to match what it wants
the end result should be
' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . ($context['user']['is_guest'] ? '' : make_reminder_menu($event)) . '
that is if you haven't added something else that changed that line
Quote from: shadav on August 08, 2021, 03:40:17 PM
is there anything after that in your display.template.php
if not then just change your code to match what it wants
the end result should be
' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . ($context['user']['is_guest'] ? '' : make_reminder_menu($event)) . '
that is if you haven't added something else that changed that line
Ok, it was that period (.) toward the end was screwing me up cause mine code has a comma (,) Thanks ;)
Quote from: Shades. on August 08, 2021, 04:13:47 PM
Quote from: shadav on August 08, 2021, 03:40:17 PM
is there anything after that in your display.template.php
if not then just change your code to match what it wants
the end result should be
' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . ($context['user']['is_guest'] ? '' : make_reminder_menu($event)) . '
that is if you haven't added something else that changed that line
Ok, it was that period (.) toward the end was screwing me up cause mine code has a comma (,) Thanks ;)
make sure at the start it's a period also and not a comma
' . $event['start_date']
Ah ok got it thanks that fixed it! 8)
Morning all,
Love this mod but now on 2.1.4; has anyone got it to work on 2.1 yet?
Mod Owner - any chance a 2.1 update is coming?
Thank you,
Bugginin
Since the mod author has not been online in over 18 months... probably not.
Quote from: Kindred on November 29, 2023, 11:05:08 AMSince the mod author has not been online in over 18 months... probably not.
You are starting to be the bad news guy... LOL
Ouch, that sucks...