1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

stats fields ?

Discussion in 'Showcase Support' started by eva2000, May 18, 2015.

  1. eva2000

    eva2000 New Member SC Premium

    anything can be done about this on backend ?

    upload_2015-5-19_6-13-43.png
     
  2. Bob

    Bob Developer Staff Member

    Pretty sure this is a browser issue. I've seen it talked about on XF.com before (nothing to do with Showcase).

    Showcase uses the core XF Stats Handler (same exact one as the RM). The handler does all the output. When you use the Stats Handler, all you do is pass in an array with the Phrase Names. All the output is done by core Xenforo.

    Showcase....
    PHP:
        public function getStatsTypes()
        {
            return array(
                
    'sc_items' => new XenForo_Phrase('nflj_showcase_stats_items'),
                
    'sc_item_like' => new XenForo_Phrase('nflj_showcase_stats_item_likes'),
                
    'sc_comment' => new XenForo_Phrase('nflj_showcase_stats_comments'),
                
    'sc_comment_like' => new XenForo_Phrase('nflj_showcase_stats_comment_likes'),
                
    'sc_rating' => new XenForo_Phrase('nflj_showcase_stats_ratings'),       
                
    'sc_review' => new XenForo_Phrase('nflj_showcase_stats_reviews'),
                
    'sc_review_like' => new XenForo_Phrase('nflj_showcase_stats_review_likes'),                       
                
    'sc_attachment' => new XenForo_Phrase('nflj_showcase_stats_attachments'),
                
    'sc_attachment_disk_usage' => new XenForo_Phrase('nflj_showcase_stats_attachment_disk_usage')
            );
        }
    Resource Manager...
    PHP:
        public function getStatsTypes()
        {
            return array(
                
    'resource' => new XenForo_Phrase('resources'),
                
    'resource_update' => new XenForo_Phrase('resource_updates'),
                
    'resource_like' => new XenForo_Phrase('resource_likes'),
                
    'resource_rating' => new XenForo_Phrase('resource_ratings')
            );
        }
    Xen Media Gallery...
    PHP:
        public function getStatsTypes()
        {
            return array(
                
    'media' => new XenForo_Phrase('xengallery_media'),
                
    'media_disk' => new XenForo_Phrase('xengallery_media_disk_usage_mb'),           
                
    'media_like' => new XenForo_Phrase('xengallery_media_likes'),
                
    'media_rating' => new XenForo_Phrase('xengallery_media_ratings'),
                
    'media_comment' => new XenForo_Phrase('xengallery_media_comments'),
                
    'comment_like' => new XenForo_Phrase('xengallery_media_comment_likes')
            );
        }
    FIREFOX (on my dev environment)
    Selection_209.png


    CHROME (on my Production environment)
    Selection_211.png
     
  3. eva2000

    eva2000 New Member SC Premium

    ah explains it, Opera 29 here :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.