MyBB Community Forums

Full Version: how to edit mybb email and rules
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi guys

2 Simples question

1. Registration Rules:
-when a guest want to register first things show is the rules, how to edit these words?

2. Email Registration:
-when someone complete registering he will check his email for active link
how to edit this message? is it possible?

thats all
Best Wishes Xbat
1. Open inc/languages/[your_language]
2. Edit
a)
$l['agreement'] = "Registration Agreement";
$l['agreement_1'] = "Whilst we attempt to edit or remove any messages containing inappropriate, sexually orientated, abusive, hateful, slanderous, or threatening material that could be considered invasive of a persons privacy, or which otherwise violate any kind of law, it is impossible for us to review every message posted on this discussion system. For this reason you acknowledge that all messages posted on this discussion system express the views and opinions of the original message author and not necessarily the views of this bulletin board. Therefore we take no responsibility and cannot be held liable for any messages posted. We do not vouch for or warrant the accuracy and completeness of every message.";
$l['agreement_2'] = "By registering on this discussion system you agree that you will not post any material which is knowingly false, inaccurate, abusive, hateful, harassing, sexually orientated, threatening or invasive of a person's privacy, or any other material which may violate any applicable laws.";
$l['agreement_3'] = "Failure to comply with these rules may result in the termination of your account, account suspension, or permanent ban of access to these forums. Your IP Address is recorded with each post you make on this discussion system and is retrievable by the forum staff if need-be. You agree that we have the ability and right to remove, edit, or lock any account or message at any time should it be seen fit. You also agree that any information you enter on this discussion system is stored in a database, and that \"cookies\" are stored on your computer to save your login information.";
$l['agreement_4'] = "Any information you provide on these forums will not be disclosed to any third party without your complete consent, although the staff cannot be held liable for any hacking attempt in which your data is compromised.";
$l['agreement_5'] = "By continuing with the sign up process you agree to the above rules and any others that the Administrator specifies.";
in member.lang.php to change the rules before registration.

b)
$l['email_activateaccount'] = "{1},

To complete the registration process on {2}, you will need to go to the URL below in your web browser.

{3}/member.php?action=activate&uid={4}&code={5}

If the above link does not work correctly, go to

{3}/member.php?action=activate

You will need to enter the following:
Username: {1}
Activation Code: {5}

Thank you,
{2} Staff";

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

To complete the registration process on {2}, you will need to go to the URL below in your web browser.

{3}/member.php?action=activate&uid={4}&code={5}

If the above link does not work correctly, go to

{3}/member.php?action=activate

You will need to enter the following:
Your email address
Activation Code: {5}

Thank you,
{2} Staff";

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

To complete the registration process on {2}, you will need to go to the URL below in your web browser.

{3}/member.php?action=activate&uid={4}&code={5}

If the above link does not work correctly, go to

{3}/member.php?action=activate

You will need to enter the following:
Username: {1} (Or your email address)
Activation Code: {5}

Thank you,
{2} Staff";
in messages.lang.php to change activation E-mail message.
{1} is the email subject?
No {1} is the first variable. Which {1} are you referring to? The {1} is different for every function.
then how can i edit message activate subject?
Change all the text but keep the {1} in those messages. You can move {1} around.

For example:

Original


Member {1} is currently inactive.


Edited

Currently the member {1} is not available. Try again later.
$l['email_activateaccount'] = "{1},

i can change the bold ? or i have to leave the $ or what exacly?
(2013-07-20, 09:55 PM)Xbat Wrote: [ -> ]$l['email_activateaccount'] = "{1},

i can change the bold ? or i have to leave the $ or what exacly?

You have to keep the bold, don't ever change that. If you do that your forum won't function properly as it won't be able to read some functions.

You can change everything that is within the double quotes and after the equal (=) sign.
(2013-07-20, 09:51 PM)Xbat Wrote: [ -> ]then how can i edit message activate subject?

Change also:
$l['emailsubject_activateaccount'] = "Account Activation at {1}";
in messages.lang.php
Thank you Destroy666 and Arbaz rlly helpful keep it up

*Best Answer has been maked
*Arabz +1 Rep
*Destroy666 +1 Rep


Best Wishes, Xbat
Pages: 1 2