dikig
Forum Replies Created
-
Luckily in the meantime I found a solution by myself.
Therefore the post can be closed.
Dietr
Still hoping for an idea. Is there noone around to help?
Thanks
DieterMany thanks,
good to know and good luck!
Dieter
Sorry, I missed to add the revision of Migrate Guru: 1.53
Revision of WP: 4.9.4Dieter
Hi dariodev,
many thanks for your valuable anwer. I just installed ‘Dynamic Widgets’ and once having figured out how to configure and use the plugin, it did exactly what I was looking for!
Unfortunately without your hint I did not have any idea how to address this issue. Now the problem is resolved.
Dieter
Hi John,
I just took the time to comprehensively check the contents access vs. roles and the conclusion is: all works perfectly and higher user role levels include the lower user role levels as expected.
Here you can find the results: https://www.dikig.de/files/170927_User_roles_and_contents_access.xlsx
Please do not ask me, why it did not work initially. There must have been spelling issues.
Many thanks for your great support and please take my apologies for wasting your time to some extent.Dieter
Thanks John,
obviously there was a basic misunderderstanding on my side as I thought that higher level roles automatically include the roles with less capabilities. Most likely this and spelling issues was the reason that I was not able to get the restrictions for a special level running.
Please give me some time to invstigate this in more detail.By the way, is there a simple solution to get the userlevel of the current user (exact spelling)?
Thanks
DieterHi John,
I made a couple of screenshots and hope this is what you asked for.
Please download it from: https://www.dikig.de/files/attachment2Find attached as well the file “shortcodes.php” where I tried to get information about the internal userlevel string. It obviously prints the userlevel provided with the restrict statement. The code simply consists of two echo statements. You can see the results in the screenshots directly under the header.
To my suprize it now seems to work, at least with the roles ‘author’ (German: Author) and ‘administrator’ (German ‘Administrator’). I did several tests before and never saw it working – I’m confused !!!!
I will do some tests with other user roles as well. Unfortunately my WP instance has a couple more roles than the ones you listed in your documentation, may be I selected the wrong ones during the tests.Many thanks for your patience
DieterMany thanks John for your fast response. I’d love to attach a schreenshot, however, I wasn’t able to figure out how this can be done in this forum ??
Hopefully this link will work for you: https://www.dikig.de/files/restrict_plugin_screenshot1.jpgPlease let me know if I can help you with this issue (e.g. doing tests or similar).
Many thanks
Dieter