Hello all wonder if we can fix this, i have it half working lol
here is the code i'm using.
This is where my problem is with this template code
Find this code
Replace by
But when i do i get this
Template code above is for index_body
Can someone help me convert it to PHPBB3 instead of PUN?
like i said i have it on the home page it's just wacked out and after i get it set i'll fix the CCS so it looks good thanks for the help in advance!
here is the code i'm using.
- Code:
$(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 members</li>
<li><span>'+lastUser+'</span> Newest member</li>
<li><span>'+rdtOn+'</span> Most online</li>
');
});
This is where my problem is with this template code
Find this code
- Code:
<div class="main-content">
<div id="stats">
<p class="right">{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div>
Replace by
- Code:
<div id="stats">
<br />
<ul class="statsPers">
<li class="statHide rdtOn">Test1: {RECORD_USERS}</li>
<li class="statHide lastUser">Test2: {NEWEST_USER}</li>
<li class="statHide totalUser">Test3: {TOTAL_USERS}</li>
<li class="statHide totalPost">Teste: {TOTAL_POSTS}</li>
</ul>
<br />
</div>
But when i do i get this
Template code above is for index_body
Can someone help me convert it to PHPBB3 instead of PUN?
like i said i have it on the home page it's just wacked out and after i get it set i'll fix the CCS so it looks good thanks for the help in advance!