Skip to content
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

Disable postComments #9

Closed
r-moon opened this issue Sep 28, 2015 · 2 comments
Closed

Disable postComments #9

r-moon opened this issue Sep 28, 2015 · 2 comments

Comments

@r-moon
Copy link

r-moon commented Sep 28, 2015

Hi,
I am trying to disable postComments to users without an account in my application, I almost have it but just wanted to ask if there is shorcut to do it like the ones in the script such as, I could not find it:
enableUpvoting: false,
enableEditing: false,

example: enable postComments: true/false.

Thank you very much

@jjtykkyl
Copy link
Contributor

Unfortunately there is no such feature in jquery-comments. I utilize jquery-comments in another project as well where I check the restrictions in callbacks and I recommend you to do the same. If that's not suitable for you for some reason, I recommend you to just hide the send -buttons with css and/or disable the text-areas. Due to security issues you need to validate the user in the backend anyway...

@r-moon
Copy link
Author

r-moon commented Sep 28, 2015

Thank you for your fast reply, I understand the scenery, so I will go the way you suggested.

All the best.

@itsam itsam mentioned this issue Oct 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants