• Resolved SeeJaneB

    (@janiebee83)


    Hello,
    I’m setting up your plugin on a site that I am designing for a client, who will need to have access to edit or create new popups on their site.

    I have two concerns:

    1. I really see the need for some settings where global default styles can be set for all brave popups. For example, I’m wishing I could set up the default typography, button colors, border radius, etc. to match the design of the site, so my client won’t need to concern themselves with those settings any time they set up a new popup.

    2. I set up my client as an “editor” user role on the website so they only have access to the areas of the backend of the website that they absolutely need, like to create posts, add events to the calendar, etc. I noticed that Brave doesn’t show up on their sidebar menu on the backend of wordpress when they are logged in. Is there a way you can release restrictions on the roles that can access Brave, or at least give the administrator control over what roles they want to allow?

    Thanks in advance for your consideration!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brave

    (@getbrave)

    1. Global Styles actually takes a lot of work. We will eventually add this feature, but this may take some time.

    2. To let editor’s give access to the Brave, You will need to add some custom function.
    Try adding this custom php code in your site (through your theme’s functions.php or custom php insertion plugin):

    add_filter('bravepop_allowed_backend_cap', 'bravepop_override_default_editor_role', 10, 2);
    function bravepop_override_default_editor_role() {return 'edit_pages';}

    Thanks

    Thread Starter SeeJaneB

    (@janiebee83)

    @getbrave
    Thanks for your consideration of the global styles for popups.

    I added the code snippet and the Brave section does show on the editor dashboard menu now; however, it’s just blank when clicking on all campaigns, so they wouldn’t be able to view existing popups or create new ones. (See screenshot: https://www.awesomescreenshot.com/image/9016024?key=f95dc903c41131fc26a88e2d4f1f1071

    Is there anything to add to allow this functionality?

    Thread Starter SeeJaneB

    (@janiebee83)

    Actually, I just got it to work. I had set the snippet to only run in the administration area, since I figured that was were it needed to be used, but just changed it to run snippet everywhere and the campaigns showed up.

    I figured if I could save some resources and only run it on the back end of the site it would be best, but apparently that didn’t work.

    FYI I used the code snippets plugin, since I am using the Oxygen Builder which disables the theme.

    Plugin Author Brave

    (@getbrave)

    Great! In near future, we will add a Settings Page where this can toggled without go through the hassle of inserting custom code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Global Styles & User Roles’ is closed to new replies.