By Paul Murray on Tuesday, 24 June 2014
Posted in Technical Issues
Likes 0
Views 585
Votes 0
Hi Support

No I do not work for these guys. They do great work and I am a fan of theirs. That much is clear :-) They have their search plugin searching ES profiles and then going to an Easy Social page when you press enter. Hurahhhhh.

http://finalbug.net/

There are still however 2 problems. This is the first one and is related to whether you are logged in or not.

Entering the word: final
(NOT logged in)
Gives 2 results!

Entering the word: final
(LOGGED IN)
Gives 17 results!

From the 17 people with the word final in their profiles only 2 are open to non registered users!

My question is this. Is there some way to make all users profiles searchable but keep the open/closed system as it is?

i.e.

A) Search all profiles regardless of whether they are open or not.
B) Display a list of all profiles regardless of whether they are open or not.
C) That when I click a Avatar on the list I will get taken to either the on/off line version of the profiles depending on who's profile is open or not!?!

thanks

Paul
Hello Paul,

The search results differs when you are logged in and when you are not logged in simply because it depends on the target user's privacy. If some of these users has a different privacy, it might not appear in the search results. It all depends on what the user privacy is.
·
Wednesday, 25 June 2014 23:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

It really depends on how they actually do the searches. If they are also based on Joomla's search, then our plugin will only retrieve profiles that you can really see. We do not retrieve every user on the site for privacy concerns
·
Wednesday, 25 June 2014 13:00
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Mark

I think I can get about 70% of this

They have a thing called a Universal AJAX Live search:

http://offlajn.com/universal-ajax-live-search/universal-ajax-live-search/flypage.tpl.html

They also have a plugin which I guess links in to ES

They call it “Improved Search for EasySocial“

http://extensions.joomla.org/extensions/search-a-indexing/extensions-search/27023?qh=YToxMzp7aTowO3M6Njoic2VhcmNoIjtpOjE7czo5OiJzZWFyY2hpbmciO2k6MjtzOjg6InNlYXJjaGVzIjtpOjM7czo4OiJzZWFyY2hlZCI7aTo0O3M6ODoic2VhcmNoJ3MiO2k6NTtzOjc6InNlYXJjaHMiO2k6NjtzOjY6InNlYXJjaCI7aTo3O3M6OToic2VhcmNoaW5nIjtpOjg7czo4OiJzZWFyY2hlcyI7aTo5O3M6ODoic2VhcmNoZWQiO2k6MTA7czo4OiJzZWFyY2gncyI7aToxMTtzOjc6InNlYXJjaHMiO2k6MTI7czoxMzoic2VhcmNoIHNlYXJjaCI7fQ%3D%3D

This gives me the option to select what is searched. In my case i have users selected and get only users at least in the Search window that pops up at the top of my Site.

Strangely enough when I enter enter I get a different result!

a) Depending on whether I am logged in or not the number of profiles that are displayed are different.
eg 2 for “final” not logged in and 17 for “final” logged in!

b) Having entered both “final” and pressed return I also suddenly see other stuff like “final” is mentioned in 4 photo albums or in a group.

I do not really understand what is going on here but it seems to me that there is some kind of search confusion here between ES & Offlajin and I do not really know who can/should/could figure this out!?!

Also what I am not getting is this…

At the bottom of pretty much every page on the Site there are 2 modules.
One is from ES “BUG USERS” and displays a list of users regardless of whether their profiles are open or not.
the other is from Nordgraph and displays users on a map regardless of whether their profiles are open or not.

i.e. both of these modules show me users irrespective of the state of these profiles
I can roll over the ES profiles and get a preview on both the ES module and both the Nordgraph
Sure if I click on a closed profile I get taken to a page that says

“ Access to this profile has been restricted for privacy reasons.
You may need to log in and be a friend of this user before you can see it.”

What I just do not get is why the Search page does not act in s similar way.

i.e. display all profiles and then block you when you want to look at a locked profile and are not logged in…

In my innocence I imagine a house with a garden gate and a lock and a front door and a lock. I would have thought that it would have been possible to let people into the garden. Maybe even let them peer in the window but not go through the front door.

i.e. surly there is a possibility to decide where this lock is applied!?!

thanks

Paul
·
Wednesday, 25 June 2014 18:50
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Support

this is what offlajin are saying now:

***********************************************************************************************************************

Well...
The easysocial landing page need the following fields, to work properly and show the items:

q: this is the keyword
option: com_easysocial to call the proper component
view: search to show the search page
and also needs a token, from the Joomla system. This token is depend that you are logged in or not.
And this token checked by the easysocial, and show the items what the current user has privileges.

Hope this is clear

***********************************************************************************************************************

If I understand correctly:

and also needs a token, from the Joomla system. This token is depend that you are logged in or not.
And this token checked by the easysocial, and show the items what the current user has privileges

the two sentences above are the crux of the matter?

Am I stuck with this or is there a way to make this work better?

best

Paul
·
Wednesday, 25 June 2014 22:37
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Mark

Thanks for your swift reply. I still do not get some details though!

You are talking about this here yeah?

1) PrivacySettingsBackEND
2) PrivacySettingsBackFRONTEND



It looks like there are kind of 2 ways, to set the privacy setting depending on where I am. Front end or back end. In the front end we are also obviously talking about a user case by user case situation.

Just thinking aloud here...

A)

Would it not make sense to have 2 possibilities in the back end (like in the front end):

Who can search?
Who can look?

B)

Also am I correct in understanding that there is no way for me as an admin to override or edit some of these privacy setting that users can edit. e.g. make some not editable in the front end? i.e. User XYZ does not have the option to not make his profile searchable!?!

A friend did some beta testing on my site and that one of the things that he said was that the user privacy settings are like the cockpit of a jumbo jet!!!

I do not have so many users but I think it is important to have a clear line about some stuff. Like some one who stumbles on my site might not even get that the idea that some profiles are online and some are not.

Thinking of 2 things here.

1) Putting a little message up on profiles that are open. Some thing to the effect of this profile is open because it belongs to a manager of this Group. i seem to recall that there is some kind of say where you are at feature in ES now.

2) Editing a text into the Search page something to the effect “You can Search for skills in profiles even if you are not logged in. But if you want to view profiles you need to either register or login. Exceptions are profiles from Community Leader”

C)

What I also find a little weird is that the word “final” results in two different results

i.e. the result if I do not hit return (profiles only)

And the result if I do hit return (profiles, groups albums etc

Again thinking aloud

D)

Is there no way that the ES search page can know that the search that is being inputed is for profiles only

OR

E) Getting the Offlajn plugin to go here:


http://finalbug.net/community/search/10-EasySocial.Users?q=final

rather than here

http://finalbug.net/component/search/

As I am sure you are aware my coding skills are pretty basic. But surly this would be a question of changing the second link above to the first link above some where in the code. Probably a job for Offlajin.


best

Paul
·
Thursday, 26 June 2014 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Support

I am going to mark this as solved as it has got very long and complicated. Instead I will break it down into a number of smaller questions.

all the best

Paul
·
Friday, 27 June 2014 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Paul
·
Friday, 27 June 2014 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post