Statistici punBB ca in imagine
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Re: Statistici punBB ca in imagine
Dute in index_body si cauta
Inlocuieste codul cu
Si in css
- Cod:
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<p class="right">{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div>
<div id="onlinelist">
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
{L_WHO_IS_ONLINE}
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
<p>{LEGEND} : {GROUP_LEGEND}</p>
</div>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
</div>
</div>
<!-- END disable_viewonline -->
Inlocuieste codul cu
- Cod:
<!-- BEGIN disable_viewonline -->
<script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<div style="text-align: center; margin-top: 10px; margin-bottom: 10px;">
<span class="boxonline">
<span class="FORUMCOUNTPOST"></span></span> Total Posts
<span class="boxonline">
<span class="FORUMCOUNTOPIC"></span></span> Total Topics
<span class="boxonline">
<span class="FORUMONLINEUSER"></span></span> Most Online
<span class="boxonline">
<span class="FORUMCOUNTUSER"></span></span> Total Members
<span class="boxonline">
<span class="FORUMLASTUSERLINK"></span></span> Newest Member
</div>
</div>
<div id="onlinelist">
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow"><img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" /></a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}</p>
<p style="margin-top: 5px;">{LOGGED_IN_USER_LIST}</p>
<div class="clear"></div>
</div>
<div id="onlinelist">
<p class="right">{GROUP_LEGEND}</p>
<p>{RECORD_USERS}</p>
<p style="margin-top: 5px;">{L_CONNECTED_MEMBERS}</p>
<div class="clear"></div>
</div>
</div>
</div>
<!-- END disable_viewonline -->
Si in css
- Cod:
.boxonline {
margin-left: 20px;
padding: 4px 10px;
background: #fff;
border: 1px solid #ddd;
}
#onlinelist img {
height: 35px;
}
Re: Statistici punBB ca in imagine
@JunckY - lasa-mi in PM link unde ai vazut stats alea + link catre forumul tau.
Re: Statistici punBB ca in imagine
Stiu ca nu e FG, dar eu pot face ca acolo :>.
Deci astept PM. daca vr sa te ajut.
Deci astept PM. daca vr sa te ajut.
Re: Statistici punBB ca in imagine
Revin cu edit .
Edit:
Codul CSS:
index_body ~> Cauti:
Edit:
Codul CSS:
- Cod:
index_body ~> Cauti:
- Cod:
<!-- BEGIN disable_viewonline --> si <!-- END disable_viewonline -->
- Cod:
<!-- BEGIN disable_viewonline -->
<script type="text/javascript">
//<![CDATA[
/*
* Statistici IP.Board pentru forumgratuit cu ajutorul jQuery.
* Coduri create de StaarK*
* www.bitcoding.biz
*/
jQuery().ready(function($){
$('div#board_stats > ul').each(function (a, b){
$('li:eq(0) span.value', b).html($('li:eq(0) span.value strong', b).text());
$('li:eq(1) span.value', b).html($('li:eq(1) span.value strong', b).text());
$('li:eq(2) span.value', b).html($('li:eq(2) span.value strong:eq(0)', b).html());
$('li:eq(3) span.value', b).html($('li:eq(3) span.value strong', b).text());
});
$('div#board_statistics').each(function (a, b){
a=$('h4.statistics_head', b).text().match(/\d+/);
$('h4.statistics_head', b).html(a+' users are online (in the past 60 minutes)');
$('p.statistics_brief', b).html($('p.statistics_brief', b).text().split(": ")[1]).text();
});
$('div#board_statistics p.statistics_brief + p').each(function (a, c){
c.innerHTML=c.innerHTML.replace(/\<br\>(\w*) (\w*):/gi, "<br />");
});
$('div#legenda').each(function (a, d){
d.innerHTML=d.innerHTML.replace(/\[|\]/g, '');
$('b + b', d).before(" | ");
});
});
//]]>
</script>
<div id="board_stats">
<ul class="ipsType_small ipsList_inline">
<li class="clear">
<span class="value">{TOTAL_POSTS}</span>
Total Posts
</li>
<li class="clear">
<span class="value">{TOTAL_USERS}</span>
Total Members
</li>
<li class="clear">
<span class="value">{NEWEST_USER}</span>
Newest Member
</li>
<li class="clear" data-tooltip="" id="anonymous_element_2">
<span class="value">{RECORD_USERS}</span>
Most Online
</li>
</ul>
</div>
<div id="board_statistics" class="statistics clearfix">
<ul id="stat_links" class="ipsList_inline right ipsType_small">
<!-- Hook point -->
<li><a href="#" title="View the moderating team">The Moderating Team</a></li>
<li><a href="#" title="View today's top 20 posters">Today's Top Posters</a></li>
<li><a href="#" title="View the board's overall top posters">Overall Top Posters</a></li>
<li><a href="#">Most Liked Content</a>
</li>
</ul>
<h4 class="statistics_head">{TOTAL_USERS_ONLINE}</h4>
<p class="statistics_brief desc">{TOTAL_USERS_ONLINE}</p>
<p>{LOGGED_IN_USER_LIST}</p>
</div>
<div id="legenda">{GROUP_LEGEND}</div>
<!-- END disable_viewonline -->
Ultima editare efectuata de catre JumPeR'n # in Sam Iun 21, 2014 7:36 pm, editata de 1 ori
Re: Statistici punBB ca in imagine
Arata deformat , cred ca din cauza ca nu ai pus CSS , il poti adauga ?
Re: Statistici punBB ca in imagine
Scuze
- Cod:
#board_stats ul {
text-align: center;
}
#board_stats li {
margin-right: 20px;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
#board_stats .value {
display: inline-block;
background: #212121;
color: #c2c2c2;
padding: 4px 6px 2px;
font-weight: bold;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-right: 3px;
}
a.value, span.value {
border: 1px solid #3B3B3B !important;
}
div#board_stats > ul li {
display: initial;
font-size: 11px;
line-height: initial;
clear: both;
}
div#legenda {
font-family: Verdana,Arial,Helvetica,sans-serif!important;
font-size: 13px!important;
font-weight: bold!important;
padding-top: 15px!important;
}
div#board_statistics {
border: 1px solid #212121!important;
border-radius: 10px!important;
}
.statistics {
margin: 20px 0 0 0;
padding: 10px 15px;
line-height: 1.3;
overflow: hidden;
}
.right {
float: right;
}
.statistics_head {
font-size: 14px;
font-weight: bold;
}
.desc, .desc.blend_links a, p.posted_info {
font-size: 12px;
color: #606060;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
Pagina 1 din 2 • 1, 2
Subiecte similare
» Statistici punBB ca in imagine
» Statistici punBB ca in imagine
» Statistici personalizate ca in imagine [punBB]
» din: Statistici forum [punBB]
» Cerere Statistici Punbb
» Statistici punBB ca in imagine
» Statistici personalizate ca in imagine [punBB]
» din: Statistici forum [punBB]
» Cerere Statistici Punbb
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum