Support » Plugins » Wiki plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    what about installing it and let us know? 😉

    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?

    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.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wiki plugin’ is closed to new replies.