The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have several styles in our forums and I was wondering if there is a way to find out who is using which style and perhaps some statistics on # of users of each style.
|
|
#2
|
|||
|
|||
|
If you run this query...
Code:
SELECT
COUNT(b.styleid) as Users,
b.title
FROM
(PREFIX)_user a,
(PREFIX)_style b
WHERE
a.styleid = b.styleid
GROUP BY
b.styleid ORDER BY Users DESC
Code:
SELECT
COUNT(styleid) as Users
FROM
(PREFIX)_user a
WHERE
styleid = 0
GROUP BY
styleid
Hope this helps. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|