Follow Plugin 👨

@DiscourseMetrics @nexo Found the bug :+1:

Apologies and thanks for your patience!

6 Likes

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

1 Like

Yep, this fixes the issue!


It no longer sais “:+1: Diego”

2 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: Admin getting incorrect follow notifications - Work - Angus' Sandbox

5 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

3 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

7 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:

3 Likes

as a moderator, I’ve for a long time wanted the ability to “follow”, or somehow track an individual in order to monitor them, and this plugin does exactly that. However, i’d love if a “stealth follow” was available to staff and moderators, where we can follow a user, without them getting a notification, and without our name showing up in their followers list.
This way, we can use this feature to monitor certain users that are either trolling, harassing, or that we suspect will post malicious content in the future, and hopefully catch them before anyone has to flag it.

image
I just followed a user for the sake of tracking him, and he decided to follow me back, which i dont want, but i cant deny him from following me either.

I dont see this as essential, but it’d be a neat bonus to have. And i’d love if you implemented it, but its not an expectation. The plugin is great as it is :slight_smile:

6 Likes

hm, it’s a per-following (i.e. per user you’re following) setting, so it’ll need to go somewhere in the “Network” UI.

This should give you a list of users’ follower count in descending order

SELECT user_id, max(u.cnt) as "Followers"
FROM (
    SELECT user_id, cardinality(string_to_array(value, ',')) as cnt
    FROM user_custom_fields u
    WHERE name = 'followers'
    ) u
GROUP BY user_id, cnt
ORDER BY cnt DESC

Interesting! I’ve provisionally slotted it in for June: Add stealth follow - Public Work - Angus' Sandbox

8 Likes

As a workaround for this, you can Impersonate that user, and stop following yourself from his profile

2 Likes

Seems like a slimy thing to do. A bit awkward to have to explain myself in case i get caught :stuck_out_tongue:
I’ll leave it alone, but im super happy that this is being implemented! Great work!

2 Likes

Hello, My forum does not dispatch follow notifications… why?

I see it as being part of the “Network” area, as you said.

I think that it can work as one of the following (please share your thoughts):

  • A dropdown under the user’s name with the same levels as Discourse normally has.

  • Have the whole user space/rectangle as a clickable dropdown. (This one kind of disables the profile clicking part).

  • Putting one of those square buttons with dropdown options like the ones next to the topics right next to the user name, this ones: image

What do you think?

Thanks for trying it out :slight_smile: Could you explain a bit more? Are you not seeing in-app notifications? Are you referring to emails? Can you test it out on https://discourse.angusmcleod.com.au and see if you can reproduce it?

Cool, so something like this?

2 Likes

Yes, that’s it!

I think that, with that layout, you maintain the Discourse visual consistency and logic, because is the same as the one used for topics.

The issue is whenever someone follows a person, that person does not get notified in the notification area. He doesn´t know if anybody followed him or not until he enters to network tab in his profile.

hm, can you link me to your site (i.e. where this isn’t working)? This is working fine on my sandbox, for example when you followed me. I just followed you on my sandbox; you should also have a notification.

Screenshot%20at%20May%2006%2010-30-11