Hey
I am trying to integrate dokuwiki into the
Vanilla-Forum with installed
MultiRoles-Addon. I started with the "official"
HowTo, but it seems to be quite outdated and of course not MultiRoles ready.
So I started upgrading and run into trouble :(
Somehow DokuWiki does not want to recognize the groups :( My superuser-group ist Administrator.
The info-Array of the _getUserInfo-Funktion within the mysql-auth-class looks like this:
Array
(
[pass] => MD5Hash
[name] => Administrative User
[mail] => invalid@invalid.invalid
[id] => 1
[grps] => Array
(
[0] => Administrator
[1] => Fileserver
[2] => Bewohner
[3] => Admin
)
)
When it looks like this it does not work.
But if it look like that it does:
Array
(
[pass] => MD5Hash
[name] => Administrative User
[mail] => invalid@invalid.invalid
[id] => 1
[group] => Administrator
[grps] => Array
(
[0] => Administrator
[1] => Fileserver
[2] => Bewohner
[3] => Admin
)
)
When I look that the auth-classes of other integrations, I dont see them having that "group" index.
my
vanilla.class.php.
It'd be nice if someone could help me.
P.S. I am using the DokuWiki from 11. April 2008 and Vanilla 1.1.4
EDIT: MultiRoles is an Addon which allows you to add a user to several roles (aka groups) instead of just one (how its in Vanilla, when its plain vanilla).