Credit Premium break the layout in threads in WinXP with IE8

  1. panda

    panda - Mar 28, 2014 Member

    Credit
    Point
    it takes me 2 days to verify the issue.
    I installed a clear Xenforo without any other plugins and settings. Everything looks good.
    And it looks like the picture here after I installed the Credit Premium 1.6.2.
    1. Member cards are not in the right position
    2. POINTS and CREDITSs' value not aligned to right

    Please fix it ASAP and upgrade the current version, or you can provide a work around first, it's high impact to visitors browsing experience.
    Screen Shot 2014-03-28 at 10657 AM
     
    Loading...
  2. Brivium

    Brivium - Mar 28, 2014 XenForo Services Staff Member

    Credit
    Point
    #2
  3. panda

    panda - Mar 29, 2014 Member

    Credit
    Point
    Tested with clean XF1.3 clean install + CreditsPremium 1.6.3 + Credit Resource Integration1.3.4
    Post threads on WinXP + IE8
    :(
    Screen Shot 2014-03-29 at 111251 AM
     
    #3
  4. Brivium

    Brivium - Mar 29, 2014 XenForo Services Staff Member

    Credit
    Point
    Hello,

    You can try following hotfix solution:
    Replace all content on template BRC_message_user_info_extra to
    Code:
    <xen:require  css="BRC_message_user_info_extra.css" />
    <xen:if is="{$currencies}">
        <xen:foreach loop="$currencies" key="$_currency" value="$currency">
            <xen:if is="{$currency.active} && (!{$currencyDisplay} || in_array({$currency.currency_id},{$currencyDisplay}))">
            <dl class="pairsJustified">
                <dt><span class="BRC_currency_code">{xen:raw $currency.code}</span></dt>
                <dd>
                    <xen:if is="{$user.user_id} != {$visitor.user_id}">
                        <a href="{xen:link 'credits/transfer', '', 'receiver={$user.username}','currency_id={$currency.currency_id}'}" title="{xen:phrase BRC_transfer}" class="BRC_message_user_info concealed Tooltip OverlayTrigger concealed" data-cacheOverlay="no" data-userid="{$user.user_id}">{xen:helper brc_currencyformat, {$user.{$currency.column}},true,{$currency.currency_id}}</a>
                    <xen:else />
                        <a href="{xen:link 'credits'}"  class="BRC_message_user_info concealed">{xen:helper brc_currencyformat, {$user.{$currency.column}},true,{$currency.currency_id}}</a>
                    </xen:if>
                </dd>
            </dl>
            </xen:if>
        </xen:foreach>
    </xen:if>
     
    #4
  5. panda

    panda - Mar 29, 2014 Member

    Credit
    Point
    Perfect, I replace the original code
    Code:
    <xen:require  css="BRC_message_user_info_extra.css" />
    <xen:if is="{$currencies}">
        <xen:foreach loop="$currencies" key="$_currency" value="$currency">
            <xen:if is="{$currency.active} && (!{$currencyDisplay} || in_array({$currency.currency_id},{$currencyDisplay}))">
            <dl class="pairsJustified">
                <dt><span class="BRC_currency_code">{xen:raw $currency.code}<span></dt>
                <dd>
                    <xen:if is="{$user.user_id} != {$visitor.user_id}">
                        <a href="{xen:link 'credits/transfer', '', 'receiver={$user.username}','currency_id={$currency.currency_id}'}" title="{xen:phrase BRC_transfer}" class="BRC_message_user_info concealed Tooltip OverlayTrigger concealed" data-cacheOverlay="no" data-userid="{$user.user_id}">{xen:helper brc_currencyformat, {$user.{$currency.column}},true,{$currency.currency_id}}</a>
                    <xen:else />
                        <a href="{xen:link 'credits'}"  class="BRC_message_user_info concealed">{xen:helper brc_currencyformat, {$user.{$currency.column}},true,{$currency.currency_id}}</a>
                    </xen:if>
                </dd>
            </dl>
            </xen:if>
        </xen:foreach>
    </xen:if>
    
    with yours, and it works.

    BTW: I noticed the but fix in CP 1.6.3, unbelievable that it's still not work.
     
    #5
  6. panda

    panda - Mar 29, 2014 Member

    Credit
    Point
    fount that missed a slash :D
     
    #6
  7. Brivium

    Brivium - Mar 29, 2014 XenForo Services Staff Member

    Credit
    Point
    Sorry about our mistake. It's missing a / on span tag
     
    #7