articles by radius

1 month 14 hours ago #94493

Peter's Avatar Peter


I would like to listening articles depending on user location.

Mayby 'conditional content' and 'GeoIP' are the right choice. But I am not sure about it.

I am using easyblog and easysocial.

Every article has got a geo location.

I have read the documentation of 'conditional content. But I have no idea how to create a condition like: show only articles within the radius of 20km to the user location
Where should I place the code?

Basically I am looking for a radius search like the one known from ebay classifieds.



1 month 14 hours ago #94494

Peter van Westen's Avatar Peter van Westen Admin

No, Conditional Content cannot help you in this.
The GeoIP library also does not have a radius searching/matching ability.