The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Number of users using style
hi,
I was just wondering if this mod was made or if someone could throw it together if it wouldn't be to hard to make. I know that there's a "what style each user is using" type mod already made where it shows the users style in the post bit. But what i'd like i for it to just show the number of users who use that specific style from the style chooser. I've seen it on a couple other forums so i know that it is around somewhere. For example Style 1 (3) Style 2 (67) Style 3 (1) Style 4 (143) etc. Thanks! |
#2
|
||||
|
||||
[sql]SELECT count( user.styleid ) AS count, title FROM user LEFT JOIN style ON ( style.styleid = user.styleid ) GROUP BY user.styleid[/sql]
title=NULL means using board default |
#3
|
||||
|
||||
ok thanks.
Does it mean that no user is using the style if it doesn't show anything? Just asking because one of the styles wasn't listed. Is there anyway to get those numbers showing in the skin chooser, beside the respectable style, in the forums footer? Thanks again. |
#4
|
||||
|
||||
*bump*
|
#5
|
||||
|
||||
Hmm, doesn't such a hack already exist?
I think i saw it somewhere ... |
#6
|
||||
|
||||
I searched but couldn't find one other then the one that shows which style you're using in the postbit.
If it's out there, anyone want to show me in the right direction? Thanks. |
#7
|
||||
|
||||
This might help, I wrote it for a DHTML menu:
PHP Code:
|
#8
|
||||
|
||||
Anyone want to put that peice of code in perspective for me and give me some instructions on where to put it or what to replace?
Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|