Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dmajwool

    (@dmajwool)

    Thanks for the reply Imran,
    Please could you confirm that the steps you suggest include a customisable reminder email.
    In my original post I state that I have customised emails already enabled and working well.
    My issue is that I don’t see a per-event override option for the reminder email.
    Thanks, David.

    Thread Starter dmajwool

    (@dmajwool)

    I still don’t understand step 3, but I think I’ve sorted myself out and I now can see the widgets in Appearance->Menus.

    In the main installation notes it says:-
    4) Now, you are ready to move to the menu from Appearance -> Menus. You need to hover over the menu item and you will find “widget” settings button there.

    In order to see the available widgets you must hover over any existing menu item and then the AddWidget button will appear. Choosing a widget from the list will add that widget to the end of your menu.

    Hope this helps, David.

    Thread Starter dmajwool

    (@dmajwool)

    I wonder is there any facility within an Events Manager event to define the number of spaces assigned to a ticket type as a formula that references other tickets that have already been sold in this event.
    In an example event scenario, I can offer 10 typeA luxury spaces in the VIP seating area irrespective of anything else. In addition, I can accommodate 20 other spaces in the economy seating area in any combination of typeB and typeC. So I would put typeB spaces=20 and typeC spaces=20
    If I put Total Spaces = 30, then I might sell 15 x typeB and 15 x typeC, which exceeds the physical capacity in the economy area.
    However, if I could define:
    typeB spaces = “20 – #typeC_BOOKED_SPACES”
    typeC spaces = “20 – #typeB_BOOKED_SPACES”
    … then the available typeC spaces would decrease when a typeB space was sold.
    Is anything along these lines remotely possible?
    Many thanks, David

    Thank you Squazz,

    I searched some more and found that the topic is covered, slightly obliquely across a couple of pages on the Ninja website.

    I followed instructions from the below website pages and now have editors able to access Ninja Forms.

    http://wpninjas.com/how-to-create-a-simple-wordpress-plugin/

    http://docs.ninjaforms.com/customer/portal/articles/1981035-general-guidance-change-who-can-access-ninja-forms-in-the-admin?b_id=9172

    1.) FTP login to your website and create the folder ‘wp-content/plugins/my_custom_change_ninja_forms_all_forms_capabilities_filter’

    2.) In that folder create an empty file ‘my_custom_change_ninja_forms_all_forms_capabilities_filter.php’

    3.) In that empty file, paste at the top…

    <?php
    /*
    Plugin Name: my_custom_change_ninja_forms_all_forms_capabilities_filter
    */

    4.) …and under that, paste this code from the 2nd Ninja link above

    <?php
    // To give Editors access to the ALL Forms menu
    function my_custom_change_ninja_forms_all_forms_capabilities_filter( $capabilities ) {
        $capabilities = "edit_pages";
        return $capabilities;
    }
    add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'my_custom_change_ninja_forms_all_forms_capabilities_filter' );
    add_filter( 'ninja_forms_admin_all_forms_capabilities', 'my_custom_change_ninja_forms_all_forms_capabilities_filter' );
    // To give Editors access to ADD New Forms
    function my_custom_change_ninja_forms_add_new_capabilities_filter( $capabilities ) {
        $capabilities = "edit_pages";
        return $capabilities;
    }
    add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'my_custom_change_ninja_forms_add_new_capabilities_filter' );
    add_filter( 'ninja_forms_admin_add_new_capabilities', 'my_custom_change_ninja_forms_add_new_capabilities_filter' );
    
    /* To give Editors access to the Submissions - Simply replace ‘edit_posts’ in the code snippet below with the capability
    that you would like to attach the ability to view/edit submissions to.Please note that all three filters are needed to
    provide proper submission viewing/editing on the backend!
    */
    function nf_subs_capabilities( $cap ) {
        return 'edit_posts';
    }
    add_filter( 'ninja_forms_admin_submissions_capabilities', 'nf_subs_capabilities' );
    add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_subs_capabilities' );
    add_filter( 'ninja_forms_admin_menu_capabilities', 'nf_subs_capabilities' );
    
    // To give Editors access to the Inport/Export Options
    function my_custom_change_ninja_forms_import_export_capabilities_filter( $capabilities ) {
        $capabilities = "edit_pages";
        return $capabilities;
    }
    add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'my_custom_change_ninja_forms_import_export_capabilities_filter' );
    add_filter( 'ninja_forms_admin_import_export_capabilities', 'my_custom_change_ninja_forms_import_export_capabilities_filter' );
    
    // To give Editors access to the the Settings page
    function my_custom_change_ninja_forms_settings_capabilities_filter( $capabilities ) {
        $capabilities = "edit_pages";
        return $capabilities;
    }
    add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'my_custom_change_ninja_forms_settings_capabilities_filter' );
    add_filter( 'ninja_forms_admin_settings_capabilities', 'my_custom_change_ninja_forms_settings_capabilities_filter' );

    5.) Go to your WordPress Dashboard Plugins page and see that there is now a new plugin listed – called ‘my_custom_change_ninja_forms_settings_capabilities_filter’

    6.) Activate the plugin by clicking the Activate link under its name.

    That should be it. Editors should now see the Forms widgets in the dashboard.

    Hope this helps someone, Cheers, David.

    Hi
    I too would like to extend dashboard access to Ninja forms to my Editors. Thanks Squazz for the code snippet, but you don’t say where you deployed this code? Could you expand a bit, please.

    I agree with the Squazz that a basic option within the plugin to control its visibility in the dashboard would be useful to non-coders like myself.

    The finer-grained control that James eludes to is, I’m sure very valuable in the rarified atmosphere inhabited by folk who are comfortable hacking plugins, but I’m not one of them. Nor do I need that level of control in my situation.

    I just want to maintain a divide in our site’s management: The admins (me) keep the site running, the heads of department (editors) write and maintain the content. That’s a fundamental of CMS, right?

    At the mo I’ve had to promote some folk to Admin, and that’s not a good thing in the long run.

    Thanks, David.

    Thread Starter dmajwool

    (@dmajwool)

    Thanks Barry,

    Appreciate the reply & I didn’t know WP had a possibility to customise roles & capabilities.

    I installed the user role editor plugin and have achieved what I wanted 🙂

    BTW, the names of the custom capabilities exposed are
    user_can_add_new_download
    user_can_config_downloads
    user_can_edit_downloads
    user_can_view_downloads_log

    I didn’t find the manage_downloads capability you referred to.

    Again, many thanks for the support.

    Cheers, David.

Viewing 6 replies - 1 through 6 (of 6 total)