Mda, acelasi cod mi-a dat si mie multa bataie de cap, uite rezolvare:
HTML:
Cod:
<div id="board_stats"><ul class="ipsType_small ipsList_inline"><li class="clear"><span class="value" style="font-size: 12px;">{FORUMCOUNTPOST}</span> Total posturi</li><li class="clear" style="font-size: 12px;"><span class="value" style="font-size: 12px;">{FORUMCOUNTUSER}</span> Total membrii</li><li class="clear"><span class="value" style="font-size: 12px;">{FORUMLASTUSERLINK}</span> Cel mai nou membru</li><li class="clear" data-tooltip="{FORUMONLINEDATE}"><span class="value" style="font-size: 12px;">{FORUMONLINEUSER}</span> Cei mai mulți conectați</li></ul></div>
Si il pui in Generalitati, iar apoi pui in JS:
Cod:
/*
* Copyright (c) AvacWeb.com
* All right reserved.
* Code created by LGforum
* Version: pHpBB3
*/
$(function(){
var on = document.getElementById('.statistici');
if(!on) return;
on = on.nextSibling;
on.innerHTML = on.innerHTML.replace(/(<br\s?\/?>).*?\1/, '');
});
/*
* Copyright (c) CD-Forum.net
* All right reserved.
* Code created by ionuz (InFeRn0)
* Version: pHpBB3
*/
$(function() {
$('<div id="board_statistics" class="statistics clearfix"><ul id="stat_links" class="ipsList_inline right ipsType_small"><!-- Hook point --></ul><h4 class="statistics_head"></h4><p class="statistics_brief desc"></p></div>').insertBefore("#pun-about");
$('#i_whosonline + p br:first').after('');
$('#pun-about').appendTo('.statistics_brief.desc');
$('em').remove();
$(".page-bottom").remove();
$('#board_statistics').before($('#board_stats'));
});
Si la css pui acelasi cod ca si cel dat de Wanse.
Rezolvat ?