0
Welcome Guest! Login
0 items Join Now

SOLVED Smartload affecting module

    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • From another guy who posted on jomsocial:
      I have a problem with all modules profiles including avatars JomSocial :
      activegroups, activitystream, topmembers, latestmembers...

      half the time, the avatar is small or large :

      This image is hidden for guests.
      Please log in or register to see it.
      Answer:
      Hi guys

      Seems like Rocket Theme "Smart Load" feature causes trouble with the module avatars.
      You can either disable Smart Load via template backend, or ask RT team for support

      My best
      Xen

      Now, I love smartload and I won't remove the activity stream or avatars that get turned into 1px on kunena forum. Please help with this.
    • Last Edit: 13 years 11 months ago by Jordan.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • If this is a site that is online could you please supply a link so we can better diagnose the issue?
      wpd57
    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • I went through all your pages in my FF3 and couldn't find any errant images. Can you supply a link to exactly where this is happening?
    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • Sure, Dan.
      This is happening on the frontpage with the activity stream avatars, as well as avatars displaying on any thread on my forum. Sometimes the avatar shows up there, and sometimes it's minimized to about 5x2px
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • Flipsider wrote:
      Sure, Dan.
      This is happening on the frontpage with the activity stream avatars, as well as avatars displaying on any thread on my forum. Sometimes the avatar shows up there, and sometimes it's minimized to about 5x2px
      Again both places appear normal on my screen. Not to take chances and make sure Smartload avoids these two image types, go to Admin -> Extensions -> Template Manager -> rt_zephyr_j15 -> Features -> Smartload -> Xpath Ignores and add this to the path in the dialog box (include the leading comma separator)
      ,.newsfeed-avatar .avatar, .kblocktable .klist-avatar
    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • That didn't make any difference.
      This is what I have in the field, please correct me if its wrong:
      ul.menutop,div.roktabs-wrapper,span.image,div.fusion-submenu-wrapper,.module-content ul.menu .image,.roknewspager-div a,#rokintroscroller,.newsfeed-avatar .avatar, .kblocktable .klist-avatar
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • Okay your 1st link, I'm still seeing no problems at my end.
      However I can see there is an issue with the 2nd link. Apparently my coding for the Xpath didn't stick and it's not showing up. So lets try this, instead of what you have now:
      ul.menutop,div.roktabs-wrapper,span.image,div.fusion-submenu-wrapper,.module-content ul.menu .image,.roknewspager-div a,#rokintroscroller,.newsfeed-avatar .avatar, .kblocktable .klist-avatar
      change it to this:
      ul.menutop,div.roktabs-wrapper,span.image,div.fusion-submenu-wrapper,.module-content ul.menu .image,.roknewspager-div a,#rokintroscroller,.joms-newsfeed-item .newsfeed-avatar img,.kmsg .kavatar img
      Usually when Smartload affects an image it sets the width and height to "auto" but in your example the 2nd avatar image has been specified to have width="4" height="20" is this something you might have put in or did your forum module?
    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • thanks for trying to help.
      What links are you talking about?
      And I don't believe any avatar should be specified to have width="4" height="20"
      Maybe if you want you can get an admin login so you can turn on and off (or change the Xpath fields )the smartload to check?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Smartload affecting module

    Posted 13 years 11 months ago
    • Flipsider wrote:
      thanks for trying to help.
      What links are you talking about?
      And I don't believe any avatar should be specified to have width="4" height="20"
      Maybe if you want you can get an admin login so you can turn on and off (or change the Xpath fields )the smartload to check?

      The links I referred to were the pages where you took the screenshots from. As for the width and height issue this is the specific CSS that I recorded for avatar images in the 2nd link-screenshot:
      <img smartload="1" class="kavatar" src="http://xboxuserspace.com/images/avatar/87e68a3dd5aff5a6ebc9d97d.png" alt="" style="max-width: 144px; max-height: 144px;" width="4" height="20">
      its for the avatar for repivemag.

      As for Xpath, what does it look like now that you've incorporated my changes?

Time to create page: 0.055 seconds