MyBB Community Forums

Full Version: How to edit the MyBB Agreement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is real simple, and can be done in the matter of minutes, depending of how much you add on to it.

First, go to your MyBB ACP>Templates & Style>Templates>And the current theme your using.

Then scroll down and expand Members Templates, after that scroll down further till you see member_register_agreement. Click that.

Once there find:
<td class="trow1">

As you can see there are several {$lang->agreement_#} segments. The {$lang->agreement_5} should be very last.

If you desire you can add any HTML between {$lang->agreement_4} and {$lang->agreement_5}.

Example:
<tr>
<td class="trow1">
<p>{$lang->agreement_1}</p>
<p>{$lang->agreement_2}</p>
<p>{$lang->agreement_3}</p>
<p>{$lang->agreement_4}</p>
<br/>
<h2>General Public Forum Rules:</h2>
<p>While creating a free account at the <strong>MADZULA</strong>  you
agree that in every forum that you will not publicly display
inappropriate material, the list below displays the things you cannot
do on the forums. Please read carefully. Your account could be deleted
or suspended.</p>
<ul>
<li><span style="color: #ff0000;">DO NOT display pornographic pictures.</span></li>
<li><span style="color: #ff0000;">DO NOT spam.</span></li>
<li><span style="color: #ff0000;">DO NOT post warez or illegal downloads.</span></li>
<li><span style="color: #ff0000;">DO NOT put anything in your signature that goes against the rules.</span></li>
<li><span style="color: #ff0000;">DO NOT argue with other staff members, we will win.</span></li>
</ul>
<p><strong>{$lang->agreement_5}</strong></p>
</td>
</tr>
</table>
Click here to see a live example.

NOTE: You must do this on every theme to keep it working.

And wollah!

When new members register, they will have to read your agreement as well!

Enjoy!
Thanks for this, i wanted to know this
Why not do it a better way and just add text to one of the language variables??
(2009-07-21, 04:36 PM)MattRogowski Wrote: [ -> ]Why not do it a better way and just add text to one of the language variables??

Yeah, a friend told me about that.
But this is mostly for people that don't really want to risk on going to the Language_files in the ftp to change it around, just a easier way to do it this way.

Anyway I added a note to the tutorial.
You can edit language variables in the ACP. Wink
Great post, i will use this Smile