-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fine tuning comments rules #86
Comments
@Kwagga-Quagga This is an interesting idea. It's also quite a lot to digest (especially as you posted just before a school holiday) so please bear with me as I think through what you're trying to achieve. Cheers, Christian |
Hi I slightly edited my post hoping it's easier to understand. Regarding what I'm trying to achieve, you may think this way :
this seems to be a pretty classic (commentpress) workflow
--> now once the post is published, by default, both the post's content and the post's comments are visible to the public.
hope this helps |
A few observations:
I think if you implement your code around the CommentPress filters and actions, then you should make progress. Good luck! |
Hi,
My message is probably more of question regarding comment rights, or event the handling of comment's rights by comment-press
Let's set the basics :
By default comment are allowed on published post only
By default any user can publish comments on any post
That's very nice and usefull in the perspective of collaborative review of and discussion on a post.
However we may want to use comments or commentpress for other usage.
A plug-in to handle comment rights within a workflow
I've thus work on a simple wp-plugin.
the intended wordflow
some pseudo code and code
The code, still in alpha version work's great on twenty* theme and some other I tried, but only some functionalities work natively on comment press while some other don't :
I assume commentpress override wp settings regarding comments, as do my plugin. But it also seems that commentpres overrides my plugin settings on this specific spot
add_filter( 'comments_open', '__return_false' );
, preventing my plug-in to work.It would be great if you could direct me on how to fix this alpha code to work with comment press, and I would be glad if I could edit/fork this code as a comment press version of my very basic plug-in.
Any guidance would be greatly appreciated !
Regards
The text was updated successfully, but these errors were encountered: