h3ater Posted May 25, 2015 Report Posted May 25, 2015 Buna seara. Un membru ce nu are warn ii apare cum trebe: "Warns: 0" Daca primeste 1 punct va aparea: "Warns: " Cum as putea face sa apara numarul de warn-uri ce il are?
Moderators gadeas Posted May 25, 2015 Moderators Report Posted May 25, 2015 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&module=profile&section=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&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
h3ater Posted May 25, 2015 Author Report Posted May 25, 2015 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&module=profile&section=warnings&member={$r['author']['member_id']}&from_app={$settings['thisApp']}&from_id1={$settings['fromApp']}&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>
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now