MyBB Community Forums

Full Version: Forum Rules link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, 

I am currently changing the rules for the forum but the "forum rules" button on the forum has now broken, the other admin who has everything else stored (database, etc) I only have access to the admin CP, does any know if there is a way to change the forum rules link from the admin cp, or revert the deletion of the forum document it links to?

Thanks
Link to forum: https://www.tvtalkforum.co.uk/
Forum Rules are stored in the database in a table mybb_forums. Each forum is defined in a table row which contains three columns you're interested in. Look for the contents of rulestype, rulestitle, rules.

rulestype appears to be 0 for none, 1 for category, 2 for forum
rulestitle is the title of the box that appears at the top of the forumdisplay
rules is the content of the box

Content is changed by editing the forum settings.
AdminCP / Forums & Posts. Click on forum link then click Edit Forum Settings.

More added:
You're using  theme that does not use the built in forum rules as I initially described. It appears your theme uses a helpdoc #8. Your forum post links to a new doc numbered #9. When I hover over the icon, the link points to https://www.tvtalkforum.co.uk/misc.php?a...help&hid=8.

Try AdminCP / Configuration / Help Docs / Manage Help Documents
(2022-09-10, 04:18 PM)HLFadmin Wrote: [ -> ]Forum Rules are stored in the database in a table mybb_forums. Each forum is defined in a table row which contains three columns you're interested in. Look for the contents of rulestype, rulestitle, rules.

rulestype appears to be 0 for none, 1 for category, 2 for forum
rulestitle is the title of the box that appears at the top of the forumdisplay
rules is the content of the box

Content is changed by editing the forum settings.
AdminCP / Forums & Posts. Click on forum link then click Edit Forum Settings.

More added:
You're using  theme that does not use the built in forum rules as I initially described. It appears your theme uses a helpdoc #8. Your forum post links to a new doc numbered #9. When I hover over the icon, the link points to https://www.tvtalkforum.co.uk/misc.php?a...help&hid=8.

Try AdminCP / Configuration / Help Docs / Manage Help Documents

In the Manage Help Documents, there isn't anything about the forum rules link.
Edit your theme's header_welcomeblock_guest template.
The first line is
<a href="https://www.tvtalkforum.co.uk/misc.php?action=help&hid=8" class="register btn btn-xs btn-danger" style="color: #fff;" data-toggle="tooltip" data-placement="bottom" title="General Guidelines"><i class="fa fa-info-circle"></i><span class="hidden-xs"> Forum Rules</span></a>

That's where the helpdoc is identified. Edit to read help&hid=9 which will point to your current helpdoc #9.

You will want to edit the other welcomeblock templates that contain the General Guidelines / Forum Rules link.

[edit]
The template has a hard-coded link. Doc #8 is no longer stored. Doc #9 is.
(2022-09-10, 05:22 PM)HLFadmin Wrote: [ -> ]Edit your theme's header_welcomeblock_guest template.
The first line is
<a href="https://www.tvtalkforum.co.uk/misc.php?action=help&hid=8" class="register btn btn-xs btn-danger" style="color: #fff;" data-toggle="tooltip" data-placement="bottom" title="General Guidelines"><i class="fa fa-info-circle"></i><span class="hidden-xs"> Forum Rules</span></a>

That's where the helpdoc is identified. Edit to read help&hid=9 which will point to your current helpdoc #9.

You will want to edit the other welcomeblock templates that contain the General Guidelines / Forum Rules link.

[edit]
The template has a hard-coded link. Doc #8 is no longer stored. Doc #9 is.

Thank You! I've fixed this now.