Bulletbrain

+Clients
  • Content count

    16
  • Joined

  • Last visited


About Bulletbrain

  • Rank
    IPB Newbie

Recent Profile Visitors


2,619 profile views

Bulletbrain's Activity

  1. Bulletbrain added a comment: Error When Trying to use Gallery after Upgrade   

    I'd already found the (altered) line and had placed the following code where suggested.
    [code]<php>$_pips = ""; $rank_cache = $this->registry->cache()->getCache( 'ranks' ); if ( is_array( $rank_cache ) && count( $rank_cache ) ) { foreach ( $rank_cache as $k => $v) { if ( $author['posts'] >= $v['POSTS'] ) { $pips = $v['PIPS']; break; } } } if ( is_numeric( $pips ) ) { for ( $i = 1; $i <= $pips; ++$i ) { $_pips .= $this->registry->output->getReplacement('pip_pip'); } }</php>
    <if test="$_pips"><br />{$_pips}</if>[/code]
    However, this simply didn't display the pips when a user has a rank image.
    I then tried it above [i]and [/i]below the line of code
    [code]<img src='{$author['member_rank_img']}' alt='' />[/code]
    And came to the conclusion that the code was not working in v3.1.1

    So I botched together a quick test to see if I could get the pips showing which I can but as I said above, it is displayed twice for users without a rank image (original and my added version).

    Has anyone got the above code working in v3.1.1?
    If so what did you do?

    Thanks
  2. Bulletbrain added a comment: Error When Trying to use Gallery after Upgrade   

    I'd already found the (altered) line and had placed the following code where suggested.
    [code]<php>$_pips = ""; $rank_cache = $this->registry->cache()->getCache( 'ranks' ); if ( is_array( $rank_cache ) && count( $rank_cache ) ) { foreach ( $rank_cache as $k => $v) { if ( $author['posts'] >= $v['POSTS'] ) { $pips = $v['PIPS']; break; } } } if ( is_numeric( $pips ) ) { for ( $i = 1; $i <= $pips; ++$i ) { $_pips .= $this->registry->output->getReplacement('pip_pip'); } }</php>
    <if test="$_pips"><br />{$_pips}</if>[/code]
    However, this simply didn't display the pips when a user has a rank image.
    I then tried it above [i]and [/i]below the line of code
    [code]<img src='{$author['member_rank_img']}' alt='' />[/code]
    And came to the conclusion that the code was not working in v3.1.1

    So I botched together a quick test to see if I could get the pips showing which I can but as I said above, it is displayed twice for users without a rank image (original and my added version).

    Has anyone got the above code working in v3.1.1?
    If so what did you do?

    Thanks
  3. Bulletbrain added a comment: Beta 3 upgrade error   

    I too want to add both rank images and custom pips but in the Global Template -> userInfoPane skin template that line of code does not seem to exist in v3.1.1

    I've played around and can get it to display for members with rank images but it is displayed twice for users without a rank image (original and my added version).

    Any clue as to how to implement this feature on the latest build?
  4. Bulletbrain added a comment: Beta 3 upgrade error   

    I too want to add both rank images and custom pips but in the Global Template -> userInfoPane skin template that line of code does not seem to exist in v3.1.1

    I've played around and can get it to display for members with rank images but it is displayed twice for users without a rank image (original and my added version).

    Any clue as to how to implement this feature on the latest build?

About Me

Status Feed