By Richard on Friday, 18 September 2015
Posted in General Issues
Replies 11
Likes 0
Views 1.1K
Votes 0
The Random Users icon list that appears when you click on 'Registered Users' in your profile can show any user, including users who are blocked from appearing within EasySocial (administrators/superusers) or by joomla user id.

The Members list works correctly, how do I stop the Random User icons choosing from all users instead of 'All Users except users not allowed to be shown in user listings or blocked by id?
Hey Richard,

I have just tested this locally and when a user is blocked on the site, it does not appear on the members list on the sidebar of the profile item page. Am I missing anything here?
·
Saturday, 19 September 2015 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

The Online Users and All Users options in the sidebar are fine as is the Menu option for Members (it is a sub menu of Community when logged in).

The problem is only when you click on 'Registered Users' in the Profile and it goes to the Registered Users page, the Random User area in the left sidebar (see image) shows blocked users.

I logged into the site as the user/password combination for Stackideas and clicked on Registered Users in that profile. The Random Users area produced 10 users, including 1 user (see notes in the site details section on my initial post) that is blocked by ID number and as an administrator).

If you want to check admin settings after logging into the front end of the site I will change the status from registered for you.
·
Saturday, 19 September 2015 01:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Richard,

I am really sorry for the delay of this reply.

Hm, I just tried to view the members listed on registered user page and I am able to access all of the user's profile listed there. That's mean there are no user that are being blocked there. By the way can you make the provided user access as super user so we can access your administrator area and check it further?
·
Wednesday, 23 September 2015 14:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

I have changed your access to superuser.
·
Wednesday, 23 September 2015 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Richard,

I've checked your site and there are only 1 user that are being blocked which is "Fvu7_BowlsChat". I just created a new test user in registered profile and then went to the registered user page and I'm not seeing that user in random member list sidebar. I am also not able to replicate the issue in our local instance. Not really sure how can we reproduce the issue here.
·
Wednesday, 23 September 2015 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

Thank you for looking at the issue, I will explain in more detail to assist in reaching a solution.

I created a new user (in case it only affected existing users) and ran a video test ( see http://www.screencast.com/t/eWtesm4PeMP ) to highlight the problem.

There are 12 registered users a 4 superusers in the test video, including your own authorised access user, so only 8 users should be visible in any user listings or leaderboard as all admins are blocked from being visible.

The Registered Users total (8) appears correctly beside the weekly registration chart and the dropdown menu showing a list of members is correct at 7 (it excludes the logged in user). The Registered Users profile list correctly shows 8 users (although the count in the sidebar shows 9, which is not correct).

The leaderboard in the sidebar of the dashboard is fine as the 4 user exclusions are correct (they would be users with the largest points and appear in the top 4 positions if included in the leaderboard).

Random Sidebar Icons

All 12 users appear, including the 4 that should not appear (i have added the 4 names to the info section in the first post).

I don't know if there is a limit to how many will appear or if it will just keep showing everyone as the membership grows (hopefully not....) but i cannot find anywhere to control it in the EasySocial administration area - we should be able to put in the number of Random Users that appear and also exclude administrators in User Settings if this is not done automatically in the (is this the file?) view.html.php file).

Administrator Online

You will see at the end of the screencast the user that should not be visible can be accessed from the Random Users area and although privacy settings do not allow access to the profile (this works correctly) it does show the user is online, even though they are not logged into the front end of the website, only the admin area. I assume the user should only be flagged as online if logged into the front end?

If you need any more information let me know.
·
Thursday, 24 September 2015 20:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Richard,

I am really sorry for the delay of this reply. I've applied the fix inside your /administrator/components/com_easysocial/models/profiles.php and it should shows up correctly now. Can you verify it for me?
·
Monday, 28 September 2015 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

Thank you for the fix, the correct users are showing now and adjust properly when I add/remove the superuser status from any user.

The only (very minor) issue is the Registered Users Count in the sidebar, it is still out of sync by 1 user when logged in and choosing the Community/Members sub-menu:

The Registered Users total (8) appears correctly beside the weekly registration chart and the dropdown menu showing a list of members is correct at 7 (it excludes the logged in user). The Registered Users profile list correctly shows 8 users (although the count in the sidebar shows 9, which is not correct).


Is it a value I can reset in admin or a code adjustment?
·
Monday, 28 September 2015 22:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Richard,

What a nice observation you got there . This is definitely a bug in easysocial. I've applied the fix inside your /components/com_easysocial/themes/wireframe/users/default.php and the count is showing correctly now as it should.
·
Tuesday, 29 September 2015 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Everything is fine now Ezrul, thank you, much appreciated!
·
Tuesday, 29 September 2015 18:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Richard.
·
Tuesday, 29 September 2015 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post