ElkArte Community

Extending Elk => Addons => Topic started by: Spuds on February 12, 2016, 06:07:28 pm

Title: [INTEGRATION] DocuWiki
Post by: Spuds on February 12, 2016, 06:07:28 pm
This is a basic ElkArte authentication plugin for DokuWiki.

It provides DocuWiki user authentication against your ElkArte MySQL database.  It allows you to login to DocuWiki with your current ElkArte credentials.  It will also show the current ElkArte user / group listing inside of DocuWiki.  Todo is if you are already logged into ElkArte and allow access, for now you need to login (again) to DocuWiki.


ElkArte Auth Plugin


License
BSD http://opensource.org/licenses/BSD-3-Clause

Introduction
This plugin requires access to the ElkArte MySQL database. See the configuration and settings section below for further information.

If you install this plugin manually, make sure it is installed in your DocuWiki  lib/plugins/authelkarte/ directory.   If the folder is named differently, the plugin will not work!

Configuration and Settings
     - Set Authentication backend to authelkarte
     - Users that are ElkArte administrators will be DokuWiki super users when they log in.
    - Enter the required configuration information
       - Hostname
       - Port number
       - database name
       - username
       - password
       - table prefix
 
Compatibility
This plugin has been tested with DokuWiki release 2015-08-10a ”Detritus”*, but should also work with *2013-05-10 Weatherwax” and later.
Title: Re: [INTEGRATION] DocuWiki
Post by: Jorin on February 14, 2016, 01:29:58 am
Great! I installed DokuWiki yesterday.  :D

Do I need to delete the users registered in the wiki so far?
Title: Re: [INTEGRATION] DocuWiki
Post by: ahrasis on February 14, 2016, 10:12:48 am
I am still waiting for all in one login plugin that was shown by one of our friends, in his demo heavily customized website, some time, not too long ago. @Ant59  I think.  I never heard about it again until today. ;)
Title: Re: [INTEGRATION] DocuWiki
Post by: meetdilip on February 14, 2016, 10:15:39 am
Where is Ant these days ? I haven't seen him lately.

His website is giving

Quote403 Forbidden
nginx/1.7.5
Title: Re: [INTEGRATION] DocuWiki
Post by: Jorin on February 15, 2016, 02:54:31 am
What port number do I have to insert for the database server? I am using a webspace package from All-Inkl.com and can't find this information in my account.
Title: Re: [INTEGRATION] DocuWiki
Post by: TE on February 15, 2016, 03:58:16 am
Quote from: Jorin – What port number do I have to insert for the database server? I am using a webspace package from All-Inkl.com and can't find this information in my account.
3306 is default for MySQL..
Title: Re: [INTEGRATION] DocuWiki
Post by: Jorin on February 15, 2016, 04:11:24 am
Hm, I must make something wrong, I can't login with my ElkArte account.  :(

I filled all the fields in the configuration of DokuWiki, and I am sure all is filled correctly, but I still must login with my Wiki's password. The password field is empty when I open the config again, is this a problem?

Edit: Maybe it is good not to integrate DokuWiki into ElkArte or viceversa. What if someone wants to work in the wiki but not register in ElkArte? Is this possible?
Title: Re: [INTEGRATION] DocuWiki
Post by: Spuds on February 18, 2016, 07:58:47 am
QuoteHm, I must make something wrong, I can't login with my ElkArte account.
Make sure you set the authentication backend in DocuWiki to authelkarte -  Find the Authentication section in the configuration manager, then use the pull down under "Authentication backend" area and select "authelkarte"

QuoteEdit: Maybe it is good not to integrate DokuWiki into ElkArte or viceversa. What if someone wants to work in the wiki but not register in ElkArte? Is this possible?
No .. the idea is they register on your site and then have access to the site's wiki with those same credentials.  One could probably change the plugin to allow a fallback to standard DocuWiki verification both but thats another thing really.
Title: Re: [INTEGRATION] DocuWiki
Post by: Jorin on February 19, 2016, 01:14:50 am
Quote from: Spuds – No .. the idea is they register on your site and then have access to the site's wiki with those same credentials.

I see. Sorry, then this is not interesting for me. I need the possibility to register for the Wiki without being registered in ElkArte. But thanks anyway.  :)
Title: Re: [INTEGRATION] DocuWiki
Post by: emanuele on February 19, 2016, 03:05:02 am
In that case you just can let DokuWiki deal with registrations. Unless I misunderstood. ;)

Great Spuds!