Floating Buttons ACL

First of all I would like to thank you for the excellent work on the free plugin.

I would like to know if at any time it would be possible to add control of user groups to the buttons, it would be interesting to have this option.

Another improvement would be to be able to choose which side the button would appear on.

Thank you very much in advance.
4 years 3 months ago #1 by JACKSON MEIRA

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline
Hi cropots,
Glad you like the module;)

I would like to know if at any time it would be possible to add control of user groups to the buttons, it would be interesting to have this option.

You can do that by duplicating the module and set different access level for each user group.

Another improvement would be to be able to choose which side the button would appear on.

We will add this function in the next update, in the meanwhile, you can add this code below to your css file, to move the buttons to the left side :
button.jfab_main_btn {
right:auto!important;
left:16px!important;
padding:0!important;}
.jfab_btns_wrapper {
right:auto!important;
left:0!important;
text-align:left!important;
}
.jfab_btns_wrapper button {
padding:0!important;}
.sub_fab_btn {
    float:left!important;
    margin-left:20px!important;
}
.jfab_btns_wrapper > div {
    display:block;clear:both!important;
}
.jfab_btns_wrapper:first-child {
    margin-bottom:30px!important;
}
4 years 3 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

I tried this option to duplicate the module, but the buttons are overlapping and it doesn't have a very nice effect, unless I can control the position of each icon separately.
4 years 3 months ago #3 by JACKSON MEIRA

Please Log in or Create an account to join the conversation.

I have users with hybrid permissions, so even configuring a certain group in the module, it will end up loading 1 or more modules at a time. The ideal was to be able to control directly on each icon, which group could view.

Anyway thanks for the help.
4 years 3 months ago #4 by JACKSON MEIRA

Please Log in or Create an account to join the conversation.

I managed to get around the problem by changing the JS to create a class with the same name as the link in the main div of the button, I think it will work for now.

But think about this permission function by group, it would make the module more attractive than it already is.
4 years 3 months ago #5 by JACKSON MEIRA

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline
Ok, I will update the module with access level for the menu items. Hopefully I can upload it today
4 years 3 months ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum