Transformation forum statistics 3.4.1 as from 3.1

by BebeGFX - 08-06-2015, 10:51 AM
Closed Account
Posts:
76
Joined:
Jun 2015
Likes:
7
Credits:
65
Reputation:
0
2 Years of Service
#1
OP
Posted: 08-06-2015, 10:51 AM
In case we want to change the style of a forum statistics

 
[Image: ehRGo78.png]
 
 
 
AdminCP > Look & Feel > [Skin] > Board Index > boardIndexTemplate. Search
 
ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" ); </if> </if> </foreach> </if> </foreach> </if> //]]> </script>
 

And replace everything below the
Code:
 
<div class='boxOut'><div class='boxIn'> <h4 class='maintitle clearfix'> <img style="position: relative; margin: -2px 3px -2px 0;" alt="" src="http://www.pcaraci.com/public/style_images/baisik/icon_usersonline.png"> <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> <div id='board_statistics' class='statistics clearfix' style='border:0; margin: 0;'> <div style='position: relative; padding-right: 271px; min-height: 104px;'> <div class='idxStats'> <ul> <li class='clear'> <strong>{$this->lang->words['total_posts']}</strong> <span class='value'>{$stats['info']['total_posts']}</span> </li> <li class='clear'> <strong>{$this->lang->words['total_members']}</strong> <span class='value'>{$stats['info']['mem_count']}</span> </li> <li class='clear'> <strong>{$this->lang->words['newest_member']}</strong>{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']}"> <strong>{$this->lang->words['online_at_once']}</strong> <span class='value'>{$stats['info']['most_online']}</span> </li> </ul> </div> </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></div></div></div>
 
 
 
AdminCP > Look & Feel > Skin > tabul CSS > ipb_styles.css
 

And add all down

 
Code:
.idxStats {
position:absolute; right: -8px; top: -8px;
bottom: -8px;
border-left:1px solid #EAEAEA;
background: #feffff;
width:270px;
font-size:11.2px
}
.idxStats ul {margin:0;padding:0} .idxStats li {display:block;padding:8px 0 8px 15px;margin:0;border-bottom:1px solid #EAEAEA;overflow:hidden} .idxStats li strong {float:left;width:110px;font-weight:bold}
 
Where we chan change:
 
Code:
border-left:1px solid #EAEAEA;
background: #feffff;
 
.Depending on the style that we use[Image: smile.png]
Novice
Posts:
36
Joined:
Jun 2015
Likes:
1
Credits:
3
Reputation:
0
2 Years of Service
#2
Posted: 16-08-2015, 06:15 PM
please tutorials for ips4
Novice
Posts:
31
Joined:
Sep 2015
Likes:
2
Credits:
10
Reputation:
0
1 Year of Service
#3
Posted: 03-10-2015, 08:43 PM
forum statistics in this forum
It looks like
Newbie
Posts:
15
Joined:
Dec 2016
Likes:
0
Credits:
7
Reputation:
0
1/2 Year of Service
#4
Posted: 04-12-2016, 01:04 PM
awesome thing, tnx for it!
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)