By Alex Khatchadourian on Friday, 23 March 2018
Posted in General
Likes 0
Views 658
Votes 0
Hi, I am wondering on the standard/default configuration of Easysocial. As an example it has "View All Users" button and allows you to browse through all the members on the site. I think this is too revealing on the members count or just displaying every member list (see link). https://monosnap.com/file/YiQ5YxWkMeoniz5LWlGRezkx3K6XMo#

I would like to implement something similar to facebook by allowing to list through search. Is there a setting on how Facebook is setup to compare and make changes? Thanks, Alex K
Hi Alex,

This is a suggestion. You can try creating an 'All users' menu item and set the access level to super users(http://take.ms/iRuNi).

After this, normal users who tries to load the users listing will be prevent access.

You can still search users from the search bar.
·
Friday, 23 March 2018 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, ok thanks will try that but the “View All Users” button will still show on the front end. How is it possible to hide it that way users won’t attempt to click on it.

I’m not sure why there is no feature within EasySocial for privacy purpose or option purpose not to display “View All Users”.
·
Friday, 23 March 2018 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

Actually, steps prompted by my colleague above is to hide those all users sections for your super users only where others will not be able to see you all users sections unless you are belong to Super User groups. But, if it is not good practice for you, maybe you can try to head to this file components/com_easysocial/themes/wireframe/users/default/items.php and remove codes below.


<?php if ($pagination) { ?>
<div class="es-pagination-footer" data-es-users-pagination>
<?php echo $pagination->getListFooter('site');?>
</div>
<?php } ?>


Then upload this file into this path(create them accordingly if those path does not existed on your site yet) template/yourcurrenttempalate/html/com_easysocial/users/default/items.php and see how it goes. Prompted suggestion are to hide those pagination on your all users page and i am suggesting you to do template override as you can refer here https://stackideas.com/docs/easysocial/administrators/templating/template-overrides .

Please give it a try and see how it goes.
·
Friday, 23 March 2018 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul, I like the idea of hiding the users except Super Users. But also want to hide “view all users” buttons on the front too. I’m thinking if you hide the buttons users won’t even get to the pagination section.

I’m ok if those buttons show for Super Users.
·
Friday, 23 March 2018 19:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Oh, yes, true also. If that the case, you can remove them by removing codes below at this path .../components/com_easysocial/themes/wireframe/toolbar/default.php and pasted them into template/yourcurrenttempalate/html/com_easysocial/toolbar/default.php


<li class="<?php echo $highlight == 'users' ? 'is-active' : '';?>">
<a href="<?php echo ESR::users();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PEOPLE');?>
</span>
</a>
</li>


It should hide people sections on your toolbar on your site. Please give it a try and see how it goes
·
Friday, 23 March 2018 19:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,
Just to be clear what is the purpose of pasting the code to the template. I was thinking just removing.

Thanks,
Alex
·
Friday, 23 March 2018 19:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Alex,

Apologies for the confusions. My colleague was requesting you to copy of /components/com_easysocial/themes/wireframe/toolbar/default.php once you have made the changes into /templates/JOOMLA_TEMPLATE/html/com_easysocial/toolbar/

This is to ensure that when you upgrade in the future, your changes would remain intact. Otherwise when you upgrade in the future, that file would be overwritten.
·
Friday, 23 March 2018 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, after further review we need to hide the following
1. Online Users
2. Recent Users
3. Recent Albums
4. Leader Board
See link below
https://monosnap.com/file/hZYeEDWg3uVxzc39Yl6GWdPVvTgpYq#

I understand we started with removing "View All Users" first but I would like to add the above and make all the changes together.

Thanks,
Alex K
·
Saturday, 24 March 2018 04:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Alex,

Those are actually modules which we install and place under the position of "es-dashboard-sidebar*". You can unpublish the modules under Joomla's module manager should you want to hide them
·
Saturday, 24 March 2018 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you!! All fixed and I realized one more item left. I see a stream or broadcast showing for "guests" on the very first page. (See link)
I could not find where to turn it off.

https://monosnap.com/file/qFOzgHSacXicaFtVhD0AtDOoBAht0b#
·
Saturday, 24 March 2018 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Do you mean you want to turn off the stream for non logged in users? You may turn this off under the settings of EasySocial under Settings > Users > Layout as you can see here, http://take.ms/LGxxM
·
Saturday, 24 March 2018 12:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, I got all the cleanups I need. Thank you so much for your help.
·
Saturday, 24 March 2018 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Alex, have a great weekend ahead!

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
·
Saturday, 24 March 2018 13:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post