By Marcus Roskill on Wednesday, 17 October 2018
Posted in General
Replies 5
Likes 0
Views 421
Votes 0
HI guys,

Is there anyway we can get a member counter on the members page, so that it shows how many members there are on the site?

Thanks
Katie
Hi there,

You can apply codes below at this path .../components/com_easysocial/themes/wireframe/users/default/default.php and see how it goes.

[gist type="php"]
<?php echo ES::model('Users')->getTotalUsers(); ?>
[/gist]
·
Wednesday, 17 October 2018 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Will this be overwritten on updating EasySocial?

Thanks
Katie
·
Wednesday, 17 October 2018 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

To avoid it being replace/override, you can apply them on template override as you can see here https://stackideas.com/docs/easysocial/administrators/templating/template-overrides
·
Wednesday, 17 October 2018 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Warith,

I am only given a couple of files to edit... se attached.

Kind regards
Katie
·
Wednesday, 17 October 2018 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You need to change them on wireframe them as those theme that you use only can be change it toolbar only. You can edit them on your wireframe theme sections.

Please give it a try and see how it goes.
·
Wednesday, 17 October 2018 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post