MyBB Community Forums

Full Version: How do I change the Signature?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where do I go to change what the signature is on the automatically generated emails?

ie. I want to change the signature on the emails that my board sends out when;
  • A user registers
  • When a user uses the "reset password" feature
  • When sending out mass mail
  • Anywhere else that an email is sent out from the system


Is there a feature or are there files which I have to edit for this?
Do you mean this message that is on the bottom of all emails?

Quote:Thank you,
Forum Name Staff
(2011-07-13, 01:27 PM)faviouz Wrote: [ -> ]Do you mean this message that is on the bottom of all emails?

Quote:Thank you,
Forum Name Staff


Yes, that.

I don't want to change the Forum Name but I would like to change all the signatures.
ACP -> Configuration -> Languages -> Your Language -> member.lang.php

Edit the text in "email_activateaccount".
(2011-07-13, 03:07 PM)kavin Wrote: [ -> ]ACP -> Configuration -> Languages -> Your Language -> member.lang.php

Edit the text in "email_activateaccount".

I can't find the "email_activateaccount". I even used Ctrl+F.
Okay, I found the "email_activateaccount".

Where are the {3}{4}{5} generated at?

I may want to have an image as part of the signature so that would be one of those, wouldn't it?
{3}{4}{5} are generated in member.php by the sprintf() function. I'm not sure why you need to do that though. Just replace the email signature with what you want. If you want to have an image use HTML (you'll need to escape characters though since the language strings are inside double quotes):

<img src=\"http://example.com/image.gif\" alt=\"Example\" />
(2011-07-13, 04:35 PM)faviouz Wrote: [ -> ]{3}{4}{5} are generated in member.php by the sprintf() function. I'm not sure why you need to do that though. Just replace the email signature with what you want. If you want to have an image use HTML (you'll need to escape characters though since the language strings are inside double quotes):

<img src=\"http://example.com/image.gif\" alt=\"Example\" />

Oh okay. So it will accept HTML. Thank you very much!
You're welcome. Please note there are more language strings that you will need to edit other than email_activateaccount. Smile
Yes, I noticed a buch which start with email_ all have the signature at the end. Would there be more located elsewhere in a different file?

Also, you might want to edit what I flagged as "best answer" to messages.lang.php not member.lang.php which is why I had a problem for a short while finding it.
(2011-07-13, 04:35 PM)faviouz Wrote: [ -> ]{3}{4}{5} are generated in member.php by the sprintf() function. I'm not sure why you need to do that though. Just replace the email signature with what you want. If you want to have an image use HTML (you'll need to escape characters though since the language strings are inside double quotes):

<img src=\"http://example.com/image.gif\" alt=\"Example\" />

Escaping the quotes actually errors it so when you click the "forgot password" it doesn't load the page to input the email into.
Edit:

Figured it out.
You have to set the email format in functions.php to "html" first. Then all of your emails have to be in HTML formatting.