Pagina 1 di 1

Rimozione delle statistiche

Inviato: 11/10/2015, 15:24
da giovannib
Salve a tutti,
ho la necessità di rimuovere le statistiche che compaiono nel footer. Uso il tema "prosilver" e ho già agito sul file "index_body.html" elimanando l'ultimo pezzo di codice ma le statistiche rimangono visibili.

Come fare?
Mille grazie

Re: Rimozione delle statistiche

Inviato: 11/10/2015, 15:38
da alex75
dipende come vuoi farlo; se manualmente o tramite estensione.
dipende anche se vuoi eliminarla o visualizzarla solo agli admin o oscurarla solo ai nuovi utenti etc etc.
comunque in index_body.html la parte di codice è questa.

Codice: Seleziona tutto

<!-- IF NEWEST_USER -->
	<div class="stat-block statistics">
		<h3>{L_STATISTICS}</h3>
		<p>
			<!-- EVENT index_body_block_stats_prepend -->
			{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
			<!-- EVENT index_body_block_stats_append -->
		</p>
	</div>
<!-- ENDIF -->
Se invece intendessi tutto il blocco delle statistiche compreso il "chi è in linea"
allora la parte di codice è questa:

Codice: Seleziona tutto

<!-- 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} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
			<!-- EVENT index_body_block_stats_append -->
		</p>
	</div>
<!-- ENDIF -->

Re: Rimozione delle statistiche

Inviato: 11/10/2015, 16:10
da giovannib
Si Grazie. Avevo già provato ad eliminare

Codice: Seleziona tutto

<!-- IF NEWEST_USER -->
   <div class="stat-block statistics">
      <h3>{L_STATISTICS}</h3>
      <p>
         <!-- EVENT index_body_block_stats_prepend -->
         {TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
         <!-- EVENT index_body_block_stats_append -->
      </p>
   </div>
<!-- ENDIF -->
dall'index_body.html ma le statistiche continuano ad essere visibili. Non capisco perchè.

Il mio scopo appunto è quello di non rendere visibili agli utenti le statistiche. La parte "Chi c'è online" l'avevo già tolta tramite board

Re: Rimozione delle statistiche

Inviato: 11/10/2015, 18:53
da brunino
Svuota la cache dalla home del PCA

Inviato dal mio MotoE2(4G-LTE) utilizzando Tapatalk

Re: Rimozione delle statistiche

Inviato: 12/10/2015, 0:35
da giovannib
brunino ha scritto:Svuota la cache dalla home del PCA
Stavo uscendo pazzo. Alla fine era proprio quello il problema. La cache