[nodebb-plugin-ignore-users] Ignore Users for NodeBB


  • Plugin & Theme Dev

    Ignore Users for NodeBB

    Plugin to ignore post from certain users.

    Installation

    npm install

    You can ignore user posts while reading threads. On the right of each username will appear an eye icon, pressing that icon will ignore/unignore that user.

    You can also ignore users from user profiles. the option is located in the profile dropdown of the user.

    From your profile page, you can see the list of users you are ignoring and you have the option to unignore them too.

    If you have an user ignored, you will not see his posts, you will see a generic text telling you that user is ignored and the posts will appear faded itself.

    Want to join devteam and help with our NodeBB plugins?

    Send a chat to user exodo on http://community.nodebb.org or http://exo.do

    Plugin Preview

    To-do

    Filter notifications from ignored users

    Github

    https://github.com/exo-do/nodebb-plugin-ignore-users

    Help

    Want to join our dev team and help with our NodeBB plugins?
    Send a chat to user exodo on http://community.nodebb.org or http://exo.do


  • Admin

    Oh, coooool.

    Time to ignore @psychobunny :trollface:

    I bet he's going to have a thing or two to say about those installation steps, though :anguished:


  • Admin

    I've already installed my secret plugin to ignore @julian

    Yeah, is there any way you can think of doing this without having to edit template files? We're open to PR's for new hooks etc


  • Admin

    @exodo For altering the posts as they are loaded, you'll want to listen for filter:controllers.topic.get. Then you can filter out the posts that are authored by users you have ignored :)



  • I've just tried it and it works like a charm. Good work :)


  • Plugin & Theme Dev

    Sent pull request to make user mentions compatible with this plugin
    https://github.com/julianlam/nodebb-plugin-mentions/pull/59


  • Translator

    The plugin has been updated to be compatible with Nodebb 1.0.0+ (tested on version 1.0.3). Plugin version 1.0.1.

    The plugin is now i18n ready with support included for the following laguages: English, Spanish, Galician.

    The Plugin now does not requiere to edit the tpls of the user section.

    The plugin is theme-Persona-oriented sinde, in order to now change the tpls to show the new data, all modifications to the view are made on client side. Testing when running over another theme with different tag layout would be needed and modifications might be needed.

    Here are some screenshots of the plugin in-use:

    A message of a user i ignore:
    0_1464455725979_upload-2b41fe83-71c5-47f0-9493-5f687a5d7c23

    A message when i stop ignoring that user:
    0_1464455772540_upload-081cba14-5c0b-4239-ad3e-943ca6fe06e0

    Access to my user ignored list:
    0_1464455803036_upload-1d148a2b-7644-4a10-b392-a484fab1e144

    Content of the ignored list:
    0_1464455839882_upload-0cd71b41-4140-4e55-aa89-c12d3738bfe8

    User removed from ignored list:
    0_1464455867166_upload-f6bc292a-9551-4729-af0b-8f46a5c613f1

    Ignore/Unignore user from him/her profile page:
    0_1464455902153_upload-af7cf76b-655d-4266-bce7-b853e2ed376f

    Any contribution/feedback is really appreciated, and any suggestion of making the plugin more compatible regarding themes (because of the modifications client side) is really appreciated too.

    Regards.


  • Plugin & Theme Dev

    publish on npm for free testing and updated first post


  • Translator

    Version 1.1.1 of the plugin released. Now notifications from ignored users are ommited (not received) by the user. So if you are ignoring a certain user, even if he/she is writing on topics you created/are following, your notification box is not affected and you can keep browsing the forum without noticing the troll.

    Ommiting the posts flagged as unread is under current development. (A doubt is pending in order to copmpletion: https://community.nodebb.org/topic/9251/hook-to-avoid-unread-topics-management-related-to-nodebb-plugin-ignored-users).

    ALSO: the plugin now supports chat ignoring, so if you want to restrict the view of posts that a users writes by ignoring him/her and separately you want to ignore him or her chats, now you can do it! Thanks for the pull request @psychobunny :)



  • Hi-Telegram has a featured to block a user.
    This plugin adds such wonderful feature to our nodeBB community :+1:


  • Translator

    Version 1.1.3 published on npm. Any testing/feedback is really appreciated.

    New Functionalities:

    • When ignoring an user, the new posts, replies he/she makes doesnt show on your unread box for recent posts even if you are following the topic. It does not interfere if the topic was already unread (by replies made by another users you are not ignoring).
    • You will not receive the instant update on unread count via websockets when ignoring an user that is repliying/creating new topics.
    • You will not receive any notification from users you are ignoring. Even thought they still persist on BBDD for regression purposes.

    Thanks @pichalite and @yariplus for their help solving my noob doubts as seen in: https://community.nodebb.org/topic/9251/hook-to-avoid-unread-topics-management-related-to-nodebb-plugin-ignored-users


  • Translator

    Version 1.1.7 released on npm.

    Changelog:

    • List of users ignored for chats are now showed in the ignored list from the user settings page.
    • Fixed bug with images not shown when existed in a post from an ignored users and the user decided to unignore that user to see the post content. (in nodebb 1.1.1-1.1.2).
    • Opacity of ignored posts only applies now to the content in persona, just to let the control bar be visible if the OP is ignored. For other themes like nodebb-theme-exodus, if an user is ignored, multiple page elements are hidden (avatar, user reputation, user join date etc) just to minimize the space occupied by posts of ignored users.

    As always any feedback, comments are appreciated.

    Cheers.



  • can I use it on lavander Theme ?


  • Translator

    @sanatisharif Yes it is addapted to work with lavender theme.


  • Translator

    Version 1.1.12 released on npm.

    Changelog:

    • Deleted posts are not visible if user decide to unignore.
    • User ignored area now includes user page header and menu.
    • Breadcrumb are included on user ignored area too.
    • Bug fixes on user ignored area client-side javascript(size() replaced with length in order to fix a bug).
    • Deprecated hook filter:post.save updated with equivalent hook filter:post.create.
    • Bumped version to 1.1.12.

    As always any feedback, comments are appreciated.

    Cheers.


  • Plugin & Theme Dev

    @jarey said in [nodebb-plugin-ignore-users] Ignore Users for NodeBB:

    Version 1.1.12 released on npm.

    Changelog:

    • Deleted posts are not visible if user decide to unignore.
    • User ignored area now includes user page header and menu.
    • Breadcrumb are included on user ignored area too.
    • Bug fixes on user ignored area client-side javascript(size() replaced with length in order to fix a bug).
    • Deprecated hook filter:post.save updated with equivalent hook filter:post.create.
    • Bumped version to 1.1.12.

    As always any feedback, comments are appreciated.

    Cheers.

    Awesome. Thank you :D


  • Translator

    Version 1.1.13 just released on npm.

    Changelog:

    • Fixed issue with deleted posts when users seeing "This post is deleted" on all messages of a thread. Thanks @tedbaker for the bugfix.

    @torn2 hope this bugfix solves the issue for you too.

    PS: 3 little bugs pending of resolution if anyone want to contribute with PR: https://github.com/exo-do/nodebb-plugin-ignore-users/issues


  • Translator

    Bumped version to 1.1.14 and published to npm.

    Bugfix version, solving this issue, 2 to go:

    https://github.com/exo-do/nodebb-plugin-ignore-users/issues/23


  • Translator

    Bumped version to 1.1.15 and published to npm. Thanks @psychobunny for the contribution!

    His changes included the following functionality to the plugin:

    • Now the ignore/unignore controls are not available if the user is not logged in.
    • Fixed a bug if using redis.
    • Now admins/global moderators are able to to access/edit user's ignore list
    • A title is now displayed on user profile ignore list section.

    Great job @psychobunny and thanks again.


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.