Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: iamriki - kesäkuu 22, 2011, 10:07:33 AP

Otsikko: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:07:33 AP
I did some extensive searching before going through the trouble of registering here as a final result.
I would like to edit the outgoing rejection email. and other email settings. Apparently this seems to be an elusive issue as it was/is posted here a lot!


http://www.simplemachines.org/community/index.php?P=c8ff9385cad6d3ffcf37a6fa22aeaf38&topic=401668.msg2791951#msg2791951
that link talks about a file called email.template.php
does not exist on my server

http://www.simplemachines.org/community/index.php?P=c8ff9385cad6d3ffcf37a6fa22aeaf38&topic=414454.msg2889698#msg2889698
this link refers to  a file called
Themes/default/languages/EmailTemplate.english.php
does not exist on my server

http://www.simplemachines.org/community/index.php?P=c8ff9385cad6d3ffcf37a6fa22aeaf38&topic=435133.msg3052673#msg3052673
this link was good info as it allowed me to edit the pre-approval messages and a few other settings. (of course it took me a moment to realise there are TWO english files, utf-8 being the second. But that was easy.

And there is more (as you can tell - I did search first.)
The registration process works perfect, I just want to change what it says. both on the site end and the email end.

Where and what file can I edit? Should I check the sql? (I am pretty versed in php, so I dont mind wandering around in the source code if need be).

thanks for any closure on this issue.

ps
I use the latest version 1.1.14
Otsikko: Re: editing accept and rejection emails
Kirjoitti: Illori - kesäkuu 22, 2011, 10:09:27 AP
emailtemplate.english.php is a file from 2.0, i believe the file you are looking for is login.english.php, which is the same file mentioned in the last link you posted, you must edit it with a text editor.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:11:50 AP
Lainaus käyttäjältä: Illori - kesäkuu 22, 2011, 10:09:27 AP
emailtemplate.english.php is a file from 2.0, i believe the file you are looking for is login.english.php, which is the same file mentioned in the last link you posted, you must edit it with a text editor.

The phrase "Rejection" is no where to be found in that file. And thus i cannot edit. Can you point out the line number that particular message is located at?
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:15:04 AP
Let me clarify that
login.english-utf.php

does not have the following phrase(s):
"Registration Rejected"
"Regrettably, your application to join...."

since those phrases do not exist, it is logical to assume that this is not the correct file to edit.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: Illori - kesäkuu 22, 2011, 10:15:51 AP
you can do a search in the files and try to find it, that is what i would have to do.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:30:52 AP
Lainaus käyttäjältä: Illori - kesäkuu 22, 2011, 10:15:51 AP
you can do a search in the files and try to find it, that is what i would have to do.

I did that, comes up null.
its very weird that it processes that, but cannot find the file that has it.
although a futile effort, I checked the sql. not there (did not really expect it to be)
Otsikko: Re: editing accept and rejection emails
Kirjoitti: Illori - kesäkuu 22, 2011, 10:33:13 AP
did you try searching for a word or a few words of the message? sometimes the text is broken up between several txt strings in the language files so searching for more then maybe 3 words at a time will come up with nothing found.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:41:02 AP
Lainaus käyttäjältä: Illori - kesäkuu 22, 2011, 10:33:13 AP
did you try searching for a word or a few words of the message? sometimes the text is broken up between several txt strings in the language files so searching for more then maybe 3 words at a time will come up with nothing found.

I went throught the majority of the files using the key word: REJECT it fails on REJ, so cant even get the whole word.. IM going to start on the core files next. I know its there because its working.

They really should make this a webmaster editable feature instead of hard coded
Otsikko: Re: editing accept and rejection emails
Kirjoitti: Illori - kesäkuu 22, 2011, 10:42:18 AP
in the admin panel you can already edit the language strings in 2.0, it is a matter of finding where the one you want is.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 10:47:14 AP
Lainaus käyttäjältä: Illori - kesäkuu 22, 2011, 10:42:18 AP
in the admin panel you can already edit the language strings in 2.0, it is a matter of finding where the one you want is.

YES but I am using 1.1.14, and with all the data I have I am a little nervous about switching over as it is not an upgrade but a fresh install.
Otsikko: Re: editing accept and rejection emails
Kirjoitti: Illori - kesäkuu 22, 2011, 10:48:12 AP
no it is an upgrade, and you will not loose any data if you do a proper backup. Upgrading SMF (http://wiki.simplemachines.org/smf/Upgrading)
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 11:23:42 AP
Lainaus käyttäjältä: Illori - kesäkuu 22, 2011, 10:48:12 AP
no it is an upgrade, and you will not loose any data if you do a proper backup. Upgrading SMF (http://wiki.simplemachines.org/smf/Upgrading)

Ya gonna do the upgrade. Want to anyways. there are some nice themes for 2.0. :-)

Thanks for your replies
Otsikko: Re: editing accept and rejection emails
Kirjoitti: iamriki - kesäkuu 22, 2011, 11:40:58 AP
Operation was a success.
Can now edit files emailtemplate.english.php

thank you for your replies


edit:
I am not marking this as solved as it does not address the original 1.1.14 question for editing the rejection emails. That is still left unanswered. Upgrading is not the answer (if it was, then it is to be assumed that 1.1.14 is faulty and should not be used, which is not the case.

somewhere (most likely from a dev) there is a file for editing the 1.1.14 rejection emails. this post does not address that, I simply gave up and upgraded.