Adaugare statistici stil ipb
Pagina 1 din 1 • Distribuiţi
Adaugare statistici stil ipb
La multi ani,
Dupa ce in topicul precedent am inlocuit un index_body personalizat care avea statistici cum doream cu altul personalizat pentru distantarea categoriilor, am ramas fara statisticile ipb. Acum sunt nevoit sa apelez (din nou) la mintile voastre mai rasarite.
Script categorii distantate (cel pe care il folosesc acum):
Script statistici ca pe ipb:
Deci as vrea sa le combin si sa le am pe ambele, exact ca onegaming. Acum am fost mai explicit, baieti? Cassius, can you help me, now?
Dupa ce in topicul precedent am inlocuit un index_body personalizat care avea statistici cum doream cu altul personalizat pentru distantarea categoriilor, am ramas fara statisticile ipb. Acum sunt nevoit sa apelez (din nou) la mintile voastre mai rasarite.
Script categorii distantate (cel pe care il folosesc acum):
- Cod:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="forabg-ipb"><div class="main-head">
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="padding-top: 0.8%!important;margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
{catrow.forumrow.FORUM_DESC}
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td class="tc2">{catrow.forumrow.TOPICS}</td>
<td class="tc3">{catrow.forumrow.POSTS}</td>
<td class="tcr">
<div class="avs"><span><p>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</p></span></div>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot --></div>
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
Script statistici ca pe ipb:
- Cod:
<style type="text/css">
.board-title-line ul {margin-top: -23px;}
.tabActive {
background: black;
padding: 5px;
margin-top: -7px;
}
.tabInactive {
padding: 5px;
margin-top: -7px;
}
</style>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.dashboard_body').css({display: 'none'});
jQuery('.tabContent a:first').addClass('current');
var rel = jQuery('.dashboard_tabs a.current').attr('rel');
jQuery('#'+rel).show();
jQuery('.dashboard_tabs a').click(function(){
jQuery('.tabHeaders a').removeClass('current');
jQuery('.tabContent').hide();
jQuery(this).addClass('current');
var rel = jQuery(this).attr('rel');
jQuery.cookie('active_tab', rel);
jQuery('#'+rel).show();
});
});
$(document).ready(function(){
$("#test_pages").find("div").hide();
$("#test_tab1").addClass("tabActive");
$("#test_tab1Content").show();
$(" #test_tab1,#test_tab2,#test_tab3").click(function(){var oldTab = "#"+ $("#test_tabHeaders").find(".tabActive").attr("id");
$(oldTab).removeClass("tabActive");
$(this).addClass("tabActive");
var newTab ="#"+$(this).attr("id")+"Content";$(oldTab+"Content").hide();$(newTab).fadeIn();});});</script>
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
<li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
</ul>
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->
<!-- BEGIN message_admin_index -->
<div class="main">
<!-- BEGIN message_admin_titre -->
<div class="main-head">
<h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div id="pun-announcement">
<p>{message_admin_index.message_admin_txt.MES_TXT}</p>
</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<div id="board_stats">
<ul class="ipsType_small">
<li><span class="FORUMCOUNTPOST"></span> Total Posturi</li>
<li><span class="FORUMCOUNTUSER"></span> Total Memberi</li>
<li><span class="FORUMLASTUSER"></span> Membru Nou</li>
<li><span class="FORUMONLINEUSER"></span> Record Online</li>
</ul>
</div>
<!-- BEGIN disable_viewonline -->
<div class="board-title-line"><p>
<div class="tabHeaders" id="test_tabHeaders">
<table><tr><td><div id="test_tab1" class="tabInactive tabActive" style="cursor: pointer;">Cine este online?</div></td><td><div id="test_tab2" class="tabInactive" style="cursor: pointer;">Parteneri</div></td></tr></table>
</div></p><ul><li><a href="/search?search_id=activetopics">Subiectele active ale zile</a></li><li><a href="/memberlist?mode=today_posters">Top 20 al postatorilor zilei</a></li><li><a href="/memberlist?mode=overall_posters">Top 20 al postatorilor forumului</a></li></ul></div>
<div id="pun-info-ipb" class="main">
<div class="main-content" style="padding:7px;">
<div id="test_pages" class="tabPages">
<div class="tabContent" id="test_tab1Content" style="display: block;">
<p>{TOTAL_USERS_ONLINE}
<div id="etAvOnline">
{LOGGED_IN_USER_LIST}
</div>
<br>{L_ONLINE_USERS}</br>
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
<p>{LEGEND} : {GROUP_LEGEND}</p>
</div>
<style type="text/css">
.parteneri { 900px; margin: 0 auto;}
.row14 {border: 1px solid #222;padding: 2px;}
</style>
<div class="tabContent" id="test_tab2Content" style="display: block; ">
<table class="parteneri" cellspacing="6">
<tr>
<td class="row14"><a href="http://redgames.taro.tv"><img src="http://i46.tinypic.com/309t0d1.gif" /></a></td>
<td class="row14"><a href="http://wtfcs-cs.forumgratuit.ro/"><img src="http://i.imgur.com/0a6Aank.gif" /></a></td>
<td class="row14"><a href="http://vip-gaming.forumz.ro"><img src="http://i.imgur.com/b4XjeNK.gif" /></a></td>
<td class="row14"><a href="http://llg-cstrike.forumer.ro"><img src="http://i1138.photobucket.com/albums/n540/Scoons1996/Llg-cstrike-Community2.gif" /></a></td>
<td class="row14"><a href="http://virtualcs.forumers.ro/"><img src="http://i57.servimg.com/u/f57/18/56/43/50/x4ibn110.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
</tr>
<tr>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
<td class="row14"><a href="#"><img src="http://i.imgur.com/bblWbwd.gif" /></a></td>
</tr>
</table>
</div>
</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 -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
http://<![CDATA[
FB.init({
appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
http://]]>
</script>
<!-- END switch_fb_index_login -->
Deci as vrea sa le combin si sa le am pe ambele, exact ca onegaming. Acum am fost mai explicit, baieti? Cassius, can you help me, now?
Re: Adaugare statistici stil ipb
Avand in vedere ca in ultimele 2 saptamani autorul nu a mai aratat interes pentru acesta problema, topicul va fi inchis si trimis in cos. Daca problema nu a fost rezolvata, va invitam sa deschideti un nou topic, in sectiunea corespunzatoare si avind un titlu explicit.
Subiecte similare
» Adaugare profil stil IPB!
» Adaugare text in statistici
» Member Title stil IPB
» Online User stil IPB
» Foaie De stil CSS
» Adaugare text in statistici
» Member Title stil IPB
» Online User stil IPB
» Foaie De stil CSS
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum