Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

This is a discussion on Screen resolution stats? in the Shared & Semi-Dedicated forum
I must be blind but I can't find in any of the control panel stats where my visitors screen resolutions are displayed. I am thinking ...

  1. #1
    JPC Member
    Join Date
    Feb 2004
    Posts
    20

    Question Screen resolution stats?

    I must be blind but I can't find in any of the control panel stats where my visitors screen resolutions are displayed. I am thinking it must be somewhere or am I wrong?

  2. #2
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Your not blind. CP stats do not list screen resolutions.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Browser resolution is not broadcast to websites in the HTTP headers. The stats programs that report screen resolution require you to add JavaScript to your pages in order for that information to be sent back to the server. The CP stats programs don't support this, AFAICT.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    My site is average. I think this is fairly representative, on the whole: http://www.lenon.com/modules.php?nam...iew=3&screen=9
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  5. #5
    Loyal Client
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    568
    But how good are those screen resolution stats? My computer screen is set at 1024x768, but I usually keep my browser open at about 900x750. Screen resolution size does not equal browser size.

  6. #6
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    I think Vin's numbers are browser resolution, not screen resolution, based on the number of non-standard sizes that are listed. Like you, I usually have my browser set to less-than-full size. At work I have a 21" monitor at 1280x1024 or 1600x1280 (I can't remember which I have it set to right now). At that size, if I maximize my browser and the site doesn't use fixed widths it is increadibly hard to read text that extends end-to-end, and with the vast majority of sites using fixed widths, I usually end up seeing a lot of whitespace anyway.

    Its been a while since I've done it, but I'm pretty sure that IE allows you to get both the screen and browser window resolution with JavaScript. I'd imagine there are similar properties in other browsers as well.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  7. #7
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by jason
    I think Vin's numbers are browser resolution, not screen resolution...

    --Jason
    Here's the code. Knock yourself out...
    Code:
          // Store Screen Resolution
          // (c) http://www.phpbuddy.com (Feel free to use this script but keep this message intact)
          // Author: Ranjit Kumar (Chief Editor phpbuddy.com)
          if( ! isset( $_COOKIE["msa_resolution"] ) ) {
             ?>
             <script language="javascript"><!--
             writeCookie();
             function writeCookie() 
             {
                var today = new Date();
                var the_date = new Date("December 31, 2023");
                var the_cookie_date = the_date.toGMTString();
                var the_cookie = "msa_resolution="+ screen.width +"x"+ screen.height +"x"+ screen.colorDepth;
                var the_cookie = the_cookie + ";expires=" + the_cookie_date;
                document.cookie=the_cookie;
             }
             //--></script>
             <?php
          } else { $MSAdata[screen_res] = $_COOKIE["msa_resolution"]; }
    Code:
             // Store Screen Resolution
             if( $MSAscr_res != "" ) {
                $result = $db->sql_query( "select scr_res from $prefix"._msanalysis_scr." where scr_res = '$MSAscr_res'" );
                if( $db->sql_numrows( $result ) == 0 ) { $db->sql_query( "insert into $prefix"._msanalysis_scr." ( scr_res, hits, today, hitstoday, xdays, hitsxdays ) values ( '$MSAscr_res', '1', '$MSAslogdate', '1', '$xdate', '1' )" ); }
                else { $db->sql_query( "update $prefix"._msanalysis_scr." set hits=hits+1, today='$MSAslogdate', hitstoday=hitstoday+1, hitsxdays=hitsxdays+1 where scr_res = '$MSAscr_res'" ); }
             }
    Continued...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  8. #8
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Code:
    // Show Top-list of Screen Resolutions
    echo "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" bgcolor=\"$bgcolor1\">\n";
    echo "<tr><td width=\"100%\" colspan=\"$colspan\" align=\"center\" height=\"30\" bgcolor=\"$bgcolor2\"><b>"._MSA_TOP." $max_view "._MSA_GENRESOLUTION." ("._MSA_GENTOTAL." $totalentries)</b></td></tr>\n";
    echo "<tr><td width=\"10%\" bgcolor=\"$bgcolor2\"><p align=\"center\">&nbsp;</td>\n";
    if( is_admin( $admin ) ) { echo "<td width=\"5%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\"><b>"._MSA_DELETE."</b></td>\n"; }
    echo "<td width=\"10%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\"><b>"._MSA_WIDTH."</b></td>\n";
    echo "<td width=\"10%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\"><b>"._MSA_HEIGHT."</b></td>\n";
    echo "<td width=\"10%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\"><b>"._MSA_COLORS."</b></td>\n";  
    echo "<td width=\"35%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\">
         <a href=\"modules.php?name=$module_name&amp;file=index&amp;op=MSAnalysisGeneral&amp;screen=$screen&amp;overview=$overview&amp;sortby=A_hits\"><img src=\"modules/$module_name/images/sup.gif\" ALT=\""._MSA_UP."\" TITLE=\""._MSA_UP."\" border=\"0\"></a>&nbsp;&nbsp;&nbsp;&nbsp;<b>"._MSA_HITS."</b>&nbsp;&nbsp;&nbsp;&nbsp;
         <a href=\"modules.php?name=$module_name&amp;file=index&amp;op=MSAnalysisGeneral&amp;screen=$screen&amp;overview=$overview&amp;sortby=D_hits\"><img src=\"modules/$module_name/images/sdown.gif\" ALT=\""._MSA_DOWN."\" TITLE=\""._MSA_DOWN."\" border=\"0\"></a></td>\n";
    echo "<td width=\"20%\" bgcolor=\"$bgcolor2\"><p align=\"center\"><font class=\"content\"><b>"._MSA_HITS."</b></td></tr>\n";
    
    switch( $sortby ) {
       case "A_hits" :
          if( $overview == 1 ) $result = $db->sql_query( "select id, scr_res, hitstoday from $prefix"._msanalysis_scr." WHERE today='$DateToday' AND hitstoday > 0 ORDER by hitstoday ASC LIMIT 0, $max_view" );
          elseif( $overview == 2 ) $result = $db->sql_query( "select id, scr_res, hitsxdays from $prefix"._msanalysis_scr." WHERE xdays='$xdate' AND hitsxdays > 0 ORDER by hitsxdays ASC LIMIT 0, $max_view" );
          else $result = $db->sql_query( "select id, scr_res, hits from $prefix"._msanalysis_scr." order by hits ASC LIMIT 0, $max_view" );
       break;
       case "D_hits" :
          if( $overview == 1 ) $result = $db->sql_query( "select id, scr_res, hitstoday from $prefix"._msanalysis_scr." WHERE today='$DateToday' AND hitstoday > 0 ORDER by hitstoday DESC LIMIT 0, $max_view" );
          elseif( $overview == 2 ) $result = $db->sql_query( "select id, scr_res, hitsxdays from $prefix"._msanalysis_scr." WHERE xdays='$xdate' AND hitsxdays > 0 ORDER by hitsxdays DESC LIMIT 0, $max_view" );
          else $result = $db->sql_query( "select id, scr_res, hits from $prefix"._msanalysis_scr." order by hits DESC LIMIT 0, $max_view" );
       break;
       default:
          if( $overview == 1 ) $result = $db->sql_query( "select id, scr_res, hitstoday from $prefix"._msanalysis_scr." WHERE today='$DateToday' AND hitstoday > 0 ORDER by hitstoday DESC LIMIT 0, $max_view" );
          elseif( $overview == 2 ) $result = $db->sql_query( "select id, scr_res, hitsxdays from $prefix"._msanalysis_scr." WHERE xdays='$xdate' AND hitsxdays > 0 ORDER by hitsxdays DESC LIMIT 0, $max_view" );
          else $result = $db->sql_query( "select id, scr_res, hits from $prefix"._msanalysis_scr." order by hits DESC LIMIT 0, $max_view" );
    }
    
    while( ( list( $id, $scr_res, $hits ) = $db->sql_fetchrow( $result ) ) ) {
       $counter += 1;
       echo "<tr><td width=\"10%\"><p align=\"center\">$counter.</td>\n";
       if( is_admin( $admin ) ) { echo "<td width=\"5%\" height=\"22\"><p align=\"center\"><a href=\"modules.php?name=$module_name&amp;file=index&amp;op=MSAnalysisResolutionsDel&amp;id=$id&amp;screen=$screen&amp;overview=$overview&amp;sortby=$sortby\"><img src=\"modules/$module_name/images/delete.gif\" border=\"0\" align=\"bottom\"></a></td>\n"; }
       $whc = explode( "x", $scr_res );      
       echo "<td width=\"10%\"><b>".$whc[ 0 ]."</b></td>\n";
       echo "<td width=\"10%\"><b>".$whc[ 1 ]."</b></td>\n";
       echo "<td width=\"10%\"><b>".$whc[ 2 ]."</b></td>\n";
       $graphhits = substr( 100 * $hits / $totalhits, 0, 5);
       echo "<td width=\"35%\" nowrap><p align=\"left\"><font class=\"content\"><img src=\"themes/$ThemeSel/images/leftbar.gif\" height=\"".$msa->l_size[1]."\" width=\"".$msa->l_size[0]."\" Alt=\"$ios\" Title=\"$ios\"><img src=\"themes/$ThemeSel/images/mainbar.gif\" Alt=\"$ios\" Title=\"$ios\" height=\"".$msa->m_size[1]."\" width=", $graphhits * 2, "><img src=\"themes/$ThemeSel/images/rightbar.gif\" height=\"".$msa->r_size[1]."\" width=\"".$msa->r_size[0]."\" Alt=\"$scr_res\" Title=\"$scr_res\"></td>\n";
       echo "<td width=\"20%\"><p align=\"left\"><font class=\"content\"><b> $graphhits %</b> ($hits)</td></tr>\n";
    }
    echo "</table>\n";
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  9. #9
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Actually I think Vins stats are off and do not represent a average web site. I have e-commerce sites. There is nothing average about his site. It is highly specialized. His visitors are going to be different.

    My stats are not that much different in some areas but they a drastically different in in other areas.

    1024x768 51.45 %
    800x600 32.60 %
    1280x1024 7.22 %
    1152x864 2.36 %

    I did not include any results below 2%. I have 2 e-commerce sites. In regard to browsers the stats are so close that I won't post the difference.

    Bottom line. What is your visitors browser resolution? Depends on your site. Vins figures or mine are really meaningless.
    Last edited by Connie; 12-02-2004 at 12:18 AM.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  10. #10
    Loyal Client
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    568
    Quote Originally Posted by clssam
    Actually I think Vins stats are off and do not represent a average web site.

    Bottom line. What is your visitors browser resolution? Depends on your site.
    I think you might be right about that Connie. I haven't spent a whole lot of time on Vin's site, but the target audience seems to be a more computer and programming savy audience than the average site. That audience is going to have better and newer equipment including larger monitors than the general public.

    If someone is concerned about browser resolution, they need to look at stats for their site, not other web sites.

  11. #11
    Loyal Client
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    568
    By the way Vin, I really like the "Blackwatch" flash analog clock on your site. Nice job.

  12. #12
    Aletia Customer
    Join Date
    Oct 2001
    Posts
    631
    You don't need any javascript to find out those stats. AWStats includes screen resolution stats in the standard install. JaguarPC just has it disabled. I believe you can do your own install of AWStats though, but I haven't tried it.

  13. #13
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Quote Originally Posted by Joshua Clinard
    You don't need any javascript to find out those stats. AWStats includes screen resolution stats in the standard install. JaguarPC just has it disabled. I believe you can do your own install of AWStats though, but I haven't tried it.
    I'm not saying your wrong. I don't know. I think your statement is a little irresponsible since you have not done the install. I'm sure anyone can install AWStats. I would guess it would be like installing SquirlMail. Anyway your stating what a personal install of AWStats will do but you really have no clue since you haven't done it.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  14. #14
    Aletia Customer
    Join Date
    Oct 2001
    Posts
    631
    I normally wouldn't even bother replying to such insulting statements, but since there are others reading this thread, I will. I do not have to personally install a script to know what it's features are. To think that is just ludicrous. You can find the list of features right on the officail AWStats web site.

    I just looked at the features list myself, and it does say you need to add html tags to the index page. I am not sure if that means javascript or not. but I'm willing to admit I may be partially wrong. However, you were still rude in your delivery.
    Last edited by Joshua Clinard; 12-05-2004 at 12:53 AM.

  15. #15
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Joshua,

    I apologize that I offended you. That was not my intention. Agreeably I could have stated my opinion in a lot better way.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •