Log in

View Full Version : Searching by user ID


vics
01-08-2009, 03:04 PM
OK, so as no field in ACP exists? How does one search for the user's numeric ID?
Search = ID of 3003 for example?

Thanks fellas ;)

Bellardia
01-08-2009, 03:07 PM
Search for it to do what with it?

Search by user, userid is greater than 3003, less than 3004.

Lynne
01-08-2009, 03:19 PM
You used to be able to fake it knowing the search link for the username - user.php?do=find&u=9 - but you can't anymore. Take a look at the user.php file and see if you can find the post variable to use.

vics
01-08-2009, 06:23 PM
I am referring to Admin CP.
Where can one enter a numeric value of say 3303 (someone's user ID) in a field and retrieve results? Short of this field being enabled anywhere, where is this accomplished?



Search for it to do what with it?

Search by user, userid is greater than 3003, less than 3004.

Bellardia
01-08-2009, 07:18 PM
Users > Search for Users > options are around the middle of the page.

Lynne
01-08-2009, 08:52 PM
I am referring to Admin CP.
I know you are, and if you look at my link you'll see the do variable is used in the user.php page in the admin cp.

King Kovifor
01-08-2009, 10:13 PM
if you specifically want user with the idea you can take a round about (not sure if the ACP has this to) by going to:

http://www.yourforum.com/member.php?u=ID and then clicking on "Edit User", which will open your ACP to their edit page.

vics
01-09-2009, 11:26 AM
I know you are, and if you look at my link you'll see the do variable is used in the user.php page in the admin cp.So, you're suggesting that in one of the viewable AdminCP 'fields', I am able to type in a numeric value and search? Folks, I am seeking a simple search field solution. - Thanks.

Bellardia
01-09-2009, 11:59 AM
At least two were provided above..

vics
01-09-2009, 12:07 PM
At least two were provided above..Really?- just don't see a field that allows for searching in 3.5.4 from within AdminCP. Tell me; which of these fields from within the 'middle of the page' allows for numeric ID input and searching:

Home Page
ICQ UIN
AIM Screen Name
Yahoo! ID
MSN ID
Skype Name
Signature
User Title
Join Date is After(yyyy-mm-dd)
Join Date is Before(yyyy-mm-dd)
Last Activity is After(yyyy-mm-dd hh:mm:ss)
Last Activity is Before(yyyy-mm-dd hh:mm:ss)
Last Post is After(yyyy-mm-dd hh:mm:ss)
Last Post is Before(yyyy-mm-dd hh:mm:ss)
Birthday is After(yyyy-mm-dd)
Birthday is Before(yyyy-mm-dd)
Posts are greater than or equal to
Posts are less than
Reputation is greater than or equal to
Reputation is less than
Registration IP Address

Bellardia
01-09-2009, 12:29 PM
Perhaps its not in 3.5, I'm not sure. You may be able to use lynne's method since your board is quite old.

vics
01-09-2009, 12:34 PM
Perhaps its not in 3.5, I'm not sure. You may be able to use lynne's method since your board is quite old.
Thank you - in fact you're correct :) (appreciate the feedback).
My other board running 3.8 has these 2 additional fields:

User ID is greater than or equal to:
User ID is less than:

Lynne
01-09-2009, 02:21 PM
What I was saying it that my method of adding u=xxx to the end of the do=find query used to work (on my 3.0 board), but no longer works (on my 3.6 board). You may be able to look at the code and see what variable is now being used and see if you can pass it as a GET variable. Many of the vb pages will allow you to pass things as a GET variable - it just isn't advertised anywhere - you just need to look at the code.