Active users from given location

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

-- Show active users from the Country.
-- loc: User's location: "What is the user's location"

SELECT 
   Id as [User Link], DisplayName, AboutMe, WebsiteUrl, *
FROM  Users u
WHERE UPPER(u.Location) LIKE UPPER(##loc:string?Lithuania##)
ORDER BY Reputation DESC,
         LastAccessDate DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results