Jump to content

Message counter view

Featured Replies

Screenshot_1.png.425faaf2d4c3bf7af9ef016a1a140a05.png

Templates > forums > index > forumRow, we find:

<dl>
{{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}}
<dt class="ipsDataItem_stats_number">{number="$count"}</dt>
<dd class="ipsDataItem_stats_type ipsType_light">{lang="posts_no_number" pluralize="$count"}</dd>
</dl>

Replace with:

<dl>
{{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}}
<dt class="ipsDataItem_stats_number"><i class="fa fa-envelope-o" data-ipstooltip="" _title="{number="$count"} сообщений"></i> {number="$count"}</dt>
</dl>

CSS > core > front > custom > custom.css and add to the very bottom:

.ipsDataItem_statsLarge .ipsDataItem_stats_number {
    background: rgba(244, 244, 244, 0.63);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(115, 115, 115, 0.44);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(194, 194, 194, 0.7);
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0px 0px 0px 1px rgba(255,255,255,0.05), inset 0 1px 3px rgba(0,0,0,0.7);
    font-size: 15px;
    border-radius: 3px;
    max-width: 60px;
    padding: 10px;
    font-weight: 300;
    line-height: 1.3;
}

 

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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. to insert a cookie message.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.