Posted April 24th 2013, 5:54 pm
hey, i installed some codes in forum to make the statistics look like IpBoard. The codes i used are here:
CSS:
JS:
Templates => Index_Box:
the result is good, but the only problem ive got is that the "Newest Member" name is doubled. In the pic it says [Newest Memeber: MasterslyMastersly] Its the same if its [Newest Member: MarkMark]. Can i change that? i didnt find something wrong in the codes :S
Forum URL: www.myplanet.forumgreek.com
CSS:
- Code:
.boxed{
border: 1px solid #cccacc;
padding: 3px 7px;
background: #ededed;
color: #000000;
box-shadow: inset 0 0 5px #cccacc;
border-radius: 2px;
}
.nlgcode{
padding:12px 0px;
text-align:center;}
.newspan{
padding:0 10px;
}
JS:
- Code:
$(document).ready(function(){
var a = $('.new1 strong').text();
var b = $('.new2 strong').text();
var c = $('.new3 strong').text();
var d = $('.new4 strong').text();
$('.new1').html('<span class="boxed">'+a + '</span> Συνολικά μηνύματα');
$('.new2').html('<span class="boxed">'+ b +'</span> Συνολικά μέλη');
$('.new3').html('<span class="boxed">'+ c + '</span> Νεότερο μέλος');
$('.new4').html('<span class="boxed">'+ d + '</span> Ρεκόρ ταυτόχρονων συνδέσεων ');
});
Templates => Index_Box:
- Code:
<div style="margin:auto;text-align:center;width:100%"><tr>
<td class="gensmall nlgcode">
<span class="new1 newspan">{TOTAL_POSTS}</span>
<span class="new2 newspan">{TOTAL_USERS}</span>
<span class="new3 newspan">{NEWEST_USER}</span>
<span class="new4 newspan">{TOTAL_USERS_ONLINE}</span>
</td>
</tr></div>
the result is good, but the only problem ive got is that the "Newest Member" name is doubled. In the pic it says [Newest Memeber: MasterslyMastersly] Its the same if its [Newest Member: MarkMark]. Can i change that? i didnt find something wrong in the codes :S
Forum URL: www.myplanet.forumgreek.com