Advertisement:

Author Topic: Email Template Editor  (Read 66219 times)

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #80 on: April 10, 2012, 02:49:49 PM »
Nopeee, not yet ;)

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,779
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Email Template Editor
« Reply #81 on: April 10, 2012, 04:57:50 PM »
What an incredible MOD!

I wish it were available for 1.x, crap!

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #82 on: April 10, 2012, 04:58:24 PM »
Thank you very much :) And sorry, I don't ever intend on writing a 1.1x mod again (knock on wood).

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,779
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Email Template Editor
« Reply #83 on: April 10, 2012, 05:01:00 PM »
Thank you very much :) And sorry, I don't ever intend on writing a 1.1x mod again (knock on wood).

This should be standard on SMF. Don't get me wrong, I can do this myself by editing the language files, but what a hassle!

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #84 on: April 10, 2012, 05:04:44 PM »
Yeah, who knows, they might incorporate it for 2.1 if it's requested enough for the core. It's definitely more useful than having to manually modify the files, plus it stores the originals in case you want to revert.

Although it's definitely time for a rewrite if I ever have time :P

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,779
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Email Template Editor
« Reply #85 on: April 10, 2012, 05:36:40 PM »
Yeah, who knows, they might incorporate it for 2.1 if it's requested enough for the core. It's definitely more useful than having to manually modify the files, plus it stores the originals in case you want to revert.

Although it's definitely time for a rewrite if I ever have time :P

Naw, your coding is fine, they should ask for your rights :laugh:

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Male
  • www.zgempire.com
Re: Email Template Editor
« Reply #86 on: April 20, 2012, 12:26:14 PM »
Nopeee, not yet ;)

Sounds good. I'll keep checking back...

Offline jennyc

  • Semi-Newbie
  • *
  • Posts: 31
Re: Email Template Editor
« Reply #87 on: April 23, 2012, 02:24:56 PM »
Hello

Apologies but I dont know how to do coding etc. I went to download this via the package manager and there wasn't a download button beside it and now I'm stuck. lol

Thanks guys
Jenny

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #88 on: April 23, 2012, 02:41:11 PM »
Here are some links that will hopefully be useful for you.

Offline Laura CGA

  • Semi-Newbie
  • *
  • Posts: 24
Re: Email Template Editor
« Reply #89 on: July 08, 2012, 11:36:18 AM »
Any chance of updating it for 2.02?    ...... Please

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Email Template Editor
« Reply #90 on: July 08, 2012, 11:38:54 AM »
It should work with SMF 2.0.2. Emulate SMF 2.0 RC5.
How can I install a mod that doesn't work in my SMF version?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline dvk01

  • Jr. Member
  • **
  • Posts: 125
    • The Spykiller
Re: Email Template Editor
« Reply #91 on: September 26, 2012, 09:48:37 AM »
I have join reason mod installed and want the join reason to be sent in the Admin Notify Approval email
how do I get that variable in there or can't it be done using this mod

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #92 on: September 26, 2012, 01:15:39 PM »
You're probably going to want to ask live (author of Join Reason Mod) how best to integrate his modification into Email Template Editor.

Offline dvk01

  • Jr. Member
  • **
  • Posts: 125
    • The Spykiller
Re: Email Template Editor
« Reply #93 on: September 26, 2012, 01:33:52 PM »
OK I will try that

Offline retiredat44

  • Newbie
  • *
  • Posts: 5
Re: Email Template Editor
« Reply #94 on: October 26, 2012, 06:25:01 PM »
Like someone else said, it doesn't work with smf 2.0.2
===

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
===
Install ModPlease remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Installations actions for "Email Template Editor" The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 


SMF 2.0.2 | SMF © 2011, Simple Machines

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #95 on: October 26, 2012, 08:37:54 PM »
Try a manual installation, other than that it won't work until I update it.

Offline fairchilde

  • Newbie
  • *
  • Posts: 4
Re: Email Template Editor
« Reply #96 on: October 29, 2012, 07:44:49 PM »
First off, GREAT mod!!!

Secondly, I have another mod (Join Reason) that I have modified to request for the name of the person/place referring them to my site.  I'd like to integrate their answer into the auto-generated email that comes to me as Admin (Admin Notify Approval).

My question is this: when using your mod to write up an email, there is a list of Global Preset Variables and I'd like to enter in a variable into that email that will automatically pull that into the email sent to me. Is that a possibility?

***EDIT*** I did notice that you had asked a previous poster to refer to the Join Reason mod dev on instructions regarding this, and I seem to have gotten a partial answer, but I still do not know how to manipulate the Global Variables to add a '{JOINREASON}'

Thank you!!!!!
« Last Edit: October 29, 2012, 08:02:42 PM by fairchilde »

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #97 on: October 29, 2012, 09:48:29 PM »
Hey there, thank you! :)

I don't know enough about how Join Reason works to integrate it on the fly for you...

Offline fairchilde

  • Newbie
  • *
  • Posts: 4
Re: Email Template Editor
« Reply #98 on: October 29, 2012, 10:46:08 PM »
Understandable, but isn't the Global Preset Variables for the Email part of your mod? How do I add more variables aside from the prearranged ones? ({REALNAME}, {USERNAME}, etc)

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,431
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Email Template Editor
« Reply #99 on: October 30, 2012, 12:50:26 PM »
Yeah, of course it's from my side. It's a simple str_replace(); on all of the variables. So to get join reason in scope it may be more than using a $context variable or something. The variables that are provided are variables that are already in scope, or already available for use in the template(s) already.

Look in one of the edits for a str_replace(); there are two arrays, one is 'searches', and one is 'replaces'. An example would be: $message_body = str_replace(array('{USERNAME}', '{REALNAME}'), array($context['member']['name'], $context['member']['real_name']), $message_body);