• Welcome to Simple Machines Community Forum. Please login or sign up.
January 27, 2022, 12:42:27 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Calendar Event Reminder

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

Previous topic - Next topic

magswod

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.

Kindred

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.
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."

magswod

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!

Kindred

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)
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."

magswod

Thank you so much, that solved the problem. And I have a backup :)

demlak

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.';


Devpro

This MOD is pretty good... Will be beneficial for a lot of forums...
Kudos!!!  :) :)

littlenicki

Hello, could this mod possibly be backported for SMF 1.1.18 please? Thank you!
Fomer SMF user. Switched to Invision Power Board and VBulletin

HoverClub

Not by me (I've never used SMF 1 and no reason to start now) but anyone else is welcome to try?

HoverClub

..... cancel that - SMF1 doesn't have a scheduled task system so this mod can never work with it.

littlenicki

Could it be done through a cronjob?
Fomer SMF user. Switched to Invision Power Board and VBulletin

HoverClub

Anything is possible if you have the time and skill - I don't have the the first one  ::)

zbluebirdz

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?

Kindred

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."

zbluebirdz

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.

Kindred

Except that the changes were not made... Anything that was marked as test failed was NOT changed.
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."

SMiFFER

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?
At least these 16 (getting more???)steps must be completed for SMF2.1 Final.
Last Full Version: 2.0 Final released more than 10 years ago on 20110604

QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Steve

Please do not PM me for support.

Shades.

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'] : ''), '

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

shadav

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

Advertisement: