PM box Status percentage bar

Feed - phpBB3
Rispondi
Tiger
Provetto del Forum
Provetto del Forum
Messaggi: 76
Iscritto: giovedì 26 maggio 2011, 16:22
Località: Roma

PM box Status percentage bar

Messaggio da Tiger » sabato 7 gennaio 2012, 23:07

PM box Status percentage bar, ovvero:
Barra Percentuale Casella Messaggi Privati.

Autore:
Stitch626, DrAcid & Stoker

Fonte: http:// PM box Status percentage bar

Descrizione:
Visualizza una barra colorata stato nella vostra casella di posta PM che cambia colore a seconda di quanto spazio PM hai lasciato nella cartella.

Piattaforma:
phpBB 3.0.x (Tutte le Versioni, compresa la 3.0.10)

Stili Compatibili:
prosilver/subsilver2

Inizio Guida:
Apri:
subsilver2/template/ucp_pm_message_header.html
Cerca:

Codice: Seleziona tutto

<td class="gensmall" nowrap="nowrap" width="100%">&nbsp;[ <b>{FOLDER_CUR_MESSAGES}</b>/{FOLDER_MAX_MESSAGES} {L_MESSAGES} ({FOLDER_PERCENT}%) ]&nbsp;</td><td class="gensmall" nowrap="nowrap" width="100%">&nbsp;[ <b>{FOLDER_CUR_MESSAGES}</b>/{FOLDER_MAX_MESSAGES} {L_MESSAGES} ({FOLDER_PERCENT}%) ]&nbsp;</td>
Sostituisci con:

Codice: Seleziona tutto

<td class="gensmall" nowrap="nowrap" width="100%">&nbsp;[ <b>{FOLDER_CUR_MESSAGES}</b>/{FOLDER_MAX_MESSAGES} {L_MESSAGES}]<br /><div><div style="background:url(images/green_bar.png) repeat-x; background-color: #33ff00; border: 1px solid black; width:50%; margin-top: 2px;"><div style="background:url(images/red_bar.png) repeat-x;background-color: #ff0000; color: white; font-weight:bold; max-width:100%;  width:{FOLDER_PERCENT}%; height:18px;"><div align="center">({FOLDER_PERCENT}%)</div></div></div></div>&nbsp;</td>
Prosilver:
Apri styles/prosilver/template/ucp_pm_message_header.html
Cerca:

Codice: Seleziona tutto

<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p>{FOLDER_STATUS}</p><!-- ENDIF -->
Sostituisci con:

Codice: Seleziona tutto

<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p style="float:left;">{FOLDER_STATUS}</p><div style="float:right; background:url(images/green_bar.png) repeat-x; background-color: #cccccc; border: 1px solid black; width:200px;"><div style="background:url(images/red_bar.png) repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{FOLDER_PERCENT}%; height:18px;"></div></div><br style="clear:both" /><!-- ENDIF -->
Carica le due immagini allegate nella cartella images del tuo Forum
percentag_bar.zip
(860 Byte) Scaricato 79 volte



Rispondi

Torna a “phpBB3”