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