Posted August 13th 2013, 10:14 pm
Hello {USERNAMELINK}! I need help... I don't really know where to put this thread but I'm pretty sure it uses javascript?
SO here's the screenshot:
Source: here
SO here's the screenshot:
Source: here
Message (Page 1 of 1)
Posted August 13th 2013, 10:14 pm
Posted August 13th 2013, 10:21 pm
Posted August 14th 2013, 7:57 pm
$(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
$('ul.statsPers').prepend('
<li><span>'+totalPost+'</span> Total Posts</li>
<li><span>'+totalUser+'</span> Total Member</li>
<li><span>'+lastUser+'</span> Newest Member</li>
<li><span>'+rdtOn+'</span> Most Online</li>
');
});
{BOARD_INDEX}
<div id="statistics">
<br />
<ul class="statsPers">
<li class="statHide totalPost">Total Posts: {TOTAL_POSTS}</li>
<li class="statHide totalUser">Total Members: {TOTAL_USERS}</li>
<li class="statHide lastUser">Newest Member: {NEWEST_USER}</li>
<li class="statHide rdtOn">Most Online: {RECORD_USERS}</li>
</ul>
<br />
</div>
#statistics {
padding-left: 0 !important;
}
Message (Page 1 of 1)
Similar topics
Permissions in this forum:
You cannot reply to topics in this forum
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest
Users browsing this forum: None