Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

DokuWiki

13

Comments

  • Is there anyone that can help with this? Is the MediaWiki integration better? I'd really like to get this working asap. Thanks in advance JB
  • Hi!

    I took three tries, doing in my opinion always the same, but only the third try worked. :-(

    But I don't know, what the difference made!

    Tiggr
  • Hi Tiggr, Thanks for being willing to help. Could you maybe explain to me what you did exactly? Did you do anything different from what the documentation here says: http://lussumo.com/docs/doku.php?id=vanilla:integration:dokuwiki I'd really like to get this working as soon as possible. Thanks in advance JB
  • Is anyone successfully using a wiki integrated with Vanilla? I really need some help.
  • All I did, was following the instructions...

    And I've added two lines to local.php

    $conf['superuser'] = '@Administrator'; $conf['disableactions'] = 'register,resendpwd,profile,login,logout';

    And this is changed/new in conf/dokuwiki.php:

    $conf['defaultgroup']= 'user'; //Default groups new Users are added to $conf['superuser'] = '!!not set!!'; //The admin can be user or @group $conf['manager'] = '@Moderatoren'; //The manager can be user or @group /* Vanilla */ /* Mandatory */ define('NOSESSION', true); $conf['authtype'] = 'vanilla'; /* Optional */ define('VANILLA_ROOT', '/home/orgaohnenamen_de/www/forum/'); /* This is the default */ $conf['acl'] = 1; /* You probably have this set already */ $conf['disableactions'] = 'login,logout,profile,register,resendpwd'; /* Now handled by Vanilla */ $conf['passcrypt'] = 'md5'; /* Not really necessary, set automatically by the authentication backend */

    And this is new inside the .htaccess, it's very rude, but I did it:

    php_flag magic_quotes_gpc Off php_flag display_errors 0


    That's all I remember.
  • Woot! I don't know what happened (probably the magic quotes was my undoing), but it works! Now, to just set up ACL...

    Thanks Tiggr!
  • It is not necessary to make any changes to conf/dokuwiki.php. That file contains all the default settings for a dokuwiki setup, anything you place in conf/local.php will override what is in the dokuwiki.php.
    All default values are stored in a file called conf/dokuwiki.php. If you want to modify a setting you should do this in a file called conf/local.php – this makes sure your special configs are not overwritten by a later upgrade. The config manager will use this file as well.
    -- taken from http://wiki.splitbrain.org/wiki:config
  • Thanks Tiggr and sirlancelot for your help! I'm going to try again tonight, and hopefully I can get it working. If so, I'll try and document the process in detail for others. Thanks again, and if anyone else has any tips for this I'd appreciate it.
  • Hmm, it seems as though it's not working anymore. Damn. I'm going to look into this and see if I can get it working again, as it's locked me out of my wiki :P
  • Vanilla is reporting (well, the $Context variable is) that I'm not logged in, although I am. Could this be a cookie path problem?
  • Quite possible. Or an issue with your server if it's broken randomly. What have you got set as your cookie path?
  • Ah, it's set to "/forums/" — Should I set it to just "/"?
  • Yes, if you want to use Vanilla's auth outside of its own directory, setting the cookie's domain as "/" should do the trick.
  • Nope, still getting nothing. Maybe restarting the browser might help...
  • Nope. Now it doesn't seem to be setting a cookie at all :-(
  • OK, fine now. Thanks :-)
  • And what did the trick?
  • Yeah, I'm still having issues... Maybe the Mediawiki integration works better? Has anyone tried that?
  • I think it was setting the cookie path to "/"
  • klipklip New
    edited December 2007
    just installed and integrated DokuWiki and so far it seems to be succesfully integrated. Used documentation from Vanilla comunity wiki and it works fine.

    I just wanted to mention that If you have spaces in role names you can use %20 as space in acl.auth.php
    For example if you have Role name e.g. "Allowed enough", you can use:
    * @Allowed%20enough 8
    Also utf-8 characters in role names work, you just need utf-8 capable editor to add such role into acl.auth.php

    I had to comment check for magic_quotes_gpc, because there is no way for me how to disable it by .htaccess (causes 500 ISE, I have to contact my provider).
    But anyway so far it works fine. Does anybody know what can happen if I have magic_quotes_gpc turned on?
Sign In or Register to comment.