• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

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

Scheduled Pinned Locked Moved NodeBB Plugins
26 Posts 9 Posters 11.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • exodoE Offline
    exodoE Offline
    exodo Plugin & Theme Dev
    wrote on last edited by exodo
    #1

    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

    GitHub - exo-do/nodebb-plugin-ignore-users

    Contribute to exo-do/nodebb-plugin-ignore-users development by creating an account on GitHub.

    favicon

    GitHub (github.com)

    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

    1 Reply Last reply
    8
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #2

    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 😧

    1 Reply Last reply
    2
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #3

    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

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #4

    @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 🙂

    1 Reply Last reply
    1
  • PixelP Offline
    PixelP Offline
    Pixel
    wrote on last edited by
    #5

    I've just tried it and it works like a charm. Good work 🙂

    1 Reply Last reply
    0
  • exodoE Offline
    exodoE Offline
    exodo Plugin & Theme Dev
    wrote on last edited by exodo
    #6

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

    F 1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by jarey
    #7

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

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

    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.

    1 Reply Last reply
    2
  • exodoE Offline
    exodoE Offline
    exodo Plugin & Theme Dev
    wrote on last edited by exodo
    #8

    publish on npm for free testing and updated first post

    1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by jarey
    #9

    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 🙂

    1 Reply Last reply
    1
  • S Offline
    S Offline
    sanatisharif
    wrote on last edited by sanatisharif
    #10

    Hi-Telegram has a featured to block a user.
    This plugin adds such wonderful feature to our nodeBB community 👍

    1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by jarey
    #11

    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

    1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by
    #12

    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.

    1 Reply Last reply
    1
  • S Offline
    S Offline
    sanatisharif
    wrote on last edited by
    #13

    can I use it on lavander Theme ?

    jareyJ 1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    replied to sanatisharif on last edited by
    #14

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

    1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by
    #15

    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.

    exodoE 1 Reply Last reply
    0
  • exodoE Offline
    exodoE Offline
    exodo Plugin & Theme Dev
    replied to jarey on last edited by
    #16

    @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 😄

    1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by jarey
    #17

    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

    1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by
    #18

    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

    1 Reply Last reply
    1
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by
    #19

    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.

    F 1 Reply Last reply
    1
  • MehrazarDevM Offline
    MehrazarDevM Offline
    MehrazarDev
    wrote on last edited by MehrazarDev
    #20

    @exodo Hi, thanks for the plugin but it doesn't work in NodeBB 1.7 : (

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development