BEFORE INSTALLING THIS CODE READ INSTALLATION INSTRUCTIONS!
This code creates a Rules System in which users must accept the forum's rules before they gain the ability to post on the forum.
1. Create a custom page with the id: rules
2. Edit this page to display your rules. There are various ways to do this although I recommend using an HTML box.
IMPORTANT: On this page you must have this code:
3. Go to your General Settings by adding "/admin/settings/forum" to the end of your homepage url and scroll to the bottom. There you will see a section for Registration Settings. Fill out the field "After Registration Page" by inputting the url of the custom page you just created. This should be your home url followed by "/page/rules
4. This code requires the Yootil Library to be installed on your forum. Please download and install the plugin found here: