Forum Replies Created
-
AuthorPosts
-
gcacciolaParticipant
Great, it worked perfectly. Will it be embedded on a future update?
Regards.
Giacomo
gcacciolaParticipantGreat! It worked! It showed admin on the edit screen, I unchecked create templates and checked again, and we are back with everything working! Thanks!
Giacomo
gcacciolaParticipantHello Vladimir, how are you? I was about to check what you suggested, but when I go to URE roles UNDER USERS, , it doesn’t show administrator there anymore!
But when I go to a page or post restrictions, administrator is showing fine there!
Do you have any idea why this is happening?
gcacciolaParticipantGreat, I am not doing anything wrong then.
It is horrible when we describe bugs that cannot be reproduced.
I am glad you will look into it. Thank you so much.gcacciolaParticipantThank you so much. You are awesome.
I am very satisfied with support, no regrets buying the plugin.
Keep up the good work.gcacciolaParticipantOps! Sorry, my bad! I am getting confused already!
Well, in that case, I can confirm that it worked. I created both new page and new custom post type article, and they came with 404 marked as default after the coding! Great job!gcacciolaParticipantFound it! I went to user-role-editor-pro/includes instead of /pro.
I thought that pro on the beginning was the ending of “user role editor pro”.
Well, sent you the copy.
I did the coding you told me on line 166, but it didn’t work 🙁
Still getting a blank page. the 404 is missing ( lol, the 404 is 404 hahhhaa)
gcacciolaParticipantWell, I have just downloaded a fresh version of URE pro from your site, and there is still no file with that name there!
I know the update comes in a week, but it is just to let you know that something is wrong!
Regards!Giacomo
gcacciolaParticipantHello Vladimir, how are you, I am sorry, I was out of the office for a while. Do you still need the theme files? What’s the easiest way to send you?
I Was happy to try your solution, but something very weird happened, I went to the path you wrote above, and in my user-role-editor-pro/includes/classes, there are no files named “content-view-restrictions.php”!!!gcacciolaParticipantHello Vladimir, I am glad I helped you.
Here is the link to my ticked opened at the Theme’s support forum, they are usually very helpful!
https://alkaweb.ticksy.com/ticket/1117251
Can you take a look and see if there is something we can figure out together? I realized that for posts themselves is working fine the 404 thing it is even working for custom post types, the problem is actually happening on PAGES restrictions.Regards
Giacomo
gcacciolaParticipantHello, I am still researching the subject, I found that for custom post types, the behavior is fine, but for pages only that the above erratic behavior is still happening. I have received the response from the theme developer but I still have to test it.
One other thing that I noticed, is that on the URE options, even if I select 404 as a default, when I create new pages the default option that comes selected is: “Show access error message”
This is how it is setup:
Content view restrictions
Activate [user_role_editor roles=”role1, role2, …”] shortcode
Activate content view restrictions
Defaults:
View access:
Allow View
Prohibit View < —– This is the one selected.
For Users:
All visitors (logged in or not) < —– This is the one selected.
Any User Role (logged in only)
Selected User Roles / (logged in only)
Action:
Show Access Error Message
Return HTTP 404 error < —– This is the one selected.Can you please check?
Keep up the good work. URE is fundamental to my intranet.
gcacciolaParticipantHello, I think I found the cause of the problem!
As you can see on the screenshot. The theme itself has its own ( Less powerful ) access control, even if they are not enabled, it is causing conflict. If I disable URE, the theme’s access control returns the 404 fine. But if URE is enabled, it gets a blank page. I am no programmer, but I’ll contact the theme developers.
On the regular 2017 theme it works wonders.
I’ll let you know what happens.
Regards!
gcacciolaParticipantgcacciolaParticipant
Good I found a bug! Here you go, setup and result!
Obviously the user is in another role than the ones with granted permission.
-
AuthorPosts