[ABD] Integration for DokuWiki

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3466
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: [ALPHA] Integration for DokuWiki

Post by bonelifer » Sun Feb 24, 2008 3:38 pm

On the "Access Control List Management" page only allow "READ" for "Group user". This will make regular users only able to read.

Then go to the "User Manager" page. Find someone in your phpBB groups that you want to be editors. Copy that group name. Then go to the "Configuration Settings" page. Find "Authentication Settings", then look inside that block for "Manager" then add @Modertors, assuming Moderators is the group name, if not then replace "Moderators" with the group name.


NOTE: I haven't tested this but in theory from reading everything it should work this way.
NOTE2: Tested, you also need to go to the "Access Control List Management" page again and create an identically named group with the permissions you want, ie Moderators.
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

Nathan Brittles
Registered User
Posts: 17
Joined: Fri Aug 05, 2005 9:28 pm

Re: [ALPHA] Integration for DokuWiki

Post by Nathan Brittles » Thu Mar 06, 2008 8:40 pm

Yep - that is basically what I did. But you did find out a couple of more things, that I will have to look at. Thanks for giving me credit !

What are you going to do about styling ? It sucks, when different parts of a site look different ...
daenney wrote:Thanks a bunch, that worked like a charm.

I have achieved the setup as to not allow any forum user to read or write the wiki, since we only want some people of the dev-team to be able to do that, not the whole forum userbase,

To achieve this I need to use DOkuwiki's ACL but how do I do it now?
For example I have a phpbb group called monkeys and I want them to have edit rights on the monkey* namespace.
Any clue on how that is to be done?
Take a look at <path-to-your-wiki>/conf/acl.auth.php. Put in a line like :
* @123 1

* will be the namespace you define the permissions for (* = all, you can put in test or whatever there, too). @123 will be the @ and the group_id of your monkey-group (e.g.: 123 - just look it up in your database, the table is phpbb_groups). Finally 1 is one of :

# none 0
# read 1
# edit 2
# create 4
# upload 8
# delete 16

Just play around with it - it's no rocket science.

Csseur02
Registered User
Posts: 39
Joined: Thu Aug 03, 2006 12:31 pm

Re: [ALPHA] Integration for DokuWiki

Post by Csseur02 » Mon Mar 10, 2008 11:18 pm

Thanks for this mod, it is very nice :)

So,

my authentification works great, but i have these errors messages:

Code: Select all

[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 21: Undefined index: id
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 24: Undefined index: rev
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 25: Undefined index: do
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 26: Undefined index: idx
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 27: Undefined index: date
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 28: Undefined index: lines
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 29: Undefined index: s
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/common.php on line 901: Undefined index: HTTP_REFERER
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/common.php on line 904: Undefined index: host
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 32: Undefined index: wikitext
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 33: Undefined index: prefix
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 34: Undefined index: suffix
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 35: Undefined index: summary
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/actions.php on line 131: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)
why?

So, my wiki is in french, and the accents are not displayed correctly.. what can i do?

thanks,
fred

Nathan Brittles
Registered User
Posts: 17
Joined: Fri Aug 05, 2005 9:28 pm

Re: [ALPHA] Integration for DokuWiki

Post by Nathan Brittles » Tue Mar 11, 2008 8:44 pm

Csseur02 wrote:Thanks for this mod, it is very nice :)

So,

my authentification works great, but i have these errors messages:

Code: Select all

[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 21: Undefined index: id
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 24: Undefined index: rev
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 25: Undefined index: do
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 26: Undefined index: idx
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 27: Undefined index: date
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 28: Undefined index: lines
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 29: Undefined index: s
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/common.php on line 901: Undefined index: HTTP_REFERER
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/common.php on line 904: Undefined index: host
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 32: Undefined index: wikitext
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 33: Undefined index: prefix
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 34: Undefined index: suffix
[phpBB Debug] PHP Notice: in file /home/toto/wiki/doku.php on line 35: Undefined index: summary
[phpBB Debug] PHP Notice: in file /home/toto/wiki/inc/actions.php on line 131: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2967)
why?
I haven't noticed this, yet ...
Csseur02 wrote:So, my wiki is in french, and the accents are not displayed correctly.. what can i do?

thanks,
fred
Learn german ;-) Sorry - I just can't shut up ...

In ernest : I'm not quite sure, but maybe you need to define these characters in the entities.local.conf. I see the german umlauts (ä,ö, &c) defined there.

Merlino666
Registered User
Posts: 11
Joined: Fri Nov 07, 2003 3:59 pm

Re: [ALPHA] Integration for DokuWiki

Post by Merlino666 » Tue Apr 01, 2008 8:26 am

i use phpbb3 and i install this mod but after installation dokuwiki work as normal...nothing happen
ideas?
SOLVED:
i write conf string in conf/local.php

TommyKaneko
Registered User
Posts: 7
Joined: Thu Apr 24, 2008 7:06 pm
Location: Edinburgh, Scotland
Contact:

Re: [ALPHA] Integration for DokuWiki

Post by TommyKaneko » Thu Apr 24, 2008 7:43 pm

Hello,
I've been thinking of starting a MOD for integration with Mediawiki. It's a little more complicated than what you are advocating, but I was wondering how it was working for you so far. Was it a huge undertaking?

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25194
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ALPHA] Integration for DokuWiki

Post by Paul » Fri Apr 25, 2008 2:05 pm

Moved to MOD development forum, this forum is for requests, and not for MODs in dev.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

fredang85
Registered User
Posts: 7
Joined: Tue Jul 25, 2006 6:40 pm

Re: [ALPHA] Integration for DokuWiki

Post by fredang85 » Sat Apr 26, 2008 7:05 pm

I've already integrated this to my site, and its working well as far as registration stage, but I havn't tried out the ACL on wiki and user management on phpbb

Now I'm just hoping that the template integration will come out well ;)

Thanks!

Erie Buoy
Registered User
Posts: 1
Joined: Sun May 25, 2008 6:18 pm

Re: [ALPHA] Integration for DokuWiki

Post by Erie Buoy » Sun May 25, 2008 6:54 pm

I can't seem to make these instructions work for my installation of phpBB3 and DokuWiki (I tried v 2008-05-05 and 2007-06-26b). I followed the instructions verbatim, but in both cases I get an error:

Code: Select all

Fatal error: Call to undefined function utf8_strtolower() in /hsphere/local/home/eriebuoy/forums.pygmyisland.net/dokuwiki-2007-06-26b/inc/pageutils.php on line 108
My phpBB3 is at forums.pygmyisland.net/phpBB3/ and for simplicity I've installed the wiki at forums.pygmyisland.net/dokuwiki-2007-06-26b/ Ultimately, I'd like to have the wiki on the subdomain wiki.pygmyisland.net -- but I wasn't sure if having the two things on different subdomains was causing the problem (it doesn't seem to be).

Thanks for any suggestions.

neps
Registered User
Posts: 66
Joined: Thu Nov 21, 2002 12:38 pm

Re: [ALPHA] Integration for DokuWiki

Post by neps » Tue Jul 15, 2008 7:31 pm

Erie Buoy - you need to make sure you did the "if defined" wrapper for everything it mentions in inc/utf8.php - they just show one example - you need to do the rest

Code: Select all

utf8_strlen
utf8_substr
utf8_strtolower
utf8_strtoupper
utf8_strpos

digitaldoctor
Registered User
Posts: 4
Joined: Sat Aug 02, 2008 5:46 pm

Re: [ALPHA] Integration for DokuWiki

Post by digitaldoctor » Sun Aug 03, 2008 12:16 am

[ALPHA] Integration for DokuWiki - great idea.

knightrideronline.com - great site.

I registered on the forums and was automatically logged into the wiki ... very nice !
I logged out of the forums and was logged out of the wiki - very nice !

Great job.

For those wanting to see how well this works .. use this login
site: knightrideronline.com
Login: wikitest
Pass: wikitest
Last edited by ckwalsh on Sun Aug 03, 2008 4:28 am, edited 1 time in total.
Reason: Removed Links, left URLs

wobo
Registered User
Posts: 128
Joined: Tue May 04, 2004 4:28 am

Re: [ALPHA] Integration for DokuWiki

Post by wobo » Fri Sep 05, 2008 5:06 pm

Hopefully I will come to that point where I can enjoy this as well.

ATM I have phpBB3 installed, DokuWiki installed. Both work alright independently. Then I installed the integration files from the zip and created the local.protected.php with the correct contents. Now, when I click on the wiki link all I get is a totally blank page, nothing on it, even the page source view in Firefox is blank.

wobo
Parents: Talk to your kids about Linux!
Before someone else does it!

wobo
Registered User
Posts: 128
Joined: Tue May 04, 2004 4:28 am

Re: [ALPHA] Integration for DokuWiki

Post by wobo » Tue Sep 09, 2008 11:12 am

I got this solved, well, not really, I made a new installation. Then the wiki worked fine. Then I inserted all the changes for the bridge, checked them 3, 4, 5 times.
The wiki is working but I get an error message on top of the page:

Code: Select all

[phpBB Debug] PHP Notice: In file /var/www/testweb/doku/inc/auth.php on line 287: in_array() [function.in-array]: Wrong datatype  for second argument
[phpBB Debug] PHP Notice: In file /var/www/testweb/doku/inc/auth.php on line 289: in_array() [function.in-array]: Wrong datatype  for second argument
The lines in question are:

Code: Select all

286: // check groups against superuser and manager
287:  if(in_array(auth_nameencode($conf['superuser'],true), $groups)) return true;
288:   if(!$adminonly){
289:    if(in_array(auth_nameencode($conf['manager'],true), $groups)) return true;
290:  }
291:  return false;
What is the reason for these error messages? The bridging with phpBB3 does not work, of course.

wobo
Parents: Talk to your kids about Linux!
Before someone else does it!

wobo
Registered User
Posts: 128
Joined: Tue May 04, 2004 4:28 am

Re: [ALPHA] Integration for DokuWiki

Post by wobo » Wed Sep 10, 2008 12:10 pm

I found out that this second argument is 'groups'. So I put a line in front of the check in auth.php:

Code: Select all

var_dump( $groups ) ;
which gives back 'NULL'.

If I understand this correctly then the bridge successfully disables the default groups in DokuWiki but does not succeed in defining the phpBB3 groups, although they are defined in phpBB3.class.php

Anybody around who knows anything about this DokuWiki integration?

wobo
Parents: Talk to your kids about Linux!
Before someone else does it!

wobo
Registered User
Posts: 128
Joined: Tue May 04, 2004 4:28 am

Re: [ALPHA] Integration for DokuWiki

Post by wobo » Tue Sep 16, 2008 2:32 pm

Looks like everybody has gone fishing... :(

Is there really no help available so I can change to phpBB ? I'm ready to answer any questions you may ask and follow any steps you may suggest, because I ran out of ideas.
The wiki integration is one of the top priorities for us, no wiki integration, no phpBB

wobo
Parents: Talk to your kids about Linux!
Before someone else does it!

Locked

Return to “[3.0.x] Abandoned MODs”