Notifications
Clear all

Script [Solved] Empty Forum Participant List

12 Posts
2 Users
0 Reactions
555 Views
Posts: 27
 jim
Topic starter
(@jim)
Eminent Member
Joined: 4 years ago

I just did the most recent update, and the list of Forum Participants for each forum is now empty. It only shows me as being in the forums even though there are many people in them (see attached photo). The Forum Participants used to show small icons of each profile photo of the people in that forum. How do I fix this so I can get those icons of everyone else in the forum back?

11 Replies
Posts: 992
Moderator
(@martin)
Support Team
Joined: 8 years ago

Hi @jim,

You should reset the forum statistics. Please go to Dashboard > wpForo > Overview admin page, scroll down, and click the [Reset Forum Statistics] button, then [Delete all caches] button. If you have a cache plugin, delete that cache as well.

2 Replies
 jim
(@jim)
Joined: 4 years ago

Eminent Member
Posts: 27

@Martin does this reset them to zero?

Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@jim,

It doesn't. It just re-calculates the statistics and corrects that.

Posts: 27
 jim
Topic starter
(@jim)
Eminent Member
Joined: 4 years ago

Thanks. That partly worked, it is showing more people now, but only 3 people per forum...

1 Reply
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@jim,

All is correct.

Posts: 27
 jim
Topic starter
(@jim)
Eminent Member
Joined: 4 years ago

So it no longer can show all the people like it used to?

4 Replies
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@jim,

There were never option to show all people. The max number were 7.  Now it's 3.

 jim
(@jim)
Joined: 4 years ago

Eminent Member
Posts: 27

@Martin Ok thank you. Is there a setting I can change to make it 7 again?

Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@jim,

Yes, you can change it using this hook code. Put it in a PHP code snippet of the Code Snippets plugin or in the functions.php of current active WordPress theme:

add_filter('wpforo_item_participant_avatars_count', function ($count){
	return 7;
} );
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

Don't forget to click the same [Update Forum Statistics] button after adding the code snippet. The button is located in wpForo > Overview admin page

Posts: 27
 jim
Topic starter
(@jim)
Eminent Member
Joined: 4 years ago

Thanks so much!