Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2010, 12:34 PM
Dunhamzzz Dunhamzzz is offline
 
Join Date: Jul 2008
Location: Hampshire, UK
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to tell how many users are using a certain skin?

Hi,

I have 2 skins on my site, a light and a dark, is there a mod/method I can use to tell how people are using the light one and how many the dark?

I tried searching but as you can imagine the keywords are very popular!
Reply With Quote
  #2  
Old 02-11-2010, 09:26 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a mod like vb.org somewhere that shows what style they are using in postbit. I can't find it
Reply With Quote
  #3  
Old 08-27-2014, 10:58 PM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bumping this... anyone know how to figure this out from the database? I just need to know the number of people using a certain style.
Reply With Quote
  #4  
Old 08-27-2014, 11:13 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

User table, styleid field.
Reply With Quote
  #5  
Old 08-27-2014, 11:51 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Specifically
Code:
SELECT styleid, COUNT(styleid) AS stylecount FROM user GROUP BY styleid
Reply With Quote
Благодарность от:
Gladius2007
  #6  
Old 08-28-2014, 12:54 AM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks!

--------------- Added [DATE]1409191318[/DATE] at [TIME]1409191318[/TIME] ---------------

Actually, not sure if that's working properly?

I got this back:

styleid stylecount
0 14411
2 4
4 1
6 2
9 2

But the style IDs don't match the style IDs as I see them in the Style Manager... I don't even have a style ID 0, for example... My active styles are 2, 9, 7 and 8 and half of those numbers aren't even in the list. Any ideas?
Reply With Quote
  #7  
Old 08-28-2014, 01:20 AM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

0 means they have nothing specifically set - in other words they are seeing whatever you have set as the default. The others have selected different styles. It's possible to have users that set an old style and haven't been back to the site since new styles have been created. Anything not listed isn't being used at all.
Reply With Quote
  #8  
Old 08-28-2014, 01:38 AM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, ok. Seems weird that practically nobody uses anything but default though.
Reply With Quote
  #9  
Old 08-28-2014, 11:28 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gladius2007 View Post
Hmm, ok. Seems weird that practically nobody uses anything but default though.
It's not weird at all. It's actually the norm.

When most people go to a site they accept that what they see is the way the site is suppose to look. Very few people will change the style or they may not even know that they can.

That's why your default style should be the way YOU want it to look to everyone else.
Reply With Quote
  #10  
Old 08-28-2014, 11:48 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a bit more complex than that.

The majority of users will change their style using the style chooser at the bottom, rather than going into their options.

If they do it with the style chooser, then it's just setting a cookie, it doesn't record anything in the database. So there's no way to obtain a count of these users.

Somewhere, there's a vB3 mod that alters the style chooser so that it actually updates the user settings, just as if they had gone into the usercp (it leaves the cookie version in place for guests). I've been using it on my site (which has been on vb4 since 2010) for many years. It's loads better...

--------------- Added [DATE]1409230432[/DATE] at [TIME]1409230432[/TIME] ---------------

I found it...it's not a mod as such...just a discussion, but it's from this thread that I managed to make it (on vB3):
https://vborg.vbsupport.ru/showthread.php?t=210969

I asked at the very end how to make it work on vB4, I did eventually do it but it's too long ago for me to actually recall....
Reply With Quote
Благодарность от:
Gladius2007
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04092 seconds
  • Memory Usage 2,258KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete