Announcement

Collapse
No announcement yet.

Chat and several icons on 5.3.1 are missing

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chat and several icons on 5.3.1 are missing

    After upgrade
    some of the icons ware missing (the chat bubble... the like icon on mobile/. the calendar ... etc)


    To fix this we just had to re-upload manually
    sprite_icons_vb_ltr.png and
    sprite_icons_vb_rtl.png


    BUT
    not to /images/css/

    but to core/images/css/

    and it will work.

    yeasy enough right .. duh....




    but it took me a week to figure something so simple out.



    The question is .. why does it want the core path and not the the original path (as in the installation package) in which all initial files are stored...

    bug during the last upgrade ?
    Attached Files
    Last edited by discoverxs3; Wed 19th Jul '17, 7:50am.

    www.DiscoverXS.com - Putting the XS back into life™
    The first Pheromone Research community based on vBulletin Verion 5.x

  • #2
    You're storing your CSS on a different server. This can cause problems referencing images properly. Since css.php is actually in the /core/ directory it can be using that as the relative URL base.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Originally posted by Wayne Luke View Post
      You're storing your CSS on a different server. This can cause problems referencing images properly. Since css.php is actually in the /core/ directory it can be using that as the relative URL base.
      Thanks for the reply,
      actually the css is on the CDN.
      so yes different place.

      thanks for clearing it up


      but that means that everyone that uses the CDN option should

      replace to core/images/css/

      not /images/css/

      www.DiscoverXS.com - Putting the XS back into life™
      The first Pheromone Research community based on vBulletin Verion 5.x

      Comment


      • #4
        We reference css.php as css.php not /core/css.php. The sprites and images used in CSS are located in /images not /core/images. /core/images contains smilies and posticons.

        If you're using a CDN and the path changes, you would have to manually adjust the URLs for images and backgrounds in the CSS as needed to reflect where you're storing the images.

        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          Originally posted by Wayne Luke View Post
          We reference css.php as css.php not /core/css.php. The sprites and images used in CSS are located in /images not /core/images. /core/images contains smilies and posticons.

          If you're using a CDN and the path changes, you would have to manually adjust the URLs for images and backgrounds in the CSS as needed to reflect where you're storing the images.
          we are using cdn77
          so the path is the same..

          first hit caches the file next one serves it from the cdn

          so
          xxxxxxx.com/something/
          is the same as
          cdnxxxxxx.com/something

          also
          i just found out
          that the sprites are served from different location if they are exported as a file instead of https://************/css.php?styleid=1&td=ltr&sheet=css_imgareaselect-animated.css,css_jquery-ui-1_11_4_custom.css,css_jquery_qtip_min.css,css_jquery_selectBox.css,css_global.css&ts=1 503586184
          for example

          So using a CDN of cache on first hit with same path :

          https://discoverxs.com/images/tmp/discoverxs_messenger.jpg
          https://discoverxs-440990.c.cdn77.org/images/tmp/discoverxs_messenger.jpg

          its messing the sprites path too.am i going crazy or what ?


          and again Wayne thanks for the outstanding support over the past years

          www.DiscoverXS.com - Putting the XS back into life™
          The first Pheromone Research community based on vBulletin Verion 5.x

          Comment


          • #6
            What is the computed path to the sprites according to Chrome's Developer Tools?
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #7
              Originally posted by Wayne Luke View Post
              What is the computed path to the sprites according to Chrome's Developer Tools?
              when using the cdn settings:
              Store CSS Stylesheets as Files? NO
              images/css/sprite_icons_vb_ltr.png?v=531
              or check the links that are pulled with the test
              https://www.webpagetest.org/result/1...37a/1/details/

              when using the cdn settings with export cdd to file


              Store CSS Stylesheets as Files? YES
              and a link with this
              https://www.webpagetest.org/result/1...5cd/1/details/





              so by using a simple diff compare in the Request Headers section

              Click image for larger version  Name:	Screenshot 2017-08-24 21.09.31_cr.jpg Views:	1 Size:	383.8 KB ID:	4376124

              www.DiscoverXS.com - Putting the XS back into life™
              The first Pheromone Research community based on vBulletin Verion 5.x

              Comment


              • discoverxs3
                discoverxs3 commented
                Editing a comment
                so yeah by changing just Store CSS Stylesheets as Files? from yes to no
                it changes the path

            • #8
              Wayne Luke
              so yeah by changing just Store CSS Stylesheets as Files? from yes to no
              it changes the path.


              right now we switched to Store CSS Stylesheets as Files? NO
              so you can check the paths at discoverxs.com


              www.DiscoverXS.com - Putting the XS back into life™
              The first Pheromone Research community based on vBulletin Verion 5.x

              Comment


              • #9
                When stored as files, the CSS files will end up in /core/clientscript/vbulletin_css. vBulletin uses a variable to reference the image properly. {vb:stylevar imgdir_spriteiconsvb}. This should be images/css and it should reference /images/css built off the basepath and Frontend URL.

                Did you change that style variable? If you did, then you need to make sure the images are stored in the location specified.

                You might try updating the style variable so it uses your CDN directly.
                Last edited by Wayne Luke; Thu 24th Aug '17, 3:34pm.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment

                Related Topics

                Collapse

                Working...
                X