Extrem Tutorials
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Extrem TutorialsConectare

Peste 500 tutoriale in limba romana.


descriptionModificare index la subsol EmptyModificare index la subsol

more_horiz
Salut cum fac si eu ca aici: [Trebuie sa fiti inscris si conectat pentru a vedea acest link]

Sa fie statisticile in chenar cu acel link catre grupul de administratori (Administrating Team)

Si sa fie ca acolo inregistrati, invizibili, vizitatori
si sub ele sa scrie apara cei online ca acolo.

Versiune PunBB

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Adauga in javascript:

Cod:

/*
* Copyright (c) AvacWeb.com
* All right reserved.
* Code created by LGforum
* Version: pHpBB3
*/
$(function(){
  var on = document.getElementById('i_whosonline');
  if(!on) return;
  on = on.nextSibling;
  on.innerHTML = on.innerHTML.replace(/(<br\s?\/?>).*?\1/, '');
});
/*
* Copyright (c) 2012. Extream-Suport.tk. All right reserved.
* Code created by InFeRn0.
* Version: pHpBB3
*/
$(function() {
$('<div id="board_statistics" class="statistics clearfix"><ul id="stat_links" class="ipsList_inline right ipsType_small"><!-- Hook point --><li><a href="#" title="Vezi echipa de gestionare">Echipa de gestionare</a></li><li><a href="#" title="Vezi top 20 respondenți de astăzi">Top 20 respondenți de astăzi</a></li><li><a href="#" title="Vezi top general respondenți ai siteului">Top general respondenți</a></li><li><a href="#"> Most Liked Content</a></li></ul><h4 class="statistics_head"></h4><p class="statistics_brief desc"></p><br></div>').insertAfter(".forabg + .linklist");
$('#i_whosonline + p br:first').after('<br />');
$('#i_whosonline + p').appendTo('.statistics_brief.desc');
$('em').remove();
$(".page-bottom").remove();
$('#board_statistics').before($('#board_stats'));
});


Amplasare: Index

In CSS:

Cod:

.statistics {
margin: 20px 0 0 0;
padding: 10px 0;
border-top: 3px solid #D8D8D8;
line-height: 1.3;
overflow: hidden;
}
.right {
float: right;
}
.ipsType_small {
font-size: 10px;
color: #225985;
text-decoration: none;
}
#stat_links li {
display: inline;
margin-left: 10px;
}
div.clear + div.h3 {
display: none;
}
.statistics_brief.desc p {
font-size: 10px !important;
color: #777;
}
.linklist {
display: none;
}
#board_statistics + .h3 {
display: none;
}
#board_stats ul {
text-align: center;
}
#board_stats li {
margin-right: 20px;
display: inline;
}
#board_stats .value {
display: inline;
background: #E2E2E2;
color: #4A4A4A;
padding: 2px 6px;
font-weight: bold;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
margin-right: 3px;
}
#board_stats {
margin-top: 20px;
}
.panel.introduction {
position: absolute;
width: 0px;
height: 0px;
background: transparent;
}


In generalitati:

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>


Acest cod a fost facut de Inferno si de AvacWeb

Modificare index la subsol Dovada12

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Nu functioneaza, deoarece acel forum este phpBB nu este punBB. Eu am spus ca am versiunea punBB si din acea cauza nu cred ca merge.

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Soricelul a scris:
Nu functioneaza, deoarece acel forum este phpBB nu este punBB. Eu am spus ca am versiunea punBB si din acea cauza nu cred ca merge.

Adaugat in css-ul in foaia de still css...si apoi adauga cod-ul acela html in index_body la sfarsit...

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
WhatsUp™ a scris:
Soricelul a scris:
Nu functioneaza, deoarece acel forum este phpBB nu este punBB. Eu am spus ca am versiunea punBB si din acea cauza nu cred ca merge.

Adaugat in css-ul in foaia de still css...si apoi adauga cod-ul acela html in index_body la sfarsit...


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>


Acest cod in index_body

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
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 ?

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Merge dar cum scot urmatoarele din subsolul paginii:
Cel mai nou membru este: cutarescu
Avem x membri inregistrati
Recordul de utilizatori conectati a fost de x, luni xx ianuarie - xx:xx
Membrii nostri au postat un numar de x mesaje

Vreau sa ramana:
In total este y utilizator conectat: y Inregistrati, y Invizibil si y Vizitatori
tilizatori inregistrati: cutarita
Membrii conectati in decursul ultimelor y ore: cutarita
Legenda: .....

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Va rog sa adaugati forumul la profil pentru a vedea despre ce este vorba!

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Adaugat!

Uitati merge codul dar vreau sa numai apara statisticile si in scris dar vreau sa apara legenda, cei conectati in ultimele 24 de ore, membri care sunt online si vizitatorii, inregistrati etc. Numai statisticile care s-au pus in chenar vreau sa numai apara si in scris adica cum apareau normal....

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Soricelul a scris:
Adaugat!

Uitati merge codul dar vreau sa numai apara statisticile si in scris dar vreau sa apara legenda, cei conectati in ultimele 24 de ore, membri care sunt online si vizitatorii, inregistrati etc. Numai statisticile care s-au pus in chenar vreau sa numai apara si in scris adica cum apareau normal....

Te rog sa postezi index_body !

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz

Cod:

{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}

<!-- 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 class="legend">{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 -->

<!-- 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">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

<div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div>

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Modifica tot index_body cu acesta:

Cod:

{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}

<!-- 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 />
        <br />
        {LOGGED_IN_USER_LIST}
        {L_ONLINE_USERS}
        {L_CONNECTED_MEMBERS}<br /></p>
        <div class="clear"></div>

        <p class="legend">{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 -->

<!-- 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">
//<![CDATA[
FB.init({
  appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

<div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div><div id="parte">Minibanner</div>

Si Css:

Cod:

#stats {
display:none
}

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Multumesc foarte mult WhatsUp, Mitza, Wanse pentru efortul depus si ajutorul acordat. Puteti da T/C. Rezolvat!

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
Rezolvat=>Inchis!

descriptionModificare index la subsol EmptyRe: Modificare index la subsol

more_horiz
privacy_tip Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum