Can this be done with fabrik...?

m6xmed5

Member
Just wondering if anyone knows if there is any way the fabrik can be used to allow front end users to create joomla user groups on the same permission level they are already on?

The reason I want to do this is because I have another plugin that allows users to collaborate on projects, but the permissions options kind of suck a bit on that plugin.

It allows a user to set a joomla user group permission as the viewing level.
Problem with that is that if a user creates a project that they want to be visible only to other users they choose, an admin must create the user group and assign that viewing level for each user to have access to the project.

If there could be a way to create a little user group manager app in fabrik it would solve all the problems with that plugin.
 
I think it's a bit tricky because a new user group is a group the existing user can't belong to.
I principal you can do every thing with php code (i.e. form or list plugin). But it's up to you to make it save.
 
I get what you mean. I need to look at the joomla docs for adding new user groups.
Is there any way to have the user plugin as multiselect or do I have to use repeating groups?
 
Last edited:
I don't think you'll find a simple, single API call for adding a group or an access level, you'll have to load a Usergroup (or level) table instance, populate the data array, and save it.

No, user element can be multiselect. Also, if you are wanting to select the users to add to the new group, you wouldn't want to use the 'user' element, as that's specifically tailored for recording the current user in a form. Just use a join to the #__users table. Then you could use a checkbox or multiselect. Although if you have a lot of users, that would be cumbersome. You might be better off just having a repeat group, with a dropdown join to #__users.

-- hugh
 
Thanks for the pointers Hugh, I did some reading yesterday, you are correct there is no simple API call for it. After looking at the Joomla docs I think this might be beyond my ability, doesn't mean I'm not going to have a pop at it though :)
 
It's not too hard, and I've seen some example code on Stack Overflow, if you Google for some appropriate terms.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top