View Full Version : Style users
There was something like this in VB2 but non yet for VB3. Basically, it tells you how many users are currently using a style on your board. Its useful for admins to see what style is much more popular too. Thats about it. Any hack like this would be greatly appreciated.
marcjd
01-17-2004, 10:03 PM
Yes, I agree. I found this thread searching for the answer to your very question. Anyone? Thanks. :)
Andreas
01-17-2004, 11:49 PM
You can just run
SELECT style.title, count( user.styleid ) as usage_count
FROM user
LEFT JOIN style ON ( user.styleid = style.styleid )
GROUP BY user.styleid
from ACP, this should give you the numbers.
marcjd
01-18-2004, 12:30 AM
I imagine that is in the running a query section.
Thank you, I will enable that feature and do that tomorrow. Hopefully someone could post how to include the numbers in the style selection like you see on a lot of boards. That would make it very easy. :) Thanks again.
Andreas
01-20-2004, 05:46 PM
Should be fairly easy to write some code for that ...
Where exactly do want to show this information (screenshot maybe)?
marcjd
01-20-2004, 06:01 PM
Should be fairly easy to write some code for that ...
Where exactly do want to show this information (screenshot maybe)?
On the boards that I have seen with it, the numbers of users using that style is right next to the style in the style drop-down box. For example, Style 1 (xx). They have it at vbskinz.com I believe.
NuclioN
03-09-2004, 07:21 AM
Is this modification somewhere available?
vakvak
09-04-2005, 01:04 PM
You can just run
SELECT style.title, count( user.styleid ) as usage_count
FROM user
LEFT JOIN style ON ( user.styleid = style.styleid )
GROUP BY user.styleid
from ACP, this should give you the numbers.
wnere lookat see for
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.