Notifications
Clear all

Wrong name displayed in widget

3 Posts
2 Users
0 Likes
1,346 Views
Posts: 3
Topic starter
(@stevebeans)
New Member
Joined: 4 years ago

Here is a weird problem. My moderator (I don't know if her rank is relevant, but putting all info in) is the top poster.  However, her nickname displayed on the 'Most Active' widget isn't the nickname she uses on the site. 

In the dashboard, it shows the top commenters and her name is accurate. However, on the widget it's wrong. The name is not in her profile at all so that had me do a little digging and it appears it was a name she used many years ago on the site. 

I asked her what she did to her account that changed her name like that and I will update this when I find out, but for now, this is still a bug regardless. Under 'Active Users and Guests' in the dashboard, it shows the correct nickname. That is the name that should be displayed under the widget regardless of what she did to her account in the past. 

 

Thank you!

 

2 Replies
Posts: 3
Topic starter
(@stevebeans)
New Member
Joined: 4 years ago

I may have found the issue. 

In the code (popular-comment-authors.php), you have 3 different ways to pull the data. 'All Time', 'Custom', or anything else (Last day/week/month).

In Custom and Anything Else, you are pulling the email for the COUNT

L38 - [COUNT(com.comment_author_email) AS `count`]

but for All Time, you are pulling it by the user_id:

L52 - [COUNT(com.user_id) AS `count`]

I obviously don't know why you have a different pull for All-Time versus the rest, but it appears to be bugging it out because her name is displaying properly when I set it to any other option but 'All Time'
 
 
Reply
1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

Hi @stevebeans,

This will be fixed in the next version update.

Reply
Share:
Scroll to top