3 How to install the Phorum HTML Purifier plugin
7 Unzip phorum-htmlpurifier-x.y.z, producing an htmlpurifier folder.
8 You've already done this step if you're reading this!
12 Move the htmlpurifier folder to the mods/ folder of your Phorum
13 installation, so the directory structure looks like:
18 INSTALL - this install file
19 info.txt, ... - the module files
22 3. INSTALL HTML PURIFIER
23 ------------------------
24 Download and unzip HTML Purifier <htmlpurifier.org>. Place the contents of
25 the library/ folder in the htmlpurifier/htmlpurifier folder. Your directory
26 structure will look like:
37 If you have HTML Purifier installed elsewhere on your server,
38 all you need is an HTMLPurifier.auto.php file in the library folder which
39 includes the HTMLPurifier.auto.php file in your install.
43 If you're setting up a new Phorum installation, all you need to do is create
44 a blank migrate.php file in the htmlpurifier module folder (NOT the library
47 If you have an old Phorum installation and was using BBCode,
48 copy migrate.bbcode.php to migrate.php. If you were using a different input
49 format, follow the instructions in migrate.bbcode.php to create your own custom
52 Your directory structure should now look like this:
61 Navigate to your Phorum admin panel at http://example.com/phorum/admin.php,
62 click on Global Settings > Modules, scroll to "HTML Purifier Phorum Mod" and
67 If you're setting up a new Phorum installation, skip this step.
69 If you allowed your users to make signatures, navigate to the module settings
70 page of HTML Purifier (Global Settings > Modules > HTML Purifier Phorum Mod >
71 Configure), type in "yes" in the "Confirm" box, and press "Migrate."
73 ONLY DO THIS ONCE! BE SURE TO BACK UP YOUR DATABASE!
77 Configure using Edit settings. See that page for more information.