Thread Starter
eliant
(@eliant)
There’s really no support for this plugin, is there?
Nothing from forum.
Nothing from developers.
Same is happening to me too.
No fix?
-
This reply was modified 5 years, 2 months ago by
Kizuri.
Thread Starter
eliant
(@eliant)
I gave up. Deleted Content Control, and I’m writing my own plugin.
Last night I found this plugin: Restrict User Access
Seems to be working well and is free
Good luck
@eliant, @kizuri – Sorry to hear that, only a couple of possible issues:
1. JavaScript errors preventing the AJAX save the event.
2. PHP fatal errors during the AJAX save the event.
3. Saving the “restriction” modal, is not saving. Just tested and you must click the “Save” button on the page itself afterward.*
If the issue is #1 or #2, it is almost certain that the underlying error causing it is unrelated to our plugin, just preventing it from saving. There have been multiple reports matching that scenario over the last few years.
Lastly, the plugin is “loosely” supported, but as I’m only one person running multiple plugins and this one literally makes $0 and represents less than >1% of my active user base, it doesn’t generally justify dropping everything if I’m being honest.
@eliant – If your interested in building plugins, I’d be happy to have you submit PR’s for this one, assuming there is something that needs changing on our end and it’s not a bug in another plugin/theme causing the issue.
* Added Note, just checked again and there is an autosave, but its timer based. Using the Save button should ensure it saves right away. Could likely be smoothed out at some point.
-
This reply was modified 5 years, 1 month ago by
Daniel Iser. Reason: correction about saving, just checked and there is an autosave
Thread Starter
eliant
(@eliant)
Daniel – I don’t do FB or Twitter ( cutting back on the intrusion vectors ) So this is the only way I can communicate with you.
You noted that you’d “be happy to have me submit PR’s”. I don’t know what a PR is, but I am making improvements to CC in my website. In particular I’m working on a way to hide restricted articles from the Categories lists and from the Recent posts list by hooking a conditional function into the “pre_get_posts” action. I know it’s been a while, but do you recall which function/file you use to cycle through the array of Roles that makes up a particular Restriction in the Content Control Settings admin page?
@eliant – Sorry for the delay.
A PR is a Pull Request on github. It means you check out a copy of our code, make changes to your copy and then submit them for us to merge into ours or rewrite depending on the changes.
You can check out our role loop code here: https://github.com/JunglePlugins/Content-Control/blob/7d5d379f85c8e087be87807749cee7003a8cd218/classes/Roles.php
All of the has access functionality is done here: https://github.com/JunglePlugins/Content-Control/blob/7d5d379f85c8e087be87807749cee7003a8cd218/classes/Is.php