better control over action buttons

would be a good upgrade if admin had more control over which 'action buttons' appear to membership levels.

For example, in groups, I might want nobody, even the group admin to be able to feature a group, or broadcast - reserve these functions just for main site admin.

 

At the moment, I cant do this. I can remove the buttons using actions manager module, but I cannot assign membership control over them.

 

With featuring a group, I cant do that in back end of the site so I have to leave the button there on front end.

This also means the group admin can feature that group... What If I want only site admin to be able to do this and not general group admin?

Quote · 8 Aug 2014

if you go to your admin section - settings - membership levels, you can assign what membership levels can broadcast. So as an example - you have two different membership levels that can add groups - but only one membership level can be set to broadcast. 

caredesign.net
Quote · 8 Aug 2014

Yes, Im aware of this, having just looked I can see the featuring groups is included also which I wasnt aware it was...

Would still be nice to have certain buttons 'hidden' though such as feature for groups, as there's no option to do this in back end admin. Any group admin, no matter what actual membership level can see the button, even if they cant use it.

If I remove the button, the only option to feature a group is in database!

Quote · 8 Aug 2014

you could add a bit of code to the database entry for the action button. Similar to what is already there in regards to if user is admin then show this. As an example - you would create a code block somewhere that only you (as site admin) can see. This code block would list membership levels and feature and broadcast with checkboxes. Then you would need a db table to hold the results. So if you say, group admin can broadcast, but not feature, you would check broadcast but leave feature unchecked. Then in the db table for the action button, you would add an eval code to check to see if broadcast or featured is checked and if so display the button. If not then it won't display the button. 

This is just a quick thought about how you may be able to accomplish what you need, but I have not actually tried it the way you are describing. I have created other action buttons and had them setup with eval scenarios that did work, though.

caredesign.net
Quote · 8 Aug 2014

 

I have created other action buttons and had them setup with eval scenarios that did work, though

Off topic:  When Boonex states they are doing away with eval in Dolphin U, will it affect this as well?

Geeks, making the world a better place
Quote · 8 Aug 2014

I had to create a new action button, and while doing so a thought crossed my mind. You may not have to use the eval in the actions button db table. ou may just be able to modify the isAllowedBroadcast function. You would still need to add a place where you as a site admin can select the privilege levels you want. Then modify the function to check for both variables.

caredesign.net
Quote · 10 Aug 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.