2017-03-17, 18:44
Description:
A new design for minimalist statistics on your forums.
Preview:
Installation steps:
1# Go to [ic]index_body[/ic] template and find the following code:
Replace with:
Closing Notes:
Ask questions here!
A new design for minimalist statistics on your forums.
Preview:
Installation steps:
1# Go to [ic]index_body[/ic] template and find the following code:
- Code:
<!-- BEGIN disable_viewonline -->
....
<!-- END disable_viewonline -->
Replace with:
- Code:
[panda=html] <!-- BEGIN disable_viewonline -->
<div class="stat-block">
<div class="box_shadow">
<h3><span style="font-size: 20px; color: #00a5cd;"><i class="fa fa-users"></i></span> <a href="/viewonline">Who is online?</a></h3><img class="img-whois" alt="Who is online?" id="i_whosonline" src="http://2img.net/i/fa/empty.gif">
{TOTAL_USERS_ONLINE}
<br><br>{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
<br> {L_CONNECTED_MEMBERS}<br />
<br>{LEGEND} : <a style="color: #FF0000" href="/g1-administrator" > Administrator </a></b>
• <b> <a style="color: #34B1C2" href="/g11-staff-supervisor" > Staff Supervisor </a></b>
• <b> <a style="color: #691F67" href="/g12-forum-staff" > Moderator </a></b>
• <b> <a style="color: #CC66CC" href="/g7-graphics-designer" > Graphics Designer </a></b>
• <b> <a style="color: #C29200" href="/g4-premium" > Premium </a></b>
</div><div class="clear123"></div>
<h3><span style="font-size: 20px; color: #00a5cd;"><i class="fa fa-bar-chart"></i></span> Statistics</h3>
<div class="Type_center"><span class="ipsType_large statsCount"><span class="FORUMCOUNTOPIC"></span></span><br><span class="ipsType_light ipsType_medium">Total Topics</span></div>
<div class="Type_center"><span class="ipsType_large statsCount"><span class="FORUMCOUNTPOST"></span></span><br><span class="ipsType_light ipsType_medium">Total Posts</span></div>
<div class="Type_center"><span class="ipsType_large statsCount"><span class="FORUMCOUNTUSER"></span></span><br><span class="ipsType_light ipsType_medium">Total Members</span></div>
<div class="Type_center"><span class="ipsType_large statsCount"><span class="FORUMONLINEUSER"></span></span><br><span class="ipsType_light ipsType_medium">Most Online</span></div>
<div class="Type_center">
<span class="statsCount">
<span class="FORUMLASTUSERLINK">
</span>
</span>
<br/>
<span class="ipsType_light ipsType_medium">Our Newest Member</span>
</div>
<style>
.information {
background: none repeat scroll 0% 0% #EBFCDF;
padding: 10px;
border: 1px solid #A4CFA4;
color: #0E440E;
line-height: 1.6;
font-size: 12px;
}
stat-block {
background: white none repeat scroll 0 0;
border-color: #e5e5e5;
border-radius: 4px;
border-style: solid;
border-width: 1px 1px 2px;
padding: 5px;
}
.box_shadow {
background: transparent none repeat scroll 0 0;
padding: 5px;
}
.Type_center {
display: inline-block;
line-height: 20px;
margin: 0 40px;
text-align: center;
}
.statsCount {
color: #00a5cd;
font-family: "Roboto",sans-serif;
font-size: 18px;
}
.stat-block h3 {
border-bottom: 3px double #00a5cd;
color: #555;
font-family: "PT Sans",Verdana,Helvetica,Arial,sans-serif;
font-size: 130%;
margin-bottom: 13px;
margin-top: 0;
padding-bottom: 8px;
padding-left: 13px;
padding-top: 1px;
}
.clear123 {
background: rgba(0, 0, 0, 0) url("http://i.imgur.com/azy4QRc.png") no-repeat scroll 0 0;
margin-top: 20px;
padding: 10px;
}
.stat-block p {
padding-left: 33px;
}
#new-mes {
background: rgb(107, 166, 94) none repeat scroll 0 0;
border-radius: 2px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) inset;
color: #fff;
display: inline-block;
font-size: 12px;
font-weight: bold;
margin-left: 10px;
padding: 2px 5px;
text-transform: uppercase;
}
#new1-mes {
background: #59b329 none repeat scroll 0 0;
border-radius: 100%;
color: white;
display: inline-block;
font-size: 20px;
height: 35px;
left: 20px;
position: absolute;
text-align: center;
width: 35px;
}
#new1-mes i, #old-mes i {
line-height: 35px;
}
#old-mes {
background: #20aae5 none repeat scroll 0 0;
border-radius: 100%;
color: white;
display: inline-block;
font-size: 20px;
height: 35px;
left: 20px;
position: absolute;
text-align: center;
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
width: 35px;
}</style><!-- END disable_viewonline -->
Closing Notes:
Ask questions here!