Support

  1. Zephyrinus
  2. General
  3. Wednesday, May 20 2015, 11:05 AM
We really need the following to work! Your support has been perfect and my following question might be something for future development. But I can always try to find a simple sollution with you guys for the short term. Cause we run our business on your component, and we really need this ;-)

So respectfully I'm asking for a sollution for the following

In the attachment you'll find a schema.

We need the radius to swap. So profile members can enter the radius within they operate. Visitors will only enter their postal code (or adress). Easy-profile filter and search will list the profilemembers that operate at that adress, cause that exact adress is within the given radius. (plz see attachment)

Can you help me with a hack to do this please?

With warm regards,

Dennis
Attachments (1)
admin Accepted Answer
Admin
Hi,
I do not know if I understand it right.

You can combine SQL custom where with our content plugin.

Example in a previous post you ask me how to filter user near a City like Amsterdam (https://www.easy-profile.com/support/custom-sql-where-to-preset-profiles-within-area-city-and-radius.html).
You can replace in SQL custom where the coordinates of the city with loggen in user, to have for example something like "users near me"
( 6371 * acos( cos( radians({user map_alias_lat raw}) ) * cos( radians( b.`map_lat` ) ) * cos( radians( b.`map_lng` ) - radians({user map_alias_lng raw}) ) + sin( radians({user map_alias_lat raw}) ) * sin( radians( b.`map_lat` ) ) ) ) < 20


in this example you will get users near me (20km of radius)

{user map_alias_lat raw} will be replaced by my latitude of map_alias field
{user map_alias_lng raw} will be replaced by my longitude of map_alias field
docs for our Content plugin here: https://www.easy-profile.com/docs/26-plugin-content.html
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.