You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sabyasachi, there is a setting called COMMENTS_XTD_API_GET_USER_AVATAR that allows you to customize how to obtain the avatar. But there is no setting to disable the avatar. In v3 the app works as you want it by default, no avatar. But v3 is still under development. Slow development...
If you want to disable the avatar in v2, in the JavaScript plugin, go to line 412 of the file comment.jsx, in static/django_comments_xtd/js/src and follow the instructions here to rebuild the plugin. Let me know if you find any problem.
I tried removing line 412 from static/django_comments_xtd/js/src/comment.jsx. It removes the Gravatar, but it also loses the indentation of inner comments.
To fix the indentation, add one ml-5 class in this line. But, this class should be added only for replies (should not be added for the first level comments.).
<div class="media {% if nested_reply %}ml-5{% endif %}">
Thanks for the great project! 🙂
I'm trying to find a way to disable the Gravatar image. Is there a way to do it? I could not find any setting option. It will be nice to have.
The text was updated successfully, but these errors were encountered: