By tomlin on
I'm SOOOOO close to going live, but I 'm having a problem with the user_status module.
The admin approved email looks is configured like this:
Hello %username,
Your account at %site has been activated.
You may now log in by clicking here: %uri
Your username is: %username
Your password is: %password
After logging in, you may want to visit %edit_uri so you can change your password.
%site Administrator
But it arrives in the users mailbox like this:
<p>Hello tomf,</p><p>Your account at Site Name has been activated.
</p><p> You may now log in by clicking here: http://sitename.com/cms
</p><p> Your username is: tomf</p><p>Your password is:
MV7Dh5f6YA</p><p>After logging in, you may want to visit
http://sitename.com/cms/?q=user/18/edit so you can change your
password.</p><p> </p><p>Sitename Administrator</p>
The module must assume the email is in HTML. I know (pretty much) nothing about PHP programming. Could someone point out what I'd have to change in the module to remove the <p>s and </p>s?
Thanks
Comments
SOLVED
I have the tinyMCE module installed, and even though I "disabled rich-text" when writing my instructions, each time I returned to the user-status page, tinyMCE (which was the default) reformatted the text, and added back the HTML tags. So, I configured tintMCE's visibility function to NOT show on the "admin/settings/user_status" page.