Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterYou may use “Gravity Forms Access” add-on, and specify, which forms (by forms ID list) allow/prohibit to edit for selected user of user role.
gravityforms_delete_forms does not give access to the forms list itself, gravityforms_edit_forms is required. So user will can edit forms too.
Vladimir
KeymasterHi Nana,
I’m sure it’s not URE Pro bug. Your notification is the 1st for the perion this part of code stays unchanged.
Let’s trace the code from line #222, which causes the PHP fatal error:
user-role-editor.php: #37: define( 'URE_PLUGIN_FULL_PATH', __FILE__ );
pro/includes/classes/user-role-editor-pro.php: #54: $ure_update_checker = new PluginUpdateChecker(URE_UPDATE_URL . '?action=get_metadata&slug=user-role-editor-pro', URE_PLUGIN_FULL_PATH);
pro/includes/plugin-update-checker.php: #52: $this->pluginAbsolutePath = $pluginFile;
pro/includes/plugin-update-checker.php: #53: $this->pluginFile = plugin_basename($this->pluginAbsolutePath);
pro/includes/plugin-update-checker.php: #222: $pluginInfo->filename = $this->pluginFile;
As you can see from the code above $this->pluginFile at the line 222 can not be null, if exactly this code is executed. It just processes PHP built-in __FILE__ constant value.
I suppose that you may use another plugin, which also use PluginUpdateChecker class, but defined earlier due to code execution queue and possibly another version, which may lead to a conflict. Check your plugins source code using command similar
grep -rn ‘PluginUpdateChecker’
06/06/2023 at 14:59 in reply to: Custom Content Type (CCT) by JetEngine, user not possible to edit #8287Vladimir
KeymasterThanks for the key details for your question: “redirected to the dashboard everytime”.
That is you can click “Add New” to create new post or click ‘Edit’ to edit existing post, but instead of post editor page you see WP dashboard, right?
If Yes, do you use “Admin menu access/blocking” add-on from URE Pro? If Yes, and you use block “Not selected” model for a role, try to revert it to “Selected” or read carefully this part of the documentation article:
05/06/2023 at 16:17 in reply to: Custom Content Type (CCT) by JetEngine, user not possible to edit #8284Vladimir
KeymasterDo you have turned ON the “Activate “Create” capability for posts/pages/custom post types” option? If Yes, will user can edit CPT if you turn it OFF? If JetEngine allows to define unique capability type for CPT, try to make it via JE, not change on the fly using URE. Just wish to know, if it will work?
Vladimir
KeymasterHi,
I have really blocked access to the site for unregistered visitors, as I was away and can not process client requests. Site is fully functional now.
Vladimir
KeymasterI suppose that URE at your site has active options related to the custom post type, like:
– Activate “Create” capability for posts/pages/custom post types,
– Force custom post types to use their own capabilities.
And current user role did not contain needed capabilities at the moment when you try add/edit schema.15/05/2023 at 02:32 in reply to: Giving access to user to install and configure the plugin he installed #8271Vladimir
KeymasterOK. Btw., just take into account that person who install a plugin, can execute on a server any PHP code (if include it into plugin) and receive this way full access to the site and its data (if he has such purpose). URE restrictions protect only WordPress user interface.
12/05/2023 at 02:21 in reply to: How to block “Tags” box in post editor view for certain roles. #8268Vladimir
KeymasterMeta boxes add-on takes the list of available meta boxes after you open the editor page especially for that post type, e.g. posts, pages or products. After that only you can find the meta box under selected post type.
Vladimir
KeymasterIf you use “Admin menu” block “Not selected” model value, pay attention on the “Technical details” part of the documentation article: https://www.role-editor.com/block-wordpress-admin-menu-items/#block_not_selected
Vladimir
KeymasterHi Mike,
What plugin was updated after which you lose ‘Theme Builder’ item selection in Admin menu?
24/04/2023 at 16:57 in reply to: License Validation – cURL error connecting to update.role-editor.com port 443 #8255Vladimir
KeymasterYou may try, may be they will can find a workaround.
I will also add a filter to the next update to block license checking for similar situations and off-line/intranet usage.24/04/2023 at 16:53 in reply to: Object Cache Pro plugin appearing in admin menu even though disabled #8253Vladimir
KeymasterYes, because of this menu item becomes unavailable for user which can not objectcache_manage capability. In this case there is no need to select/unselect it via “Admin menu” in URE.
24/04/2023 at 16:48 in reply to: License Validation – cURL error connecting to update.role-editor.com port 443 #8252Vladimir
KeymasterIt would be a temporal networking issue. If this error message is stable at your site, try the same URL directly at address bar of your desktop browser. Is it available? If Yes, your site provider firewall may block update.role-editor.com
It influences for the automatic updates only.22/04/2023 at 02:42 in reply to: Object Cache Pro plugin appearing in admin menu even though disabled #8249Vladimir
KeymasterThanks.
Plugin uses own ‘objectcache_manage’ capability. Look if your role contains this capability and revoke it. Also plugin automatically allows this capability to user with ‘install_plugins’ capability, e.g. administrator one.21/04/2023 at 14:34 in reply to: Object Cache Pro plugin appearing in admin menu even though disabled #8247Vladimir
KeymasterShare plugin code with support [at] role-editor.com via Google Drive or DropBox. I will look, how it adds/protects it’s admin menu item(s).
-
AuthorPosts