Tutorial - How to make a custom Rule's Page in MyBB.
Step 1 : Download Page Manager Plugin - http://mods.mybb.com/view/page-manager
Step 2 : Activate it through Admin CP.
Step 3 : In Admin CP > Configuration > On left side at bottom you should see "Page Manager" , Click on it.
Step 4 : Click on "Add New Page" , Put in name - Rules , URI parameter - rules , and tick "yes" on Use MyBB Template?
Step 5 : Now here the part where you will write the rules for your forum. You can use mybb tags and html.
Step 6 : Tick yes on "Show in "Who is Online"?" and on "Page enabled?" and click Save and Return to Listing.
Step 7 : Go Admin CP > Templates & Style > Select Templates on Left side > Select your current theme > Select Header Templates > Select Header > Find
And at below the last <li> line put
Note :- It might show some problem with some themes so here's a fix relace the above lines with
A sample Rules Page
Tutotrial made by - ShadowKage.
Step 1 : Download Page Manager Plugin - http://mods.mybb.com/view/page-manager
Step 2 : Activate it through Admin CP.
Step 3 : In Admin CP > Configuration > On left side at bottom you should see "Page Manager" , Click on it.
Step 4 : Click on "Add New Page" , Put in name - Rules , URI parameter - rules , and tick "yes" on Use MyBB Template?
Step 5 : Now here the part where you will write the rules for your forum. You can use mybb tags and html.
Step 6 : Tick yes on "Show in "Who is Online"?" and on "Page enabled?" and click Save and Return to Listing.
Step 7 : Go Admin CP > Templates & Style > Select Templates on Left side > Select your current theme > Select Header Templates > Select Header > Find
Code:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
Code:
<li><a href="{$mybb->settings['bburl']}/misc.php?page=rules">Rules</a></li>
Note :- It might show some problem with some themes so here's a fix relace the above lines with
Code:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />Member List</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />Calendar</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />Help</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?page=rules">Rules</a></li>
</ul>
</div>
A sample Rules Page
Code:
<table width="100%" border="0">
<tr>
<td valign="top" width="80%">
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead"><strong>Rules</strong></td></tr>
<tr>
<td class="trow1" valign="top">
<table width="100%">
<tr>
<td>
<div id="pid_" style="padding: 5px 0 5px 0;"><br />
By registering on <a href="{$mybb->settings['bburl']}">{$mybb->settings['bbname']}</a> you abide to agree by the following rules.We the staff's of {$mybb->settings['bbname']} - Moderators , SuperModerators and
Administrators does not take any responsibility of the action's of the users. In any circumstance user will be held responsible for their own action.
<strong>General Rules</strong>
<ol type="1">
<li>Don't post images, videos, or links containing pornographic or nude pics / child porn or suggestive pics / jailbait of anyone who does not look at least 18 or killings, mutilations or excessive blood or guts.</li>
<li>Don't post spam or advertisements, or links to:<br />
<ul>
<li>Sites containing malware;</li>
<li>Pay sites, money making, or referral schemes;</li>
<li>Direct downloads and torrent links containing fakes, malware, illegal material / warez or scams.<br />
</li></ul></li>
<li>Don't post in languages other than English.</li>
<li>Don't cross-post or post on inappropriate boards.</li>
<li>Don't bump or double post.</li>
<li>Don't post off-topic.</li>
<li>Don't troll or flame.</li>
<li>Don't edit, argue with, ignore, or spoof modcalls. <br />
If you disagree with a call then PM the mod, a supermod, or an administrator.</li>
<li>Don't use puppet accounts to break rules or evade bans--you will be held fully accountable.<br />
</li>
</ol><br /><br />
Please note that we can't predict every possible scenario. We're not out looking for ways to warn or ban people but, in cases of outright obnoxiousness, or obvious stupidity or carelessness, we reserve the right to do so.
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
Tutotrial made by - ShadowKage.