@juan-g
hey those are great suggestions, at least it's a start
if anyone else has suggestions would love to hear them
Plugin to ignore post from certain users.
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.
Send a chat to user exodo on http://community.nodebb.org or http://exo.do
Filter notifications from ignored users
https://github.com/exo-do/nodebb-plugin-ignore-users
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
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
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
@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
Sent pull request to make user mentions compatible with this plugin
https://github.com/julianlam/nodebb-plugin-mentions/pull/59
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:
A message when i stop ignoring that user:
Access to my user ignored list:
Content of the ignored list:
User removed from ignored list:
Ignore/Unignore user from him/her profile page:
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.
publish on npm for free testing and updated first post
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
Version 1.1.3 published on npm. Any testing/feedback is really appreciated.
New Functionalities:
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
Version 1.1.7 released on npm.
Changelog:
As always any feedback, comments are appreciated.
Cheers.
can I use it on lavander Theme ?
@sanatisharif Yes it is addapted to work with lavender theme.
Version 1.1.12 released on npm.
Changelog:
As always any feedback, comments are appreciated.
Cheers.
@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
Version 1.1.13 just released on npm.
Changelog:
@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
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
Bumped version to 1.1.15 and published to npm. Thanks @psychobunny for the contribution!
His changes included the following functionality to the plugin:
Great job @psychobunny and thanks again.
@exodo Hi, thanks for the plugin but it doesn't work in NodeBB 1.7 : (