The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
whos using what style
Is there a way to quickly see who is using which style or at least find out how many are using a each style
I have quite a few styles on my forum and I dont want to add anymore without removing the ones that are not being used. In the past I have made a poll to find out but surly there must be an easier way. Thanks edit: it would be ideal if it was possible to see which style members are currently using not whats set in their control panel |
#2
|
||||
|
||||
This mod currently works on 4.1.12 and it was developed on 3.5.x
https://vborg.vbsupport.ru/showthrea...ighlight=style I think the issue with any user->style counter is that when a user uses the actual style chooser in the footer, they are not actually setting it as their style its a temporary choice and will not be counted, but when a user sets their style manually in their user settings (usercp.php) those will be counted correctly. The mod listed will show how many users are using what style (only for users that have set their style) in the style chooser. |
#3
|
|||
|
|||
thanks, just tried it, it gave me an error at the top of the page.
also I can run a query to find out how many users have set each style in their usercp SELECT user.styleid, COUNT(user.styleid) AS total, style.title FROM user LEFT OUTER JOIN style ON style.styleid = user.styleid WHERE user.styleid <> 0 GROUP BY styleid ORDER BY total I want to know what current styles are being used. some members may ahve never set anything other than the defualt in their usercp yet changed style with style chooser numerous times. maybe i should have a mod created to update the usercp style when they use the style selector |
#4
|
||||
|
||||
make sure you upload the included file as it is required.
I believe Ive come across some code on the site before where when a user changes the style via style chooser it updates their style selection in their profile. I will post if I find it. But yes, that is what needs to be done to account for users using the style chooser as opposed to their control panel. --------------- Added [DATE]1336863438[/DATE] at [TIME]1336863438[/TIME] --------------- I found it. https://vborg.vbsupport.ru/showthread.php?t=133831 It was coded for 3.6.x but works fine on 4.1.12 and works even better when using https://vborg.vbsupport.ru/showthrea...ighlight=style as it will show the count in the actual style chooser. |
#5
|
|||
|
|||
yeah i did, this is the error
Warning: array_key_exists() expects parameter 2 to be array, null given in [path]/includes/class_bootstrap.php(1366) : eval()'d code on line 436 |
#6
|
||||
|
||||
It somewhat works. May need to edit the code a bit, but its a place to start.
--------------- Added [DATE]1336863618[/DATE] at [TIME]1336863618[/TIME] --------------- That is strange as I am running 4.1.12 on my forum and the mod (first one i posted about) works fine. http://kryptodesigns.com/forum/forum.php Look at my style chooser. --------------- Added [DATE]1336863828[/DATE] at [TIME]1336863828[/TIME] --------------- Looking into it further it appears the second mod I posted (as is) messed up my style. Had to disable it to make it normal. May need some code revision to be compatible with 4.x.x |
#7
|
|||
|
|||
not sure, think i will see about a having a mod made
cheers |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|