Not logged in. · Lost password · Register
Forum: Customising UNB Modifications and plug-ins RSS
Integration with DokuWiki
For user authentication
Reply
Avatar
Reply · Quote NFG #1
Member since Sep 2006 · 105 posts
Group memberships: Members
Show profile · Link to this post
Subject: Integration with DokuWiki
I have just completed integration of UNB with DokuWiki.  Well, mostly: DokuWiki now checks UNB's user list and passwords to verify wiki user permissions.  It does not support the rest of DokuWiki's user-edit functionality, which is optional:  just remember to edit them in UNB instead!

Note also that I had to revert UNB to MD5 hashing for passwords, which means all your UNB users will have to create new passwords.  The alternative is putting Yves' KMD5 code into DokuWiki, but such a job is beyond me.

DokuWiki MySQL Auth Setup

UNB details page

I encourage additions to this work: my SQL abilities are pathetic.
Reply · Quote englishextra (Guest) #2
No profile available.
Link to this post
Great news for me, because I'm right now migrating from phpbb to unb which seems to me less monstrous and adequate.

The dokuwiki story is pleasnat too (authentication) and md5 fact - I had to chaged functions in phpBB and WP to md5 in order to unify password checks otherwise i had to write a huge function with cases.

The other thing whish is bothering me now is migrating from phpbb to unb. Is there a script or a suggestion because iserting posts from phpbb by hand is terrible story and making a php script that inserts former phpbb_posts values to unb_posts  table can cause some unpredictible diffuclties.
Avatar
Reply · Quote Yves (Administrator) #3
User title: UNB developer & webmaster
Member since Jan 2004 · 3740 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Off Topic:
http://newsboard.unclassified.de/download#import - You should be able to import phpBB posts in UNB 1.5 format and then upgrade to UNB 1.6 with the installer in upgrade mode.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Reply · Quote Casper Larsen (Guest) #4
No profile available.
Link to this post
In reply to post #1
Quote by NFG on 2008-07-13, 11:02:
I have just completed integration of UNB with DokuWiki.  Well, mostly: DokuWiki now checks UNB's user list and passwords to verify wiki user permissions.  It does not support the rest of DokuWiki's user-edit functionality, which is optional:  just remember to edit them in UNB instead!

Note also that I had to revert UNB to MD5 hashing for passwords, which means all your UNB users will have to create new passwords.  The alternative is putting Yves' KMD5 code into DokuWiki, but such a job is beyond me.

DokuWiki MySQL Auth Setup

UNB details page

I encourage additions to this work: my SQL abilities are pathetic.

Greetings NFG!

Question: When you integrate Dokuwiki and UNB, will you still be able to manage user edit functionality? What do you mean by 'optional'. I am interesting in doing the same as you, but I will have many editors on my home page, and I must be able to individually manage their editor rights on different pages. Will that be possible?

I am totally new to this, but Dokuwiki and UNB comes recommended, hence i try it out :)

Thanks in advance!

Casper
Avatar
Reply · Quote NFG #5
Member since Sep 2006 · 105 posts
Group memberships: Members
Show profile · Link to this post
Users will be created in UNB, but you'll need to set special permissions for the users/groups in DokuWiki's ACL. 

I haven't put a lot of effort into working with it, the users on my site spend a lot of time on the forum but not on the wiki, so I don't remember if DW actually checks the usergroups from UNB or not...

You should consider it a basic implementation: it checks the UNB userlist for logins and passwords, and I THINK it also checks usergroups.  You'll need to match the group names from UNB in DW's ACL, but that's basically all it does.

So, edit users and groups in UNB, and DW will obey the rules for those users and groups if you set them in the ACL.

Yup, pretty sure that's how it works.  ^_^

Sorry I can't be more specific.  My memory's awesome, but short.
Reply · Quote Casper Larsen (Guest) #6
No profile available.
Link to this post
Hi NFG,

thank you for your quick reply! I will test it out!

Cheers

/ Casper
Reply · Quote wetnun #7
Member since Nov 2008 · 4 posts · Location: California
Group memberships: Members
Show profile · Link to this post
I also updated the documentation on their site as I just did a quick integration of the latest UNB and DokuWiki.  You can read it here:

http://www.dokuwiki.org/auth:mysql_unb2

I had my own special constraints though.  For instance I changed my SQL so only moderators and higher on my forums can log into the wiki.  And you will need to deal with the ACL if you want to have permissions levels for users.  I let anyone that can login edit everything, so it was less important for me.  :)
This post was edited on 2008-11-07, 20:34 by Yves.
Edit reason: Set [url] tags to repair the link
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Reply
Go to forum
This board is powered by the Unclassified NewsBoard software, 20100516-dev, © 2003-10 by Yves Goergen
Page created in 220 ms (172 ms) · 68 database queries in 144 ms
Current time: 2010-07-30, 10:45:41 (UTC +02:00)