mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 05:11:52 +00:00
[phorum-3.0.0.1] Improve installation documentation.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1681 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
c4aa3ee40c
commit
ca6b20ff2b
1
TODO
1
TODO
@ -32,7 +32,6 @@ BUGS
|
||||
- Figure out what to do about target="" and name="", since they show up so often
|
||||
|
||||
EXTERNAL
|
||||
- Improve Phorum install documentation
|
||||
- Mia
|
||||
- Aliro
|
||||
- Comparison: http://code.iamcal.com/php/lib_filter/
|
||||
|
@ -10,6 +10,7 @@ Changelog HTMLPurifier : Phorum Mod
|
||||
==========================
|
||||
|
||||
Version 3.0.0.1 for Phorum 5.2, unknown release date
|
||||
! Better installation documentation
|
||||
- Fixed double encoded quotes
|
||||
- Fixed fatal error when migrate.php is blank
|
||||
|
||||
|
79
plugins/phorum/INSTALL
Normal file
79
plugins/phorum/INSTALL
Normal file
@ -0,0 +1,79 @@
|
||||
|
||||
Install
|
||||
How to install the Phorum HTML Purifier plugin
|
||||
|
||||
1. UNZIP
|
||||
--------
|
||||
Unzip phorum-htmlpurifier-x.y.z, producing an htmlpurifier folder.
|
||||
You've already done this step if you're reading this!
|
||||
|
||||
2. MOVE
|
||||
-------
|
||||
Move the htmlpurifier folder to the mods/ folder of your Phorum
|
||||
installation, so the directory structure looks like:
|
||||
|
||||
phorum/
|
||||
mods/
|
||||
htmlpurifier/
|
||||
INSTALL - this install file
|
||||
info.txt, ... - the module files
|
||||
htmlpurifier/
|
||||
|
||||
3. INSTALL HTML PURIFIER
|
||||
------------------------
|
||||
Download and unzip HTML Purifier <htmlpurifier.org>. Place the contents of
|
||||
the library/ folder in the htmlpurifier/htmlpurifier folder. Your directory
|
||||
structure will look like:
|
||||
|
||||
phorum/
|
||||
mods/
|
||||
htmlpurifier/
|
||||
htmlpurifier/
|
||||
HTMLPurifier.auto.php
|
||||
... - other files
|
||||
HTMLPurifier/
|
||||
|
||||
Advanced users:
|
||||
If you have HTML Purifier installed elsewhere on your server,
|
||||
all you need is an HTMLPurifier.auto.php file in the library folder which
|
||||
includes the HTMLPurifier.auto.php file in your install.
|
||||
|
||||
4. MIGRATE
|
||||
----------
|
||||
If you're setting up a new Phorum installation, all you need to do is create
|
||||
a blank migrate.php file in the htmlpurifier module folder (NOT the library
|
||||
folder.
|
||||
|
||||
If you have an old Phorum installation and was using BBCode,
|
||||
copy migrate.bbcode.php to migrate.php. If you were using a different input
|
||||
format, follow the instructions in migrate.bbcode.php to create your own custom
|
||||
migrate.php file.
|
||||
|
||||
Your directory structure should now look like this:
|
||||
|
||||
phorum/
|
||||
mods/
|
||||
htmlpurifier/
|
||||
migrate.php
|
||||
|
||||
5. ENABLE
|
||||
---------
|
||||
Navigate to your Phorum admin panel at http://example.com/phorum/admin.php,
|
||||
click on Global Settings > Modules, scroll to "HTML Purifier Phorum Mod" and
|
||||
turn it On.
|
||||
|
||||
6. MIGRATE SIGNATURES
|
||||
---------------------
|
||||
If you're setting up a new Phorum installation, skip this step.
|
||||
|
||||
If you allowed your users to make signatures, navigate to the module settings
|
||||
page of HTML Purifier (Global Settings > Modules > HTML Purifier Phorum Mod >
|
||||
Configure), type in "yes" in the "Confirm" box, and press "Migrate."
|
||||
|
||||
ONLY DO THIS ONCE! BE SURE TO BACK UP YOUR DATABASE!
|
||||
|
||||
7. CONFIGURE
|
||||
------------
|
||||
Configure using Edit settings. See that page for more information.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user