MyBB Community Forums

Full Version: How to modify outgoing 'Random Password' registration message ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a template, that can be edited, to change the outgoing 'random password' registration message ?

Please advise.
Thank you.
if you are referring to the site message after registering then it is available in
.inc/languages/english (or your language)/member.lang.php file (around line 181)

$l['redirect_registered_passwordsent'] = "A random password has been generated and sent to your email address. Before you can login on these forums, you will need to check your email for this password.";

if you are referring to the message sent thru mail , it is available in
.inc/languages/english (or your language)/messages.lang.php file (around line 134)

$l['email_randompassword'] = "{1},

Thank you for registering on {2}. Below is your username and the randomly generated password. To login to {2}, you will need these details.

Username: {3}
Password: {4}

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.

Thank you,
{2} Staff";

use a code editor (eg. notepad++) to modify the content . do not remove the numbers in braces

(2011-08-02, 04:40 PM)ranjani Wrote: [ -> ]if you are referring to the site message after registering then it is available in
.inc/languages/english (or your language)/member.lang.php file (around line 181)

if you are referring to the message sent thru mail , it is available in
.inc/languages/english (or your language)/[b]messages.lang.php file (around line 134)

Thank you for registering on {2}. Below is your username and the randomly generated password. To login to {2}, you will need these details.
Username: {3}
Password: {4}
It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.
Thank you,

Thank you very much.
That is exactly what we needed.
Am now working with trying to format the text (make some bold).
Assume need to use CSS and not HTML, if in fact it is possible to format in that file?
Thanks again for your help.
^ we can use html format ; like <strong>text content</strong>
(2011-08-03, 05:33 AM)ranjani Wrote: [ -> ]^ we can use html format ; like <strong>text content</strong>

Thanks again for the followup !
Tried the html below...

$l['email_randompassword'] = "{1},

Thank you for registering on {2}. Below is your username and the randomly generated password. To login to {2}, you will need these details.

Username: {3}
Password: {4}

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.

<strong>
NOTE!
After logging in you must edit your profile to include your location, city and state.
This is necessary to help eliminate spammers from the membership.
</strong>

----------------------

and got the below message...

test,

Thank you for registering on Main Page - click on the Forums in category titles ( Government, Family, Business, etc ) below to see discussions . Below is your username and the randomly generated password. To login to Main Page - click on the Forums in category titles ( Government, Family, Business, etc ) below to see discussions , you will need these details.

Username: test
Password: uLknKIyl

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.
<strong>
NOTE!
After logging in you must edit your profile to include your location, city and state.
This is necessary to help eliminate spammers from the membership.
</strong>

-------------------

Also tried <B>content</B> but same result.
Suggestion/s?

(2011-08-03, 01:32 PM)akm Wrote: [ -> ]
(2011-08-03, 05:33 AM)ranjani Wrote: [ -> ]^ we can use html format ; like <strong>text content</strong>

Thanks again for the followup !
Tried the html below...

$l['email_randompassword'] = "{1},

Thank you for registering on {2}. Below is your username and the randomly generated password. To login to {2}, you will need these details.

Username: {3}
Password: {4}

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.

<strong>
NOTE!
After logging in you must edit your profile to include your location, city and state.
This is necessary to help eliminate spammers from the membership.
</strong>

----------------------

and got the below message...

test,

Thank you for registering on Main Page - click on the Forums in category titles ( Government, Family, Business, etc ) below to see discussions . Below is your username and the randomly generated password. To login to Main Page - click on the Forums in category titles ( Government, Family, Business, etc ) below to see discussions , you will need these details.

Username: test
Password: uLknKIyl

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.
<strong>
NOTE!
After logging in you must edit your profile to include your location, city and state.
This is necessary to help eliminate spammers from the membership.
</strong>

-------------------

Also tried <B>content</B> but same result.
Suggestion/s?

Basic question was answered.
Probably should post 'formatting' question separately.
Thanks again 'ranjani' for that answer !