Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
configure wordpress integration
wordpress and dokuwiki integration
Avatar
ricardoquesada #1
Member since Jun 2009 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: configure wordpress integration
Hi,
I've searching on the internet, and I couldn't find any current documentation regarding how to integrate wordpress and dokuwiki.
I would like that dokuwiki uses the same users/passwords than my wordpress installation.

Any tip on how to achieve it ?

I'm using wordpress 2.8 and dokuwiki 2009-02-14
Avatar
ach (Moderator) #2
Member since May 2006 · 544 posts
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Many available authentication backends are listed here: http://www.dokuwiki.org/auth
There is one for WordPress at the very bottom and http://www.dokuwiki.org/auth:mysql lists one example as well ...
Avatar
ricardoquesada #3
Member since Jun 2009 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks,

I'll try it.

I used this "plugin" but it didn't work with WP 2.8:
http://keeyai.com/projects-and-releases/dokuwiki-tools/dok…
Avatar
ricardoquesada #4
Member since Jun 2009 · 4 posts
Group memberships: Members
Show profile · Link to this post
Ok,
I confirm that this plugin doesn't work either.
Both plugins fail when trying to import wp-load.php.
Actually they don't fail to import wp-load.php, the after importing it, no more php code is executed.

I'm a new comer in php, so I don't know how to debug it.
Avatar
ach (Moderator) #5
Member since May 2006 · 544 posts
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Ok, I've just seen from the comments on the one from thedeadone.net that it's quite old and doesn't work anymore. So, I would rather try to debug the one from keeyai.com.

Sorry, can't help you any further.
Avatar
ricardoquesada #6
Member since Jun 2009 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks anyway.
I know little about php/wordpress, but if I could fix it I'll post it here
Avatar
undisclosed #7
User title: #!/chris
Member since Jun 2007 · 16 posts · Location: Seattle
Group memberships: Members
Show profile · Link to this post
Greetings,
 I'm also looking for a solution for authenticating against the WordPress (2.8.x) DB. Use of the keeyaiwp AUTH type insures that
your wiki will produce only a blank page - nothing else. It also ensures that logon, and anything else will be unavailable. In short,
keeyaiwp completely disables your Dokuwiki. :(
Does anyone know of a working solution for adding Dokuwiki to a WordPress (2.8+) install?
Or maybe a fix for the keeyaiwp AUTH method? As the author of keeyaiwp doesn't have a 2.8 install of WP, it seems unlikely
that the author will be able to provide updates anytime soon. :(

Thank you for all your time and consideration.

Avatar
vovkab #8
Member for 3 months · 1 post
Group memberships: Members
Show profile · Link to this post
Found the problem. is_ssl is redeclared in wordpress.
So to fix you can edit <wordpress>/wp-includes/functions.php

change:

function is_ssl() {                                                                                                                                       
   .....                                                                                                                              
}

to:

if (!function_exists("is_ssl")){                                                                                                                          
   function is_ssl() {                                                                                                                                       
      .....                                                                                                                              
   }                                                                                                                                                         
}
Avatar
daor79 #9
Member since Nov 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #3
Quote by ricardoquesada on 2009-06-16, 19:21:
I used this "plugin" but it didn't work with WP 2.8:
http://keeyai.com/projects-and-releases/dokuwiki-tools/dokuwiki-and-wordpress-integration/

How can you find this help? Great
I'm googling but don't find out any site for integrating with PunBB?
Avatar
keeyai #10
Member for 2 months · 1 post
Group memberships: Members
Show profile · Link to this post
As of January 22, 2010, this plugin works again:

http://keeyai.com/projects-and-releases/dokuwiki-tools/dok…

To update an old integration, simple make the change vovkab suggests by wrapping the is_ssl function
definition with   if(!function_exists('is_ssl)){ } so wordpress doesn't try to redefine it.
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:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-22, 01:08:21 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate