Follow Plugin 👨

(Eduardo Braga) #4

so useful that discourse itself should offer :disappointed_relieved:

3 Likes

(Alex) #5

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

0 Likes

(Diego Barreiro) #6

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:

5 Likes

(Angus McLeod) #7

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.

6 Likes

(Alex) #8

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:

0 Likes

(DiscourseMetrics.com) #9

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.

0 Likes

(Alex) #10

You have to completely uninstall the follow plugin.

1 Like

(Angus McLeod) #11

@DiscourseMetrics @nexo Found the bug :+1:

Apologies and thanks for your patience!

6 Likes

(DiscourseMetrics.com) #12

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

1 Like

(Diego Barreiro) #13

Yep, this fixes the issue!


It no longer sais “:+1: Diego”

2 Likes

(Diego Barreiro) #14

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

(david) #15

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

0 Likes

(Angus McLeod) #16

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

(Bart) #17

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

(Angus McLeod) #18

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

#19

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

1 Like

(DiscourseMetrics.com) #20

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

3 Likes

#21

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:

5 Likes

(Angus McLeod) #22

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

6 Likes

(Diego Barreiro) #23

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

1 Like