The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hey all,
I want to query the forum sql tables to return the following: Active members only and their: * number of posts * rank * title I haven't programmed PHP / MySQL queries for a DB as complex as vbulletin's some I'm not sure where to start. Tks. |
|
#2
|
||||
|
||||
|
What do you mean by active members?
Code:
SELECT * FROM " . TABLE_PREFIX . "users WHERE lastvisit >= " . (TIMENOW - X * 86400) . " |
![]() |
|
|