By pepe moreno on Friday, 31 May 2019
Posted in General Issues
Likes 0
Views 475
Votes 0
Hi guys,

i need to add user count in the "Users" widget inside the People menu item. Where it says:
Users
All Users
Users with Photos
Online Users
Blocked Users

i need to show numbers next to it like:
All Users 100
Users with Photos 57
Online Users 45
Blocked Users 2

Can you please let me know where can i find the files for the widget and how can i pull the numbers?

thanks
Hey there,

The file that renders it is JoomlaFolder/modules/mod_easysocial_sidebar/tmpl/users.php but you can paste the attached users.php file into template override location which is JoomlaFolder/templates/YourCurrentTemplate/html/mod_easysocial_sidebar/users.php.

Take note that you need to create the folders manually if you don't see it.
·
Friday, 31 May 2019 19:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Works fine, just one minor thing, it's counting the disabled users in "All Users", any way it can show only the active (enabled) users?
·
Tuesday, 18 June 2019 22:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Sorry, it was my mistake.

You can paste the attached users.php file into template override location again which is JoomlaFolder/templates/YourCurrentTemplate/html/mod_easysocial_sidebar/users.php and see how it goes.
·
Wednesday, 19 June 2019 11:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Works fine, thank you!
·
Thursday, 20 June 2019 17:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 20 June 2019 17:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post