2011-05-20, 08:35 PM
2011-05-20, 08:38 PM
You mean same rules to show on each forum ?
2011-05-20, 08:52 PM
yes at the top
2011-05-20, 09:19 PM
You can run a sql query to do this;
Also Change YOUR RULES GOES HERE to the Rules/Text you want to show for each forum.
Now to Make it available for each forum, Run this;
And For each forum rule's title, Run this;
Its tested and confirmed
UPDATE mybb_forums SET rules = 'YOUR RULES GOES HERE';
Make sure your db prefix is mybb_Also Change YOUR RULES GOES HERE to the Rules/Text you want to show for each forum.
Now to Make it available for each forum, Run this;
UPDATE mybb_forums SET rulestype = '1'
And For each forum rule's title, Run this;
UPDATE mybb_forums SET rulestitle = 'TEXT';
Its tested and confirmed
2011-05-20, 09:38 PM
I prefer to edit the one template than update each forum. Go to ACP->Templates->Your templates->Forumdisplay->forumdisplay. Paste this code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Rules</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">Here paste rules.</span></td>
</tr>
</table>
<br />
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>
2011-05-20, 09:41 PM
Yes, that's fine too.
2011-05-20, 10:38 PM
oops is there a way to exclude a few forums?