DogaruCatalin Posted February 3, 2013 Report Share Posted February 3, 2013 Salut, as vrea si eu hook-ul acela, sa arate sub profil, post si topic una sub alta, imi arata doar post si as vrea si topic. Daca se poate, multumesc. Quote Caut communitate, contact: fantezye3D Link to comment Share on other sites More sharing options...
+iMaster Posted February 3, 2013 Report Share Posted February 3, 2013 Mergeti in: Look & Feel / Chose Skin / Global Template / userinfoPane Cauti: <if test="postCount:|:$author['member_id']"> <li class='post_count desc lighter'> {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']} </li> Sub el adaugati: <center><php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php>Topics {$topics['topics']}</center> Si gata. Quote Link to comment Share on other sites More sharing options...
Solution gaby Posted February 3, 2013 Solution Report Share Posted February 3, 2013 Ia uite ce avem noi aici: Tutorial afisare numar de topicuri in IPB Quote Te-ai inregistrat? Ne-ar placea sa te prezinti. Cum pot sustine forumul? Cumpara de la eMag folosind acest link. -------------------- Link to comment Share on other sites More sharing options...
DogaruCatalin Posted February 3, 2013 Author Report Share Posted February 3, 2013 Mersi frumos .. dar apare mai mare.. si mai deschisa culoarea.. Quote Caut communitate, contact: fantezye3D Link to comment Share on other sites More sharing options...
gaby Posted February 4, 2013 Report Share Posted February 4, 2013 Incearca sa inlocuiesti: <center><php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php>Topics {$topics['topics']}</center> cu: <li class='post_count desc lighter'><php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php>Topics {$topics['topics']}</li> Quote Te-ai inregistrat? Ne-ar placea sa te prezinti. Cum pot sustine forumul? Cumpara de la eMag folosind acest link. -------------------- Link to comment Share on other sites More sharing options...
DogaruCatalin Posted February 4, 2013 Author Report Share Posted February 4, 2013 Mersi mult Gaby ! Quote Caut communitate, contact: fantezye3D 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.