Hack Name: FAQ & Rules Management System v1.4

Description: This modification will replace your current faq.php with a new one. The FAQ's will be placed in your database so you can handle them easily instead of them being in templates and the language file.
Because the rules and the faq are in one file, I decided to spice up the rules as well.
Some features are:
- This gives you the opportunity to add/edit as many FAQ's as you please.
- You can decide per Question/Answer if HTML / BBCode / Smilies / IMG code should be enabled or disabled.
- The old links "faq.php?page=usermaint" / "faq.php?page=using" / "faq.php?page=messages" / "faq.php?page=misc" / "faq.php?page=forumrules" still work.
- The old links like "faq.php?page=usermaint#1" will not work. They will, but with different #numbers.
- You can have the smilie and rank listing show up at any Question/Answer you want to.
- You can now decide if you want HTML / BBCode / Smilies / IMG code enabled or disabled in the Board Rules.
- You can set it so that every member has to re-agree to the rules. This way every member will be notified of any major rule changes and they can't complain about it as they can't surf the board if they don't agree first.

Compatibility: XMB 1.9.8 Engage SP3

Version: 1.4

Code Designed By: FunForum

License Note: This modification is released under the GPL License.

Notes:
- For your own safety, backup all effected files & templates before proceeding with this hack
- Keep all names and copyrights in their place
- Do not use this modification if you have more then one language available to your members, as this Management System, only manages one language (which you can determine yourself).
- 2004 / 09 / 26; Adjusted the coding. Activated DEBUG mode and worked out all "issues".
- 2004 / 10 / 04; Fixed the selection of checkboxes/pulldownmenu. "Board Rules" must be turned on if the "All members must re-agree to the rules" wants to work.
- 2004 / 10 / 28; Minor adjustments to meet XMB 1.9.1 Final coding. Added cosmetic fixes by John.
- 2006 / 04 / 09; Minor adjustments to meet XMB 1.9.5 Final coding by GuldantheWarlock.
- 2009 / 02 / 03; Minor adjustments to meet XMB 1.9.8 SP3 coding by WormHole.






Edit PHP File: Language File

And to end of file:

Select All



Upload PHP File: faq.php



'Administration Panel' » 'Insert Raw SQL' »

Use the 'Browse...' button to locate the SQL.txt file that was in the zip file with this html file.


Edit PHP File: member.php

Find (2 Times):

Select All

Find on those same lines:

Select All

Replace With (Both Times):

Select All

Find on those same lines:

Select All

Replace With (Both Times):

Select All



Edit PHP File: header.php

Find:

Select All

Replace With:

Select All

Find:

Select All

Add Above:

Select All



Edit PHP File: cp.php

Find & Delete:

Select All

Find & Delete:

Select All

Find & Delete:

Select All

Find & Delete:

Select All

Find & Delete:

Select All


Upload the faq.php that came in this zip file.