By Phivos on Monday, 14 December 2015
Posted in Technical Issues
Likes 0
Views 1K
Votes 0
Dear support,

The Easysocial search does not search for the usernames of the users. We followed some treatments explained in a similar thread opened in the forums as per the link below:
http://stackideas.com/forums/easysocial-search

i.e. we selected the joomla username to searchable in the
Profile Types > Select the profile type > Custom fields tab > selecting it in the relevant field under the advanced tab to searchable

and then cleared the smart search cache and reindexed it.

But again the usernames are not searchable in the EasySocial search. And as you can see in the attached photo these are not indexed by the smart search even if we clear index cache and reindex. Only 26 users are indexed. Please help.

Regards,
Hey Phivos,

We have checked in your site, it seems like something is strange, your site have 34 users `state` is under '2', but we already double check on it, all of your user is show published on your backend > Easysocial user listing page, so it still indexed only shown 122.

After we manually updated the rest of users `state` to 1, everything is work fine now.

Can you give it a check now?
·
Tuesday, 15 December 2015 18:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Phivos,

If you have configured the site to use "Real name" over username, the username search would not work because it is a security loophole if we do that. It will cause other users to be able to "guess" another person's username. Likewise if you configure your site to use "username" but allow others to search for real name.
·
Monday, 14 December 2015 22:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Mark,

Thank you for the prompt response. How can we achieve that? i.e. to configure the site to use the username over the real name?

We need the usernames to be searchable as our whole idea is based on usernames.

Thank you in advance.

Regards,
·
Tuesday, 15 December 2015 03:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Phivos... I think it's as easy as back-end EasySocial > Settings > Users and then you should see a 'Default Name Format' option.... does that give you what you need?
·
Tuesday, 15 December 2015 04:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Andy,

Thanks for the help. We already selected this but the issue is there. Now we selected specific content in the smart search to Easysocial users but again only 122 out of the 156 users are indexed. These are from various user groups/profile types (other users from these groups are indexed - only a part of the users of these user groups/profile types are not indexed).

Regards,
·
Tuesday, 15 December 2015 05:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Phivos,

Have you tried to purge your smart search index from your backend > smart search and then re-index again so it will get the latest search result after the changes?
·
Tuesday, 15 December 2015 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Ezrul,

Yes we did it many times but it indexes only 122 out of the 156 users.

We could not find any pattern on the users that are not indexed. These are from various profile types/groups. Users from the same profile type/group are partly indexed. There is no profile type/group that 100% of its users are not indexed at all in order to concentrate on that profile type/group. Any ideas?

Regards,
·
Tuesday, 15 December 2015 16:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Arlex,

Sorry I called you Ezrul in the other ticket of yesterday

The issue is solved now but we have to understand the following in order not to disturb you in the future if the issue arises again:

1. How can we manually set the users to state "1" from state "2"? (The same procedure you did now)

2. Any ideas how this issue happened? Where are the "states" of each user listed?

Thank you in advance.

Regards,
·
Tuesday, 15 December 2015 19:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Phivos,

Thanks for the heads up on this issue. The state can be found under your #__social_users table where smart search will only index the user when the state is "1" and that state shows that the user is "enabled". If the user is not enabled, the state will become "2" hence the smart search will ignore the user during the index.

1. How can we manually set the users to state "1" from state "2"? (The same procedure you did now)

You need to go to your backend > easysocial > users > and then select all users and click on the Unblock button to make the user state to "1".

2. Any ideas how this issue happened?

We are not entirely sure why this happen since all of users listed on your site are all enabled but the table state otherwise. May I know if there are some registration issue previously on your site that involving admin moderation or user self activation?
·
Wednesday, 16 December 2015 13:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Ezrul,

We performed the correction on the testing site in order to learn how to do it and everything works perfect thank you.

All the users are self activated through emails they receive. We recently had issues with our emails that were not delivered (so we had to switch to SMTP from PHP mail e.t.c.), therefore, we had to activate and enable these users from the backend manually for the period that the issue was on. In the backend everything was normal, the users were shown as activated and enabled but it seems that in the database these users were listed as state 2 then.

Regards,

Phivos Constantinou
·
Wednesday, 16 December 2015 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition, when new users are registered on the site is smart search updated automatically? Or do we have to index the site every now and then or daily?
·
Wednesday, 16 December 2015 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Phivos,

Ah I see. Thanks for the info to this issue. We will see if we can provide the proper fix to this issue in the next release of easysocial.

In addition, when new users are registered on the site is smart search updated automatically? Or do we have to index the site every now and then or daily?

Basically the smart search will get updated automatically when there are new items available to be index. However when you notice there are some info missing during search, you can always manually re-index the search from your backend.
·
Wednesday, 16 December 2015 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Ezrul,

Thank you for the valuable support.

Regards,
·
Wednesday, 16 December 2015 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Phivos,

You are most welcome. Glad to hear that your issue has been resolved now.
·
Wednesday, 16 December 2015 17:53
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post