Jump to content

Recommended Posts

Posted

Buna seara.

Un membru ce nu are warn ii apare cum trebe: "Warns: 0"

Daca primeste 1 punct va aparea: "Warns:  "

spatiu.png

Cum as putea face sa apara numarul de warn-uri ce il are?

  • Moderators
Posted

Verifica in userInfoPane daca intre:

<if test="authorwarn:|:$author['show_warn']">
<!-- Mai mult cod -->
</if> 

Ai toata bucata asta:

<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_statuss'], $author['warn_level'] )"}</a>

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Posted

un userinfoPane nu am.

Alea se afla in skin_global_comments -> comment

<if test="authorwarn:|:$r['author']['show_warn']">
            <br />
            <if test="$options['wl_id']">
                <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
            </if>
            <a class='desc lighter ipsType_smaller blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$r['author']['member_id']}&amp;from_app={$settings['thisApp']}&amp;from_id1={$settings['fromApp']}&amp;from_id2={$parent['parent_id']}-{$r['comment']['comment_id']}" base="public"}' id='warn_link_{$r['comment']['comment_id']}_{$r['author']['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $r['author']['warn_level'] )"}</a>
        </if>

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.