Hi! Is it planned to add “Multi User” functionality. I mean public user (and site) registration like WPMU comparing to ordinary Wordress ?
I’we started piwik server on VPS for my needs, but after some time decided to share with locals. So i made few changes in original plugins (Login and CoreHome) and added few own.
That changes not so hard to repeat for next releases, but i still would like to know if there will be “from the box” feature.
If you have interesting code, or precise suggestions of things that you would need to be done, write here your requirements. That would help and maybe other developer would also be interested, and maybe a custom plugin could be started!
Actually, I have a programmer start the work but I had him stop since he didn’t really understand my requirements. I’ll try to see if I can package it up for everyone else to use.
Hi! so here what i made.
First i wrote plugin for registration, and modified additionally Login templates to add “SignUp” link. Registration plugin uses super-user token to attempt to add new user and give that user new siteID. If everything fine new user logs in automatically. Otherwise token drops to anonymous.
Later I’ve made SiteManagerPersonal to allow manage sites. But to use this plugin i had to add APIPersonal plugin which allowed to raise access to super-user for limited number API calls (in my plugin it is adding and deleting sites).
Both SiteManagerPersonal and APIPersonal are clones of original plugins with few modifications.
Also changed behavior of Settings link in CoreHome. For ordinary users it replaced with “Sites” link targeted to SiteManagerPersonal.
In core/View.php added
And few more details.
There is hard-coded limit (10) to Site count per user in SiteManagerPersonal . But there is no such in Registration style_emoticons/<#EMO_DIR#>/sad.gif APIPersonal doesn’t allows to delete all of sites, at least one should be left. With no sites SiteManagerPersonal will not show “Add” link.
Current structure and style also requires new super-user page to manage “per user sites” because it isn’t easy to find out which sites belongs to who.
This is the error i got after cliking on the confirmation link :
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/a389951l/public_html/piwik/signup/confirmation.php on line 130
I have installed piwik and I find it fantastic, but lacks a very important function.
One that allows users to sign up and add websites (As for google analytics). I and my company we are looking for people who develop these changes (Even a fee) and then we would release them as a plugin for the whole community.