Sebastian C. Posted August 5, 2014 Report Share Posted August 5, 2014 Cum se numeste acest hook? Quote Link to comment Share on other sites More sharing options...
Moderators Solution gadeas Posted August 6, 2014 Moderators Solution Report Share Posted August 6, 2014 Intra in Admin CP > Look & Feel > Manage Skin Sets & Templates > Alege skinu folosit > UserInfoPanel Dupa: <if test="postCount:|:$author['member_id']"> <dl class="pairsJustified"> <dt>{$this->lang->words['m_posts']}</dt> <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</dd> </dl> </if> Adauga: <php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php> <li class='post_count desc lighter'> {$topics['topics']} topics </li> Solutia este a lu Courage. 1 Quote PHP Developer - Not available for freelancing right now Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.