The Arcive of vBulletin Modifications Site. |
|
Exclude some users from top10 list Details »»
|
||||||||||||||||||||||||||
I cant seem to figure out how to exclude a few users from the top10 list-
Quote:
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
change the query to
$DB_site->query("SELECT * FROM user WHERE userid not in (x,y,z) ORDER BY storep DESC LIMIT 10"); x,y,z would be the userid's of the people you want to exclude. You can add as many as you want, not just 3. Just don't have a comma after the last one. |
|
#3
|
|||
|
|||
|
Thank you very much!
|
![]() |
|
|