Jump to content
WebFlake

Custom Forum Posts & Topics Stats


-Cookie-

Recommended Posts

1. Go to:
ACP > Looks and Feel > Skin Name > Board Index > boardIndexTemplate
 
2. Find:
<td class='col_c_stats ipsType_small'>                                                    <ul>                                                        <li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>                                                        <li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>                                                    </ul>                                                </td>
 
3. Replace With:
<td style='width: 7%;'><span class='nstatsNumber'>{$forum_data['topics']}</span><span class='nstatsText'>{$this->lang->words['topics']}</span></td><td style='width: 7%;'><span class='nstatsNumber'>{$forum_data['posts']}</span><span class='nstatsText'>{$this->lang->words['replies']}</span></td>
 
4. Go to:
ACP > Looks and Feel > Skin Name > CSS > ipb_styles.css
 
5. Add:
.nstatsNumber, .nstatsText {display: block;text-align: center;color: black;line-height: 23px;text-transform: uppercase;font-size: 16px;}.nstatsText {color: black;font-size: 11px;}
 
Before:

Posted Image

 
After:

Posted Image

  • Upvote 5
  • Downvote 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...