Jump to content

Problema Statistici


Alexandru C.

Recommended Posts

  • Moderators

Posteaza tot codu folosit in boardIndexTemplate de la:

<div id='board_stats'>
      <!-- Tot codu de aici -->
</div>

Poate ordinea nu e bine setata acolo.

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

Posteaza tot codu folosit in boardIndexTemplate de la:

<div id='board_stats'>
      <!-- Tot codu de aici -->
</div>

Poate ordinea nu e bine setata acolo.

<div id='board_stats'>		
		<ul class='ipsType_small ipsList_inline'>
			<li class='clear'>
				{$this->lang->words['total_posts']}
                                <span class='value'>{$stats['info']['total_posts']}</span>
				
			</li>
			<li class='clear'>
				{$this->lang->words['total_members']}
                                <span class='value'>{$stats['info']['mem_count']}</span>
				
			</li>
			<li class='clear'>
				{$this->lang->words['newest_member']}
                                {IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}
				
			</li>
			<li class='clear' data-tooltip="{$stats['info']['most_time']}">
				{$this->lang->words['online_at_once']}
                                <span class='value'>{$stats['info']['most_online']}</span>
				
			</li>
		</ul>
	</div>
</if>
<div id='board_statistics' class='statistics clearfix'>
	<h4 class='statistics_head clearfix'><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'>
		{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']">
		<br />
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>					
		</p>
	</if>
</div>
 

 a lot of bla bla bla...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.