Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterIf URE is network activated it uses options data from the main blog for all subsites.
Your site new installation differs somehow. Try to debug code related for work with options data to understand what’s going wrong with your setup and enhance the URE’s code.Main blog ID is defined at includes/classes/base-lib.php constructor:
$this->main_blog_id = $this->blog_ids[0][0];
Let’s replace it with this line:
$this->main_blog_id = $this->get_main_site();
and add a new public method to URE_Base_Lib class:
public function get_main_site() { global $current_site; return $current_site->blog_id; } // end of get_main_site()
This way we will relay on WordPress in a question of main site ID definition.
Test shortcodes after this update. Just in case debug data you showed yesterday was not actual somehow and main site ID is not 1.
If it will not help, let’s proceed with debugging of init_options method at includes/classes/ure-lib.php, line #154.
User Role Editor takes its configuration/options data from there. As you can see it switches to the main blog before to get data if it’s network wide activated under WP multisite.
30/06/2016 at 01:11 in reply to: Problem with view-broken-links, search_regex_read and search_regex_write #2457Vladimir
KeymasterHi,
Thanks for letting me know that the issue is resolved.
Vladimir
KeymasterCould you compare the output from WordPress (adding this code to the functions.php, for example):
global $current_site; echo 'Main site ID: '. $current_site->blog_id;
and from this SQL query:
select blog_id from wp_blogs order by blog_id asc limit 0, 1;
use your own DB prefix instead of a default ‘wp_’ if you changed it.
Vladimir
KeymasterIs URE network activated or per the single subsites?
29/06/2016 at 02:47 in reply to: Problem with view-broken-links, search_regex_read and search_regex_write #2450Vladimir
KeymasterI tested ‘Search-regex’ plugin for non-admin user with ‘search_regex_read’ capability in a role without problem.
‘Broken Links Checker’ plugin uses ‘edit_others_posts’ capability for its menu item under the ‘Tools’ menu. Does your role include ‘edit_others_posts’ capability?
29/06/2016 at 02:32 in reply to: Problem with view-broken-links, search_regex_read and search_regex_write #2449Vladimir
KeymasterThere is no ability to attach screeenshots here. Upload them to your own or some public resource and insert links to your post.
Vladimir
KeymasterHi,
Generally if you block 1st submenu item ‘Themes’, it removed, and ‘Appearance’ menu item is re-linked to the new 1st menu item – ‘Customize’ or other. I tested with 2016 theme.
What theme do you use? If it’s is not available for free send me (support [at-sign] role-editor.com) its copy for testing.Vladimir
KeymasterHi Hannes,
Look if you have some active plugin which may do its own redirection just after user logged-in. Try to deactivate them all and activate back one by one until you meet a problem again.
Vladimir
KeymasterCheck if ‘Activate [user_role_editor roles=”role1, role2, …”] shortcode’ checkbox at URE’s settings ‘Additional modules’ tab is turned ON at ‘Network Admin’ if URE is network activated or for the site to which this page is belongs.
25/06/2016 at 01:49 in reply to: Problem with view-broken-links, search_regex_read and search_regex_write #2437Vladimir
KeymasterDid you set any restrictions with “Admin menu access” module for this role? If Yes, describe them or show the screenshots.
Vladimir
KeymasterNo problem. Thanks for the information that your issue was resolved.
Vladimir
KeymasterShow the exact error message. I can not find ‘error while sending’ at WordPress code.
What’s happened if your upload image by user with WP built-in ‘editor’ role?Vladimir
KeymasterHi Fred,
Currently such feature is not available with URE Pro. It’s on the development queue though. I hope it will be available in 1-2 months.
Vladimir
KeymasterThanks for you help with resolving this.
Vladimir
KeymasterThanks for contacting Varktech on your side.
-
AuthorPosts