whereverpanda
Forum Replies Created
-
Forum: Plugins
In reply to: [Permissions Editor for Ninja Forms] Permission Per FormHi there – I would just like to update you that Ninja Forms has changed the capability settings and it seems like your genuinely helpful plugin no longer works.
If there is any way you can update it, that would be amazing.
Their documentation is here: https://developer.ninjaforms.com/codex/submission-permissions
So ultimately I’ll have two code snippets right?
This
<?php // Must use all three filters for this to work properly. add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_subs_capabilities' ); // Parent Menu add_filter( 'ninja_forms_admin_all_forms_capabilities', 'nf_subs_capabilities' ); // Forms Submenu add_filter( 'ninja_forms_admin_submissions_capabilities', 'nf_subs_capabilities' ); // Submissions Submenu function nf_subs_capabilities( $cap ) { return 'nf_subs'; // EDIT: User Capability }
and this:
<?php /** * Filter hook used in the API route permission callback to retrieve submissions * * return bool as for authorized or not. */ add_filter( 'ninja_forms_api_allow_get_submissions', 'nf_define_permission_level', 10, 2 ); add_filter( 'ninja_forms_api_allow_delete_submissions', 'nf_define_permission_level', 10, 2 ); add_filter( 'ninja_forms_api_allow_update_submission', 'nf_define_permission_level', 10, 2 ); add_filter( 'ninja_forms_api_allow_handle_extra_submission', 'nf_define_permission_level', 10, 2 ); add_filter( 'ninja_forms_api_allow_email_action', 'nf_define_permission_level', 10, 2 ); function nf_define_permission_level() { $allowed = \current_user_can("nf_subs"); return $allowed; });
Or does the last one need to be delete_others_posts?
And again, will this allow non-admins to download/export the submissions?Sorry for all the questions, but I’m really a bit out of my depth.
Thanks!
- This reply was modified 3 years, 5 months ago by whereverpanda.
Will this now allow other users to download the form submissions as well?
Because I know this was a problem previously. (That’s why I used Permissions Editor for Ninja Forms up to now)And can I copy and paste that code directly into a snippet from the Code Snippets plugin?
Or can I define a capability like nf_subs using Publishpress Permissions and use that instead of edit_posts and delete_others_posts?
I’m sorry for the questions, but I really am not a coder.
- This reply was modified 3 years, 5 months ago by whereverpanda.
Forum: Plugins
In reply to: [All 404 Redirect to Homepage] Latest Version breaks Caldera forms backendThank you very much! – That seems to have fixed the problem.
May I ask what was causing it (I’m a non-coder, but would just like to understand, if possible)
Thanks!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not indexing content in Oxygen Builder TabsThanks again @msaari
I have updated the plugin and made the single line addition to the oxygen.php file again accordingly.
Thanks so much!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not indexing content in Oxygen Builder TabsHi Mikko,
Hope all is well!
Just wanted to check whether the new version includes this fix?
Thanks!
Forum: Plugins
In reply to: [WP Armour - Honeypot Anti Spam] Missing on Ninja Forms?Hi there! I saw Ninja Forms recently had an update and I wad just wondering whether this issue is perhaps close to being resolved?
Again, this is a highly effective plugin with Caldera Forms and I’m hoping that it will be able to be used with Ninja Forms.
Thanks!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not indexing content in Oxygen Builder TabsGreat, thanks again, Mikko.
You have been an amazing help, as always!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not indexing content in Oxygen Builder TabsGreat, thanks Mikko,
So just to clarify, it’s just this one line that needed to be added:
'/\[\/?oxy_.*?\]/',
And that’s because of the way Oxygen wraps them?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not indexing content in Oxygen Builder TabsHi @msaari,
That seems to have solved it, thank you so much! You are genuinely a hero! I don’t see any issues with it thus far, but I’ll keep my eye on it.
Will this fix be included in the next update?- This reply was modified 3 years, 6 months ago by whereverpanda.
- This reply was modified 3 years, 6 months ago by whereverpanda.
Forum: Plugins
In reply to: [Email download link] ReCaptcha v3 support?Hi there,
I’m just following up on this. I have a site which seems to be getting spammed and the v3 version of reCaptcha is just a lot more user friendly.
Forum: Plugins
In reply to: [Elementor Website Builder - More Than Just a Page Builder] Safari 12 issuesTo follow up on this – Someone on the Facebook community helped to inspect one of the sites and there seems to be an error:
‘ReferenceError: Can’t find variable: IntersectionObserver’
which may be causing the entrance animation issues.
Any chance of a fix on his?
@bobsled Okay, awesome – Thank you so much!
Hi guys,
Sorry to jump in here, but just to check – is it safe to update Ninja Forms then?
Forum: Plugins
In reply to: [Elementor Website Builder - More Than Just a Page Builder] Safari 12 issuesThis issue seems to have started occurring after the update from Elementor 3.4.2 to 3.4.3
I just tested a test site running on 3.4.2 on Safari 12 and everything worked fine. I then updated Elementor to version 3.4.3 and the issue started occurring.
- This reply was modified 3 years, 6 months ago by whereverpanda.