Jump to content

Recommended Posts

Posted

Salut , am o mica problema cu hook-ul members online today

Fara acest hook , footer-ul arata in felul urmator >

Untitled3.png

 

Dupa ce adaug hook-ul , el arata asa >

Untitled2.png

 

Cum pot face ca partea cu total posts , total members...etc sa fie iar ca in prima poza si members online today sa fie ultimul si textul sa nu mai fie lipit de border

Posted (edited)

Nu prea cred ca e de la tema din moment ce fara hook-ul ala totu este ok si cand il bag se distruge totul

 

Edited by wifi123
Posted

Il am pe localhost.

	<div id='board_statistics' class='statistics clearfix' style="  padding: 0px;">
	<h4 class='statistics_head clearfix' style="padding:14px;padding-bottom:8px; margin-bottom:0px;"><ul id='stat_links' class='ipsList_inline right ipsType_small'>
		<if test="statsLinks:|:1==1"> <!-- Hook point -->
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
			<li><a href="{parse url="app=members&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
            <if test="reputationEnabled:|:$this->settings['reputation_enabled']">
                <li>
                    <a href="{parse url="app=members&amp;module=reputation&amp;section=most" base="public" template="most_liked" seotitle="most_liked"}">
                        <if test="reputationType:|:$this->settings['reputation_point_types'] == 'like'">
                            {$this->lang->words['most_rep_likes']}
                        <else />
                            {$this->lang->words['most_rep_rep']}
                        </if>
                    </a>
                </li>
            </if>
		</if>
	</ul>
<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</if></h4>
	<if test="$this->settings['show_active']"><p class='statistics_brief desc' style="padding: 10px;border-bottom: 1px solid #252525;color:#bcbcbc;">
		In total there are {parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
		<if test="onlineListEnabled:|:$this->settings['allow_online_list']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$this->lang->words['online_link']})</a> </if>
	</p></if>

	<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
		
		<p  style="padding: 10px;    border-bottom: 1px solid #252525;">
			Registered users: <span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>					
		</p>
</if>
<if test="showTotals:|:$this->settings['show_totals']">
<p style="padding: 10px;">
Total posts: <strong>{$stats['info']['total_posts']}</strong> • Total members: <strong>{$stats['info']['mem_count']}</strong> • Our newest member: <strong>{IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}</strong> • Most Online: <strong>{$stats['info']['most_online']}</strong> </p>

</if>

Asta e codul de la board statistics , din cate vad totul este ok

Posted

Hai sa facem ca la gradinita... Imi dai 10€ daca asta e problema? Da-mi adresa forumului tau daca nu il ai pe localhost si verific eu :)

Las-o si tu mai moale.

Editeaza din boardIndex -> membersOnlineToday (editeaza aici html, ii faci o noua casuta)

Daca te-am ajutat, nu uita de +1 ! Multumesc.

Posted

Daca poti sa imi spui cum pot crea o noua casuta ar fi perfect , am incercat sa adaug codul de mai sus acolo unde ai zis tu deasupra la tot codul dar dupa nu mai gaseste informatiile de la members online

Posted

Daca il aveai pe host ti-l faceam eu, asa nu stiu cum sa iti explic, ca trebuie mutat si hook-ul ultimul, in lista de hook-uri. Incearca asa :)

Daca te-am ajutat, nu uita de +1 ! Multumesc.

Posted

Nu prea are sens ce spui acum , partea de sus cu users online este de la ipb , nu este hook , si hook-ul members online today este deja ultimul din lista

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.