Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Bridge with DokuWiki?

Hello, I was wondering if it's possible to bridge vanilla 2 with Dokuwiki? The only things I could find were for Vanilla 1.

Thank you.

Comments

  • Options
    x00x00 MVP
    edited March 2014

    There is basically no such thing as bridge or not what people imagine to be a bridge in this context. It is an erroneous term which unfortunately has become a mainstay. But it gives a misleading impression much of the time.

    There are ways of connecting software such as middleware/adapters, SSO, apis, force loading two or more frameworks (not recommended), or simply running them separately but styling them in an integrated way.

    All of these are doing something differently and are a different aspect of integration, you would want to do all of them.

    Many people who talk a a bridge want to keep the same header and footer or template, however you can replicate it. Actually, I think people make thing look the same too often, differentiating different sections of the site can be quite good sometimes. The other thing in connecting the user base this can be possible with SSO strategies.

    What is is that you are after?

    grep is your friend.

  • Options
    BleistivtBleistivt Moderator

    If you are talking about sharing accounts between both systems, DokuWiki has a very flexible auth plugin system:
    https://www.dokuwiki.org/devel:auth_plugins

    You could try loading the Garden framework into DokuWiki like its done in Glue:
    https://github.com/lincolnwebs/Glue/blob/master/wp-content/plugins/glue/vanilla.php

    Then (if there a no conflicting variable names) it should be possible to implement the checkPass() and getUserData() functions to use your Vanilla userbase in Dokuwiki.

    You could also try using this snippet:
    https://gist.github.com/lincolnwebs/700805

  • Options
    chanhchanh OngETC.com - CMS Researcher ✭✭

    The least amount of work to get Vanilla user authenticated in dokuwiki is to use the dokuwiki auth_plugins in my opinion. I have done this with other CMS in dokuwiki in the past.

  • Options
    LincLinc Detroit Admin
    edited March 2014

    @nashira Will DokuWiki or Vanilla have the canonical user list?

    If it's DokuWiki, use Vanilla's jsConnect plugin to build a quick solution for DokuWiki.

    If it's Vanilla, use DokuWiki's auth plugins (linked above by Bleistivt) - I'm not certain, but it sounds like that's what they're for. Glue (also mentioned above) is also an option but I suspect you're in for a bit of a rabbit hole if you go that route.

Sign In or Register to comment.