Hi - I am thinking of using some wiki plugin for WordPress. The only one I know about is the one at http://weblogtoolscollection.com/archives/2004/07/05/wordpress-12-wiki-integration/ . Does anyone have any comments about their experiences with this (or any other WordPress wiki plugin)?
It is not a good sign that nobody has responded in two days. I wonder if the wiki plugin has even been used at all.
alejandrito
Member
Posted 7 years ago #
what about installing it and let us know? ;)
guboogi
Member
Posted 7 years ago #
I just installed this script today and it took me some time to configure it the way I want but I finally got it working the way I want for the most part.
One annoying part that I haven't quite figured out yet is how to strip the slashes when an apostrophe is typed (it automatically adds \'s). I had a similar problem with my whattunes script and used something like:
$output = stripslashes($output);
and that fixed it, but I can't seem to go through the Wiki code to figure out where to put a similar line. Anyone have any other suggestions?
guboogi
Member
Posted 7 years ago #
Okay that was quick, I fixed it. Here's how for anyone interested:
1. Find where it says:
#-- normalize to UNIX newlines
$_REQUEST["content"] = str_replace("1512", "12", $_REQUEST["content"]);
$_REQUEST["content"] = str_replace("15", "12", $_REQUEST["content"]);
2. Immediately after that, add this line:
$_REQUEST["content"] = stripslashes($_REQUEST["content"]);
That should do it.
guboogi
Member
Posted 7 years ago #
Another problem, I can't seem to allow HTML tags. I have it set to:
define("EWIKI_ALLOW_HTML", 1);
But that doesn't work. Any ideas? Thanks in advance.