启用游戏化时,用户个人资料上的关注统计数据重复

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

image

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 个赞

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.