Follow Plugin 👨

Summary: this plugin allows you to follow other users, list the latest topics involving them and receive notifications when they post.

:link: GitHub: GitHub - discourse/discourse-follow: A Discourse plugin that lets you follow other users.
:arrow_right: Install: Follow the plugin installation guide.

Screenshots

Followed users posts feed:

List of users you’re following:

Follow button on the user card and profile page:

User preferences:

follow-preferences

Admin site settings:

Configuration

User preferences

Preference Purpose
Notify me when followed Enables/disables notification when someone follows you
Notify followed user when followed Enables/disables notifications that other people receive when you follow them
Notify me when followed replies Enables/disables notifications when people you’re following reply
Notify me when followed creates topic Enables/disables notifications when people you’re following create new topics
Allow people to follow me Allow/don’t allow anyone to follow you. If you turn this preference off and you have existing followers, they’ll no longer receive notifications about your new replies/topics, you will not appear in their following users list, and your posts will not appear in their follow feed.

Changing defaults of user preferences

Each user preference that the plugin adds has a site setting counterpart that controls the default value of the preference for future users and users who have never changed any of the preferences added by the plugin.

For example, the default notify me when followed creates topic site setting controls the default value of the Notify me when someone I follow creates a topic preference. If you change that site setting, then all new signups will have that preference set to the same value as the site setting. Existing users who never changed any preferences added by the plugin will also be affected by the site setting change.

Site settings

Setting Default Purpose
discourse follow enabled True Enables/disables the plugin
follow show statistics on profile True Controls whether the “Followers” and “Following” counts are shown on the user card and profile (see screenshots above)
follow notifications enabled True Enables/disables all kinds of notifications added by the plugin (when disabled it overrides user preferences)
follow followers visible Everyone Controls who can see the followers list under user profile and the Followers count
follow following visible Everyone Controls who can see the following users list under user profile and the Following count
default notify me when followed True (see the sections related to user preferences above)
default notify followed user when followed True (see the sections related to user preferences above)
default notify me when followed replies False (see the sections related to user preferences above)
default notify me when followed creates topic False (see the sections related to user preferences above)
default allow people to follow me True (see the sections related to user preferences above)

Credits

This plugin was developed by the Pavilion team and maintained by them until October 2021 when it was promoted to an #official plugin. The Discourse team (CDCK, Inc) is currently maintaining this plugin.

99 Likes
Watch Users Setting
Combined Post List
Notified user's name is the notifier
Profile, Feature and Explorer grid galleries and friend option
Display MESSAGES rather than MEMBERS by default for groups
How to follow a user and get notifications for this specific user?
Discourse Category Banners
User’s profile custom pages
Discourse Tab Bar for Mobile
2021: The Year in Review
How do I get email notifications when a particular user makes a post?
Facebook-like Feed?
"max notifications per user" = 10,000?
Change d-icon icon by css
Using Discourse as a social media platform
How can Moderator track every activity of TL4 User?
Federation support for Discourse
Estimated timeline on a project?
Whenever children login, an email should be sent to the parents account
Why isn't there any FOLLOW button in Discourse?
2019: The Year in Review
Do we have a channel plugin already?
Topic List Previews (legacy)
"Focused" Tab on home
Putting all bookmarked topics on the front page
RSS Observations
User Card Directory
User Profile “Like” button
Clickable Social Icon Links on Profile
Adding Friends in Discourse?
Follow a particular user/account
Feedback on the new Review Queue
What would it take to replace Facebook with Discourse?
User Card Directory
Who’s Online: Users Currently Reading Topic
Change Topic List home router - from Latest to Following
Following users and getting notifications
2020: The Year in Review
Prevent User Card Avatar Flair from moving
Adding a `priority` besides normal and mute

This is great, no issues so far. Will we be getting topic list previews for the ‘Following’ route?

3 Likes

When clicking on a poster’s user card in a topic, there are too many buttons, the follow button gets flooded and sent off the screen. (mobile)

3 Likes

so useful that discourse itself should offer :disappointed_relieved:

8 Likes

Another UI issue: the follower button is slightly smaller/thinner than the message button which doesn’t appear right.

It would be great if the number of followers and following for an user were displayed here:

As well as in the Users chart, in order to sort by Followers/Following:

8 Likes

Thanks for the feedback everyone!

Maybe @merefield can handle the TLP integration

There are no user cards on mobile in Discourse. Are you using a theme?

Again, it looks like you’re using a theme which is adding additional CSS to your buttons. The follow button uses standard Discourse classes and has standard Discourse dimensions. See e.g. https://discourse.angusmcleod.com.au

As to your issue with the incorrect user appearing in notifications, that is more concerning however I haven’t been able to reproduce this on my own instance (can you repro it there?). What other plugins are you using?

Is anyone else experiencing an issue with mixed up usernames in notifications with this plugin installed?

Great suggestions :+1: I will add these in soon.

8 Likes

Mobile user cards are a theme component that are now in core (or planned to be). It’s implemented in meta.

Regarding the notification issue, these are my plugins:

Did you figure this out @nexo? I’m seeing the same issue, the only plugins I have that overlap with yours are:
docker_manager
discourse-whos-online
discourse-quick-messages
procourse-static-pages
discourse-data-explorer
discourse-follow

But I also have a few custom plugins that may be causing this.

I tried disabling the follow-plugin in the settings but am still seeing the same issue with users liking their own posts.

You have to completely uninstall the follow plugin.

1 Like

@DiscourseMetrics @nexo Found the bug :+1:

https://github.com/angusmcleod/discourse-follow/commit/5062af3ba7778acceada769ab0964d7d74823962

Apologies and thanks for your patience!

7 Likes

Brilliant, will test it now :slight_smile: No apologies needed!

1 Like

Yep, this fixes the issue!


It no longer sais “:+1: Diego”

3 Likes

There’s another little bug in this plugin
If you are an admin, and you follow another user, you also get notifications of the followed user PMs

1 Like

Oh my, yes. I just saw that on my forum earlier, too.

Thanks for reporting @barreeeiroo and @YTPMania_Forums.

I’ve slotted in time to work on this next monday: https://discourse.angusmcleod.com.au/t/admin-getting-incorrect-follow-notifications/830

6 Likes

We have started testing this plugin and it works great so far! There’s the risk of getting too many notifications though - perhaps it would be good if we could select what level of notification you want:

New topics only
New topics and replies

5 Likes

As promised, this has been fixed. @barreeeiroo @YTPMania_Forums please update and try it out.

Yup, the plugin was built to accomodate a notification level system like the Discourse notification level system. Currently all follow notification levels are set “watching”. “watching_first_post” is already there in the backend, but the frontend for selecting it is not yet built. I’ve slotted in some time to work on this as part of my open source work.

Suggestions on how the user following notifications frontend should work are appreciated, i.e. where does the follow notification toggle go?

cc @p16 @Genyus @wishspinner

8 Likes

@angus should we add the settings under Preferences > Notifications > Social ?

1 Like

Anyone have a Data Explorer query to see who is the most followed members? :slight_smile:

4 Likes