The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
|||
|
|||
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] |
#3
|
||||
|
||||
Quote:
Do I need to change any of that? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|