Advertisement:

Author Topic: Email Template Editor  (Read 65012 times)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,211
  • Gender: Male
    • i30 Owners Club
Re: Email Template Editor
« Reply #60 on: February 22, 2012, 03:27:37 AM »
...I'll have to release an update soon...I was just looking at it yesterday and gosh is it OLD ;)

Old or not, I spotted the link to your mod yesterday (as a possible workaround to a members problem) and I was curious so I installed it on my forum.

What a cracking piece of functionality you've provided! Stunning implementation too, I have to say  8)

Well done, and thanks  ;)

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #61 on: February 22, 2012, 11:30:25 AM »
Haha thank you very much :)

Offline djohns

  • Semi-Newbie
  • *
  • Posts: 33
Re: Email Template Editor
« Reply #62 on: March 25, 2012, 04:14:25 PM »
I'm trying to install this mod (Email Template Editor); running SMF 2.0.2 w/update 1.0, and have used package installer w/o problems for a few other mods.  When I try to install Email Template Editor by uploading the zipped file from my PC, I receive the following error:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

The zip file permissions are 0777.

When I try to install directly from SMF, I receive the error:

Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem ...

Packages & its subdirectory temp permissions are both 755.

Suggestions would be greatly appreciated.

Thank you.

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #63 on: March 25, 2012, 04:23:13 PM »
Try installing the package via the Package Manager without modifying it at all. Use Version Emulate under the "Advanced" link.

Offline djohns

  • Semi-Newbie
  • *
  • Posts: 33
Re: Email Template Editor
« Reply #64 on: March 25, 2012, 05:00:17 PM »
Thank you.

What version should I emulate?  I tried typing in "SMF 2.0 RC5" but I still don't get the option to install (nor with 2.02).  Please see attached screenshot.


Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #65 on: March 25, 2012, 05:01:43 PM »
Uhh try SMF 2.0 RC4, I didn't update any of my mods for SMF 2.0 RC5.

Offline djohns

  • Semi-Newbie
  • *
  • Posts: 33
Re: Email Template Editor
« Reply #66 on: March 25, 2012, 05:08:04 PM »
Bingo!  That did the trick. 

I was too chicken to try the emulation before.  Thank you.

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #67 on: March 25, 2012, 05:09:23 PM »
Version Emulate literally can't hurt anything, it just attempts to install a mod for your version that aren't "officially" compatible with your version even though the edits may still work.

Offline djohns

  • Semi-Newbie
  • *
  • Posts: 33
Re: Email Template Editor
« Reply #68 on: March 25, 2012, 05:23:52 PM »
Very good to know!

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: Email Template Editor
« Reply #69 on: March 26, 2012, 06:45:34 AM »
very nice - works without any changes also for 2.0.2 - i just modified package-info.xml and added 2.0.2

if you like - find attached the german files also the translation is neccessary for Help.german(-utf8).php and Modifications.german(-utf8).php

Code: [Select]
<file name="$themedir/languages/Help.german-utf8.php">
<operation>
<search position="end"></search>
<add><![CDATA[
// Labradoodle-360; Email Template Editor
global $context, $txt, $scripturl, $settings;
$helptxt['email_template_help_global_presets'] = 'Globale Variablen sind einfache Abk&uuml;rzungen, welche in allen Email-Vorlagen verwendet werden k&ouml;nnen.<br /><br /><strong>Liste der globalen Variablen</strong><br /><div style="font-size: 6pt;">{FORUMNAME} => '. $context['forum_name']. '<br />{SCRIPTURL} => '. $scripturl. '<br />{THEMEURL} => '. $settings['theme_url']. '<br />{IMAGESURL} => '. $settings['images_url']. '<br />{DEFAULT_THEMEURL} => '. $settings['default_theme_url']. '<br />{REGARDS} => '. $txt['regards_team']. '</div><br /><em>Shortcut => Output</em>';
$helptxt['email_template_help_send_test_email'] = 'Mittels der Option des Versendens einer Testmail (nach Auswahl einer Vorlage und des Eintragens einer Email-Empf&auml;ngeradresse), l&auml;sst sich das prima testen.';
// End Labradoodle-360; Email Template Editor
]]></add>
</operation>
</file>
<file name="$themedir/languages/Help.german.php">
<operation>
<search position="end"></search>
<add><![CDATA[
// Labradoodle-360; Email Template Editor
global $context, $txt, $scripturl, $settings;
$helptxt['email_template_help_global_presets'] = 'Globale Variablen sind einfache Abk&uuml;rzungen, welche in allen Email-Vorlagen verwendet werden k&ouml;nnen.<br /><br /><strong>Liste der globalen Variablen</strong><br /><div style="font-size: 6pt;">{FORUMNAME} => '. $context['forum_name']. '<br />{SCRIPTURL} => '. $scripturl. '<br />{THEMEURL} => '. $settings['theme_url']. '<br />{IMAGESURL} => '. $settings['images_url']. '<br />{DEFAULT_THEMEURL} => '. $settings['default_theme_url']. '<br />{REGARDS} => '. $txt['regards_team']. '</div><br /><em>Shortcut => Output</em>';
$helptxt['email_template_help_send_test_email'] = 'Mittels der Option des Versendens einer Testmail (nach Auswahl einer Vorlage und des Eintragens einer Email-Empf&auml;ngeradresse), l&auml;sst sich das prima testen.';
// End Labradoodle-360; Email Template Editor
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
// Labradoodle-360; Email Template Editor
$txt['email_template_editor'] = 'Email Vorlagen-Editor';
// End Labradoodle-360; Email Template Editor
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php">
<operation>
<search position="end"></search>
<add><![CDATA[
// Labradoodle-360; Email Template Editor
$txt['email_template_editor'] = 'Email Vorlagen-Editor';
// End Labradoodle-360; Email Template Editor
]]></add>
</operation>
</file>

Screenshot:
« Last Edit: March 26, 2012, 06:58:44 AM by Inti31 »
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #70 on: March 26, 2012, 02:20:40 PM »
Wow, thank you very much! :) Do you mind if I contact you when I update the mod for updated strings in case I change some?

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: Email Template Editor
« Reply #71 on: March 26, 2012, 03:27:26 PM »
don't hesitate to get me informed if there are updated strings

cheers inti31
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #72 on: March 26, 2012, 03:49:54 PM »
Great, thanks! :)

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Male
  • www.zgempire.com
Re: Email Template Editor
« Reply #73 on: April 03, 2012, 11:15:10 AM »
I specifically installed this MOD, because I wanted to edit the eMail that gets sent out on Birthday's.

I can't seem to find the Birthday email in the template. Am I blind, or, is this something that wasn't integrated into this mod? Thanks! :)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,211
  • Gender: Male
    • i30 Owners Club
Re: Email Template Editor
« Reply #74 on: April 03, 2012, 12:56:25 PM »
I can't seem to find the Birthday email in the template. Am I blind, or, is this something that wasn't integrated into this mod? Thanks! :)
Birthday salutations are not in my implementation

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #75 on: April 03, 2012, 01:30:33 PM »
That is actually an existing setting somewhere, I believe. Part of Calendar, maybe? I don't think it's directly a part of email templates.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,065
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: Email Template Editor
« Reply #76 on: April 03, 2012, 01:51:15 PM »
Birthday email template is in Administration Center » Mail » Settings, but you can't edit it there, or edit option is somewhere else..
Polskie wsparcie SMF na simplemachines.org

My mods

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #77 on: April 03, 2012, 01:56:40 PM »
Ah right, hmm, I wonder where the strings are. O:)

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,065
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: Email Template Editor
« Reply #78 on: April 03, 2012, 02:27:44 PM »
everything is in EmailTemplates.[lang].php ;)
Polskie wsparcie SMF na simplemachines.org

My mods

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Male
  • www.zgempire.com
Re: Email Template Editor
« Reply #79 on: April 10, 2012, 02:31:17 PM »
Any update on this?  8)