Hello-
Is it possible to sort members by their IP addresses?
Thank you for your time.
CW
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 23, 2009 8:16pm
Subscribe [2]#1 / Apr 23, 2009 8:16pm
Hello-
Is it possible to sort members by their IP addresses?
Thank you for your time.
CW
#2 / Apr 24, 2009 1:28am
clwhitmire,
Do you want to do this in the member templates, or on a ‘regular’ template?
#3 / Apr 26, 2009 11:56am
I think in the member template. Right now, I’m going member-by-member, doing an IP search for each address, for over 1,000 members. I just thought there might be an easier way to identify multiples.
#4 / Apr 26, 2009 1:38pm
Would the ip search form help? Admin › Members and Groups › Member Search
-greg
#5 / Apr 26, 2009 3:44pm
I’ve been using the IP search. I still have to enter all the existing IP addresses one at a time to search for duplicates. I was just hoping there was a way to sort them, to save time and see where my multiples are.
#6 / Apr 26, 2009 4:09pm
ah, okay.
What about running the following in a template:
{exp:query sql="SELECT member_id, group_id, username, screen_name, email, ip_address from exp_members ORDER BY ip_address DESC"}
Member Id: {member_id}
Group Id: {group_id}
Username: {username}
Screen name: {screen_name}
Email Address: {email}
IP Address: {ip_address}
<hr >
{/exp:query}Or, you can run the same query at: Admin › Utilities › SQL Manager › Database Query Form
-greg