![]() |
How do I search users profile fields?
I am a points system, that I call "cookies" and I am looking to find out the users that have the most cookies. How would I go about this? Is there a way I can do it in the admin control panel? I found that I can search that field, but I don't want to search for a specific number, I just want it to display all users that have anything in their cookie field besides "0"
Can somebody please help me out on how to do this? Thanks. I have that one hack installed as well that allows my users to search as well, if that makes any difference. :) |
A query to do it:
[sql] SELECT u.username, uf.userid FROM user u, userfield uf WHERE u.userid = uf.userid AND uf.fieldn != "0"; [/sql] |
Quote:
Do I need to change any of that? |
All times are GMT. The time now is 01:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|