Topic: Integration with dokuwiki

Hi,
I'm testing the integration of dokuwiki with punbb 1.3. It was working on punbb 1.2
http://www.dokuwiki.org/auth:punbb

The problem I get is that in every auth check Dokuwiki does, a punbb page appears asking the user to confirm the action. Something like Vista UAC but worse.

Is there a way to disable this check in punbb? Or is there a way to do auth integration in punbb?

Many thanks
Oliver

http://tinymailto.com/oliversl <-- my email after a captcha

Re: Integration with dokuwiki

add

define('FORUM_SKIP_CSRF_CONFIRM', 1);

at the top of punbb.class.php in dokuwiki

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: Integration with dokuwiki

Great!

just updated:
http://www.dokuwiki.org/auth:punbb

and tested it, work just fine.

Many many thanks Cereal!

Oliver

http://tinymailto.com/oliversl <-- my email after a captcha

Re: Integration with dokuwiki

well i fixed some more bugs in the implementation i used

all $pun_user should be replaced by forum_user var

in the last part a couple are not replaced
also its a good thing to diable some actions in docuwiki, like the profile, logout, login buttons

this can be done by a config setting:
$conf['disableactions'] = 'register,resendpwd,profile,logout,login';

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: Integration with dokuwiki

Hi Cereal,
thanks for the info.

Could you provide some help on how to provide a login for your users? Should I redirect to the Forum login?

Also, can you update the dokuwiki wiki about punbb:auth? Thanks
Oliver

http://tinymailto.com/oliversl <-- my email after a captcha

Re: Integration with dokuwiki

hmm,

it seems that there is a problem ...

i'm trying to give a certain group extra privileges on the docuwiki, but they can not  edit, create pages, althought the acl system shows the folowing

Members of group staff currently have the following permissions in namespace wiki: Read, Edit, Create, Upload, Delete.

any ideas?

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: Integration with dokuwiki

we should check again all the mysql queries to see if the current queries work.
Seems to me that punbb broke too many things, starting with renaming historical variable names

http://tinymailto.com/oliversl <-- my email after a captcha