fraNNNta-Design

Bine a-ti venit pe fraNNNta-Design
conectarecreaza cont



Board statistics 3.1.9 Prosilver IPB style

Distribuiţi
mr.franta OnlineOffline
avatar
Veteran
Versiune : Invision
Respect : 100%
Mesaje : 3821
Like oferite : 10245
Like primite : 925
Inscris : 18/06/2011

biggri Board statistics 3.1.9 Prosilver IPB style

Mesaj Scris de mr.franta la data de Dum Ian 15, 2017 5:28 pm

Salutare prieteni,o sa va arat cum puteti schimba infatisearea statisticilor din index_body (PROSILVER). 
In toate tutorialele mele o sa va invat doar html/css pur fara a instala module sau alte lucruri.

Avem 2 imagini (inainte si dupa tutorial).

https://i.servimg.com/u/f37/14/12/03/12/before10.png
https://i.servimg.com/u/f37/14/12/03/12/statsa10.png

In ftp intrati in directorul styles/prosilver/template/index_body si ii dati upload pe ecran,dupa care ii dati open with(notepad) si cautati:

Cod:
<!-- IF S_DISPLAY_ONLINE_LIST -->
   <div class="stat-block online-list">
      <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
      <p>
         <!-- EVENT index_body_block_online_prepend -->
         {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
         <!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->
         <!-- EVENT index_body_block_online_append -->
      </p>
   </div>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
   <div class="stat-block birthday-list">
      <h3>{L_BIRTHDAYS}</h3>
      <p>
         <!-- EVENT index_body_block_birthday_prepend -->
         <!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <strong><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF -->
         <!-- EVENT index_body_block_birthday_append -->
      </p>
   </div>
<!-- ENDIF -->

<!-- IF NEWEST_USER -->
   <div class="stat-block statistics">
      <h3>{L_STATISTICS}</h3>
      <p>
         <!-- EVENT index_body_block_stats_prepend -->
         {TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}
         <!-- EVENT index_body_block_stats_append -->
      </p>
   </div>
<!-- ENDIF -->

<!-- EVENT index_body_stat_blocks_after -->

<!-- INCLUDE overall_footer.html -->


Apoi il inlocuiti cu acesta.


Cod:
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br />
<center>
   <!-- EVENT index_body_block_stats_prepend -->
         <div class="phpbb3_subiecte">{TOTAL_POSTS}</div>  <div class="phpbb3_subiecte">{TOTAL_TOPICS}</div> <div class="phpbb3_subiecte">{TOTAL_USERS}</div><div class="phpbb3_subiecte">{NEWEST_USER}</div>
         <!-- EVENT index_body_block_stats_append -->

</center>
<div class="maintitle"><h2>   {L_WHO_IS_ONLINE}</h2></div>
         <div class="forabg2">
      <table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0">


            <tr>
              <td class="row1">{TOTAL_USERS_ONLINE} <br />
                {RECORD_USERS}<br /><br />
                    {LOGGED_IN_USER_LIST}
            </td>
  </tr>
<tr>
  <td class="row1" rowspan="2">
    <div class="legenda">    <!-- IF LEGEND --><em>{LEGEND}</em><!-- ENDIF --></div>
    </td>
  </tr>
</table>



<!-- ENDIF -->





<!-- EVENT index_body_stat_blocks_after -->

<!-- INCLUDE overall_footer.html -->
</div>
</div>
</div>
</div>


Faceti upload noului template index_body

Dupa care mergem in theme si selectam stylesheet.css


si adaugam

Cod:

.forabg2{
background: #ddd5c4!important;
border: 1px solid #bbb;
box-shadow: 0px 0px 4px #fff inset;
border-radius: none!important;
padding: 8px;
margin: 2px 0px;
margin-bottom: 6px;
}

.forumline{
border: 1px solid #bbb!important;
}

.forumline td{

    background-color: #fff;
    background-image: url(https://i36.servimg.com/u/f36/11/96/49/61/backgr10.png);
    background-repeat: repeat-x;
    border: 1px solid #C4C4C4;
    border-top: solid 1px #F5F7F9!important;
   font-size: 14px;
   padding: 6px;

}



.phpbb3_subiecte{
display: inline-block;
padding: 6px 10px;
text-align: center;
min-width: 60px;
margin: 2px;
line-height: 30px;
color: #454545;
font-family: oswald;
text-transform: uppercase;
text-shadow: 0px 1px 1px white;
}

.phpbb3_subiecte strong{
display: block;
margin-top: -52px;
color: #069!important;
font-size: 16px;
letter-spacing: 1px;
}


.legenda a{
margin: 6px 2px;
padding: 2px 4px;
}



.maintitle h2 {
    background: #2c5687;
    moz-border-radius: 4px 4px 0 0;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-radius: 4px 4px 0 0;
    -webkit-box-shadow: inset 0px 1px 0 #528cbc;
    -moz-box-shadow: inset 0px 1px 0 #528cbc;
    box-shadow: inset 0px 1px 0 #528cbc;
    border-width: 1px 1px 0 1px;
    border-color: #316897;
    border-style: solid;
    color: #fff!important;
    font-size: 12px;
    line-height: 35px;
    font-weight: 300;
    position: relative;
    top: 2px;
    text-transform: uppercase;
    font-family: Verdana,Arial,sans-serif;
}


.maintitle h2:before {
    content: url(http://png-3.findicons.com/files/icons/1157/feedicons_2/16/rss.png);
    margin-right: 4px;
    position: relative;
    top: 4px;
    left: 2px;
}


Sus
Vezi profilul utilizatorului Vizualizeaza profilul

    Acum este: Lun Oct 23, 2017 9:53 pm