Follow statistics duplicated on user profile when gamification is enabled

When the gamification plugin is enabled, the “Follow” statistics are shown twice on the expanded user summary at /my/summary


This is happening because the component copies its content to a second place. This is normally not doing anything, except when the user-profile-secondary plugin outlet is used by another plugin or theme component.

Not sure why it is doing that (@angus?)

1 Like

Most likely because the use of another outlet changes the node tree and the jQuery selector used in Follow is not specific enough (best guess at first glance). The solution would probably be to replace jQuery with more specific insertions in Follow.