Aggiornare Versione Stile

Area dedicata alle Guide
Regole del forum
Immagine
Bloccato
Styles Robot
Styles Coda Bot
Styles Coda Bot
Messaggi: 93
Iscritto il: 9 nov 2012, 18:13
Località: phpbb3world

Aggiornare Versione Stile

Messaggio da Styles Robot » 4 nov 2012, 17:24

Aggiornare Versione Stile

Molti utenti utilizzano template per phpBB3 differenti da prosilver o subsilver2 che sono i 2 stili inclusi nel pacchetto originale di phpbb. Quindi quando ci sono aggiornamenti di versione anche gli stili possono subire lievi modifiche sia al codice HTML che CSS.

Quindi sarà tua premura aggiornare il tuo stile alle nuove modifiche e per farlo occorre seguire con particolare attenzione questa guida. Questa guida è valida per tutti gli stili nessuno escluso.

NB: Non aggiornando il tuo stile pregiudichi il corretto funzionamento del tuo forum

Procedura Guidata
Scarica Stile
Accedi via FTP al tuo server e accedi alla cartella styles del tuo phpbb.
Seleziona la cartella dello stile che devi aggiornare e scaricalo sul tuo PC.
(questo è un account manager non attivo per il MOD team phpBB3 World)

Styles Robot
Styles Coda Bot
Styles Coda Bot
Messaggi: 93
Iscritto il: 9 nov 2012, 18:13
Località: phpbb3world

Scarica modifica Stile

Messaggio da Styles Robot » 4 nov 2012, 17:25

Per poter aggiornare lo stile è indispensabile conoscere la versione dello stile che stiamo utilizzando, per poi cercare il giusto file di aggiornamento.

Come capire la versione dello Stile in uso:
  • Accedi alla cartella dello Stile appena scaricata sul desktop del tuo PC
  • Apri con un qualsiasi programma di testo come notepad++ il file style.cfg
  • Il file deve mostrare la versione:
    • name = TUOSTILE
    • copyright = © phpBB Group, 2007
    • version = 3.0.10
    Se non è presente la versione devi chiedere supporto al creatore dello Stile
Nel nostro caso come possiamo vedere la versione del nostro Stile è version = 3.0.10 quindi procediamo alla ricerca della giusta modifica da apportare allo stile.

Su phpBB.com nella sezione phpBB "Olympus" 3.0.11 Update Packages nel Topic Annuncio della nuova versione, individuate lo zip e scaricatelo. Solitamente il sito di phpbb.com mantiene online solo la modifica all'ultima versione quindi ecco una motivazione in più per essere sempre aggiornati all'ultima versione.

Nel nostro caso scarichiamo il file zip phpBB phpBB-3.0.10_to_3.0.11-codechanges.zip (Language and Style Code Changes)
(questo è un account manager non attivo per il MOD team phpBB3 World)

Styles Robot
Styles Coda Bot
Styles Coda Bot
Messaggi: 93
Iscritto il: 9 nov 2012, 18:13
Località: phpbb3world

Aggiornamento file dello Stile

Messaggio da Styles Robot » 4 nov 2012, 17:26

La prima cosa da fare prima di iniziare a modificare i file è capire non solo la versione che abbiamo precedentemente scoperto ma anche con quale base di stile è stato creato il nostro. Quindi per capirlo possiamo fare così:
  • Accedi alla cartella del tuo stile che hai precedentemente scaricato sul desktop del tuo PC
  • Accedi alla cartella template cerca il file overall_header.html e aprilo con un programma di testo come notepad++
  • Cerca:

    Codice: Seleziona tutto

    Based on style
    • Se presente vuol dire che lo stile è basato su (prosilver)
    • Se NON è presente vuol dire che lo stile è basato su (subsilver2)
    Capire questo ci serve per poter utilizzare il giusto file di modifica!
Una volta scoperto su quale stile si basa il nostro potremmo procedere con l'aggiornamento.

Scompatta il file .zip phpBB-3.0.10_to_3.0.11-codechanges precedentemente scaricato da phpBB.com. Al suo interno troviamo le seguenti cartelle:
  • language
  • prosilver
  • subsilver2
Noi dovremmo aprire la cartella che interessa il nostro stile, che abbiamo appena scoperto.

Apri il file con un qualsiasi software di testo come notepad++
Il file vi dettaglia tutti i file che hanno subito modifiche (Files To Edit:) e scorrendo il testo troverai come modificare i file es:

Codice: Seleziona tutto

############################################################## 
## Title: phpBB 3.0.10 to phpBB 3.0.11 prosilver Changes
## Author: naderman < naderman@phpbb.com > (Nils Adermann) http://www.phpbb.com 
## Description: 
##		
##		
##		These are the phpBB 3.0.10 to phpBB 3.0.11 prosilver Changes summed up into a
##		little Mod. These changes are only partial and do not include any code changes,
##		therefore not meant for updating phpBB.
##		
##			
##		
## 
## Files To Edit: 
##		styles/prosilver/imageset/imageset.cfg
##		styles/prosilver/style.cfg
##		styles/prosilver/template/editor.js
##		styles/prosilver/template/mcp_topic.html
##		styles/prosilver/template/memberlist_body.html
##		styles/prosilver/template/memberlist_leaders.html
##		styles/prosilver/template/memberlist_view.html
##		styles/prosilver/template/overall_footer.html
##		styles/prosilver/template/overall_header.html
##		styles/prosilver/template/posting_editor.html
##		styles/prosilver/template/search_body.html
##		styles/prosilver/template/simple_footer.html
##		styles/prosilver/template/template.cfg
##		styles/prosilver/template/ucp_groups_membership.html
##		styles/prosilver/template/ucp_main_front.html
##		styles/prosilver/template/ucp_pm_message_header.html
##		styles/prosilver/template/ucp_pm_viewfolder.html
##		styles/prosilver/template/ucp_pm_viewmessage.html
##		styles/prosilver/template/ucp_profile_reg_details.html
##		styles/prosilver/template/viewonline_body.html
##		styles/prosilver/theme/bidi.css
##		styles/prosilver/theme/colours.css
##		styles/prosilver/theme/common.css
##		styles/prosilver/theme/cp.css
##		styles/prosilver/theme/theme.cfg
##		styles/prosilver/theme/tweaks.css
##
## License: http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 
############################################################## 

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/imageset/imageset.cfg

#
#-----[ FIND ]---------------------------------------------
# Around Line 17
#

# General Information about this style
name = prosilver
copyright = &copy; phpBB Group, 2007

#
#-----[ FIND ]---------------------------------------------
# Around Line 22
version = 3.0.10

#
#-----[ REPLACE WITH ]---------------------------------------------
#
version = 3.0.11

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/style.cfg

#
#-----[ FIND ]---------------------------------------------
# Around Line 17
#

# General Information about this style
name = prosilver
copyright = &copy; phpBB Group, 2007

#
#-----[ FIND ]---------------------------------------------
# Around Line 22
version = 3.0.10
#
#-----[ REPLACE WITH ]---------------------------------------------
#
version = 3.0.11
#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/editor.js

#
#-----[ FIND ]---------------------------------------------
# Around Line 217
		divarea = document.getElementById(message_name);
	}

	// Get text selection - not only the post content :(
	// IE9 must use the document.selection method but has the *.getSelection so we just force no IE

#
#-----[ FIND ]---------------------------------------------
# Around Line 222
	if (window.getSelection && !is_ie)

#
#-----[ REPLACE WITH ]---------------------------------------------
#
	if (window.getSelection && !is_ie && !window.opera)

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/mcp_topic.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 1
<!-- INCLUDE mcp_header.html -->


#
#-----[ AFTER, ADD ]---------------------------------------------
#
<div class="tabs-container">

#
#-----[ FIND ]---------------------------------------------
# Around Line 34
			<span class="corners-top"><span></span></span>
			<a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_POSTS}</span></a>
		</li>
	</ul>
</div>

#
#-----[ AFTER, ADD ]---------------------------------------------
#
</div>

#
#-----[ FIND ]---------------------------------------------
# Around Line 106
				<ul class="profile-icons"><li class="info-icon"><a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}"><span>{L_POST_DETAILS}</span></a></li><li>{L_SELECT}: <input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></li></ul>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
				<ul class="profile-icons"><li class="info-icon"><a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}"><span>{L_POST_DETAILS}</span></a></li><li><label for="post_id_list_select_{postrow.POST_ID}">{L_SELECT}: <input type="checkbox" id="post_id_list_select_{postrow.POST_ID}" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></label></li></ul>

#
#-----[ FIND ]---------------------------------------------
# Around Line 158
		<!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF -->
		<!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF -->
		<!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF -->
		<!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF S_MERGE_VIEW --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF -->
		<!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF S_SPLIT_VIEW --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF -->

#
#-----[ AFTER, ADD ]---------------------------------------------
#
		<!-- IF S_CAN_SYNC --><option value="resync">{L_RESYNC}</option><!-- ENDIF -->

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/memberlist_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 78
		</table>

	<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->

#
#-----[ FIND ]---------------------------------------------
# Around Line 83
<div class="forumbg">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div class="forumbg forumbg-table">

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/memberlist_leaders.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 2

<h2 class="solo">{PAGE_TITLE}</h2>

<form method="post" action="{S_MODE_ACTION}">


#
#-----[ FIND ]---------------------------------------------
# Around Line 7
<div class="forumbg">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div class="forumbg forumbg-table">

#
#-----[ FIND ]---------------------------------------------
# Around Line 35
	</table>
	
	<span class="corners-bottom"><span></span></span></div>
</div>


#
#-----[ FIND ]---------------------------------------------
# Around Line 40
<div class="forumbg">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div class="forumbg forumbg-table">

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/memberlist_view.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 67
			<dt>{postrow.PROFILE_FIELD1_NAME}:</dt> <dd>{postrow.PROFILE_FIELD1_VALUE}</dd>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
			<dt>{PROFILE_FIELD1_NAME}:</dt> <dd>{PROFILE_FIELD1_VALUE}</dd>

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/overall_footer.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 17
	<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group

#
#-----[ REPLACE WITH ]---------------------------------------------
#
	<div class="copyright">{CREDIT_LINE}

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/overall_header.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 26
<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:

#
#-----[ FIND ]---------------------------------------------
# Around Line 31

	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com

#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)


#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/posting_editor.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 35
				<dt><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2"></textarea></dt>
				<dd><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span></dd>
				<dd><input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd>
				<dd><input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" /></dd>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
				<dt><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2" tabindex="1"></textarea></dt>
				<dd><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span></dd>
				<dd><input type="submit" name="add_to" value="{L_ADD}" class="button2" tabindex="1" /></dd>
				<dd><input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" tabindex="1" /></dd>

#
#-----[ FIND ]---------------------------------------------
# Around Line 85
			<label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label>
			<!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon -->

#
#-----[ REPLACE WITH ]---------------------------------------------
#
			<label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" tabindex="1" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label>
			<!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} tabindex="1" /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon -->

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/search_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 96
</div>

</form>

<!-- IF .recentsearch -->

#
#-----[ FIND ]---------------------------------------------
# Around Line 101
<div class="forumbg">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div class="forumbg forumbg-table">

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/simple_footer.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 1
	<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group

#
#-----[ REPLACE WITH ]---------------------------------------------
#
	<div class="copyright">{CREDIT_LINE}

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/template.cfg

#
#-----[ FIND ]---------------------------------------------
# Around Line 17
version = 3.0.10

# Defining a different template bitfield
template_bitfield = lNg=

#
#-----[ REPLACE WITH ]---------------------------------------------
#
version = 3.0.11

# Defining a different template bitfield
template_bitfield = lNg=

# Template inheritance
# See http://blog.phpbb.com/2008/07/31/templating-just-got-easier/
# Set value to empty to ignore template inheritance
inherit_from = prosilver

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_groups_membership.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 91
				<dd class="mark"><input type="radio" name="selected" value="{pending.GROUP_ID}" <!-- IF pending.GROUP_SPECIAL -->disabled="diabled"<!-- ENDIF --> /></dd>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
				<dd class="mark"><input type="radio" name="selected" value="{pending.GROUP_ID}" <!-- IF pending.GROUP_SPECIAL -->disabled="disabled"<!-- ENDIF --> /></dd>

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_main_front.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 32
		<!-- IF ACTIVE_FORUM --><dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF -->
		<!-- IF ACTIVE_TOPIC --><dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->

#
#-----[ REPLACE WITH ]---------------------------------------------
#
		<!-- IF ACTIVE_FORUM != '' --><dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF -->
		<!-- IF ACTIVE_TOPIC != '' --><dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_pm_message_header.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 1
<div class="panel clearfix pm-panel-header<!-- IF S_VIEW_MESSAGE --> pm<!-- ENDIF -->">
	<div class="inner"><span class="corners-top"><span></span></span>

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

	<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
		<div class="buttons">
			<!-- IF U_POST_REPLY_PM --><div class="pmreply-icon clearfix"><a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}"><span></span>{L_POST_REPLY_PM}</a></div>
			<!-- ELSEIF U_POST_NEW_TOPIC --><div class="newpm-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}"><span></span>{L_UCP_PM_COMPOSE}</a></div><!-- ENDIF -->
			<!-- IF U_FORWARD_PM --><div class="forwardpm-icon"><a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}"><span></span>{L_FORWARD_PM}</a></div><!-- ENDIF -->
		</div>

		<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 -->
			<div class="reply-all"><a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">&raquo; {L_REPLY_TO_ALL}</a></div>
		<!-- ENDIF -->

	<!-- ENDIF -->

		<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
	<ul class="linklist pm-return-to">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<form id="viewfolder" method="post" action="{S_PM_ACTION}">

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p>{FOLDER_STATUS}</p><!-- ENDIF -->
	<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
		<div class="buttons">
			<!-- IF U_POST_REPLY_PM --><div class="pmreply-icon"><a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}"><span></span>{L_POST_REPLY_PM}</a></div>
			<!-- ELSEIF U_POST_NEW_TOPIC --><div class="newpm-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}"><span></span>{L_UCP_PM_COMPOSE}</a></div><!-- ENDIF -->
			<!-- IF U_FORWARD_PM --><div class="forwardpm-icon"><a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}"><span></span>{L_FORWARD_PM}</a></div><!-- ENDIF -->
			<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 --><div class="reply-all"><a class="left" title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">{L_REPLY_TO_ALL}</a></div><!-- ENDIF -->			
		</div>
	<!-- ENDIF -->

	<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
	<ul class="linklist">

#
#-----[ FIND ]---------------------------------------------
# Around Line 23
		<!-- ENDIF -->
	</div>
</div>

<form id="viewfolder" method="post" action="{S_PM_ACTION}">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
	<!-- ENDIF -->

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_pm_viewfolder.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 1
<!-- INCLUDE ucp_header.html -->

<!-- IF not PROMPT -->
	<!-- INCLUDE ucp_pm_message_header.html -->

#
#-----[ FIND ]---------------------------------------------
# Around Line 5
	<div class="panel pm-panel-message"><div>

#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)


#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_pm_viewmessage.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 1
	<!-- INCLUDE ucp_header.html -->

<!-- INCLUDE ucp_pm_message_header.html -->


<!-- IF S_DISPLAY_HISTORY and (U_VIEW_PREVIOUS_HISTORY or U_VIEW_NEXT_HISTORY) -->
	<fieldset class="display-options clearfix bg1 pm-message-nav">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<!-- INCLUDE ucp_header.html -->

<!-- INCLUDE ucp_pm_message_header.html -->

	<span class="corners-bottom"><span></span></span></div>
</div>


<!-- IF S_DISPLAY_HISTORY and (U_VIEW_PREVIOUS_HISTORY or U_VIEW_NEXT_HISTORY) -->
	<fieldset class="display-options clearfix">

#
#-----[ FIND ]---------------------------------------------
# Around Line 12
<div id="post-{MESSAGE_ID}" class="panel clearfix post pm-panel-message pm<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->">
<div>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div id="post-{MESSAGE_ID}" class="post pm<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->">
<div class="inner"><span class="corners-top"><span></span></span>

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/ucp_profile_reg_details.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 43
		<dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label><br /><span>{L_CURRENT_PASSWORD_EXPLAIN}</span></dt>

#
#-----[ REPLACE WITH ]---------------------------------------------
#
		<dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label><br /><span><!-- IF S_CHANGE_PASSWORD -->{L_CURRENT_CHANGE_PASSWORD_EXPLAIN}<!-- ELSE -->{L_CURRENT_PASSWORD_EXPLAIN}<!-- ENDIF --></span></dt>

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/viewonline_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 5

<ul class="linklist">
	<li class="rightside pagination"><!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li>
</ul>


#
#-----[ FIND ]---------------------------------------------
# Around Line 10
<div class="forumbg">

#
#-----[ REPLACE WITH ]---------------------------------------------
#
<div class="forumbg forumbg-table">

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/bidi.css

#
#-----[ FIND ]---------------------------------------------
# Around Line 588
	margin: 10px 5px 10px 15px;
}

/* PM Styles
----------------------------------------*/

#
#-----[ AFTER, ADD ]---------------------------------------------
#

/* PM panel adjustments */
.rtl .reply-all a.right {
	background-position: 5% 60%;
}

.rtl .reply-all a.right:hover {
	background-position: 3% 60%;
}

.rtl .reply-all {
	padding-left: 5px;
}

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/colours.css

#
#-----[ FIND ]---------------------------------------------
# Around Line 880
/* PM Styles
----------------------------------------*/
/* PM Message history */
.current {
	color: #000000 !important;

#
#-----[ FIND ]---------------------------------------------
# Around Line 885
}

/* PM panel adjustments */
.pm-panel-header,
#cp-main .pm-message-nav {
	border-bottom-color: #A4B3BF;

#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)


#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/common.css

#
#-----[ FIND ]---------------------------------------------
# Around Line 416
	color: #000000;
	font-weight: normal;
}

.forumbg table.table1 {

#
#-----[ FIND ]---------------------------------------------
# Around Line 421
	margin: 0 -2px -1px -1px;

#
#-----[ REPLACE WITH ]---------------------------------------------
#
	margin: 0;
}

.forumbg-table > .inner {
	margin: 0 -1px;
}

.forumbg-table > .inner > span.corners-top {
	margin: 0 -4px -1px -4px;
}

.forumbg-table > .inner > span.corners-bottom {
	margin: -1px -4px 0 -4px;

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/cp.css

#
#-----[ FIND ]---------------------------------------------
# Around Line 102
/* MCP Specific tweaks */
.mcp-main .postbody {
	width: 100%;
}


#
#-----[ AFTER, ADD ]---------------------------------------------
#
.tabs-container h2 {
	float: left;
	margin-bottom: 0px;
}

.tabs-container #minitabs {
	float: right;
	margin-top: 19px;
}

.tabs-container:after {
	display: block;
	clear: both;
	content: '';
}


#
#-----[ FIND ]---------------------------------------------
# Around Line 363
.pm-panel-header {
	margin: 0; 
	padding-bottom: 10px; 
	border-bottom: 1px dashed #A4B3BF;
}

.reply-all {
	display: block; 
	padding-top: 4px; 
	clear: both;
	float: left;
}

.pm-panel-message {
	padding-top: 10px;
}

.pm-return-to {
	padding-top: 23px;
}

#cp-main .pm-message-nav {
	margin: 0; 
	padding: 2px 10px 5px 10px; 
	border-bottom: 1px dashed #A4B3BF;

#
#-----[ REPLACE WITH ]---------------------------------------------
#
.reply-all a.left {
	background-position: 3px 60%;
}

.reply-all a.left:hover {
	background-position: 0px 60%;
}

.reply-all {
	font-size: 11px;
	padding-top: 5px;

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/theme.cfg

#
#-----[ FIND ]---------------------------------------------
# Around Line 19
#

# General Information about this theme
name = prosilver
copyright = &copy; phpBB Group, 2007

#
#-----[ FIND ]---------------------------------------------
# Around Line 24
version = 3.0.10

#
#-----[ REPLACE WITH ]---------------------------------------------
#
version = 3.0.11

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/theme/tweaks.css

#
#-----[ FIND ]---------------------------------------------
# Around Line 85
* html dl.details dd {
	margin-left: 30%;
	float: none;
}


#
#-----[ FIND ]---------------------------------------------
# Around Line 90
* html .forumbg table.table1 {
	margin: 0 -2px 0px -1px;
}


#
#-----[ REPLACE WITH ]---------------------------------------------
# Just remove/delete the lines (replacing with an empty line)


#
#-----[ FIND ]---------------------------------------------
# Around Line 92
	margin-bottom: 1.0em;
}

*:first-child+html #site-description p {
	margin-bottom: 1.0em;

#
#-----[ AFTER, ADD ]---------------------------------------------
#
}

/* #minitabs fix for IE */
.tabs-container {
	zoom: 1;
}

#minitabs {
	white-space: nowrap;
	*min-width: 50%;

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
Per chi non conosce la lingua Inglese i termini sono:
[ OPEN ]= [ APRI ] (apri il file richiesto)
[ FIND ]= [ CERCA ] (cerca il testo)
[ REPLACE WITH ]= [ SOVRASCRIVI ] (sovrascrivi il testo trovato)
[ AFTER, ADD ]= [AGGIUNGI DOPO ] (dopo il testo trovato aggiungi)
[ BEFORE, ADD ]= [AGGIUNGI PRIMA ] (prima del testo trovato aggiungi)
(questo è un account manager non attivo per il MOD team phpBB3 World)

Styles Robot
Styles Coda Bot
Styles Coda Bot
Messaggi: 93
Iscritto il: 9 nov 2012, 18:13
Località: phpbb3world

Conclusione

Messaggio da Styles Robot » 4 nov 2012, 17:28

Una volta terminato di modificare l'intero stile procediamo:
  • Accedi al Pannello di Controllo Amministratore
  • Clicca la sezione Stile
    Non chiudere il browser
======================================
  • Accedi via FTP alla cartella styles del tuo phpBB
  • *Rinomina lo stile in TUOSTILE_OLD
  • Invia la cartella dello stile che hai precedentemente modificato
*Rinominare lo stile ci permette di avere lo stile privo delle modifiche, questo ci tutela qualora nello stile modificato ci siano errori.

Una volta inviata la cartella dello stile modificato da Pannello di Controllo Amministratore sezione Stile procediamo:
  • Componenti stile Template AGGIORNA
  • Componenti stile Temi AGGIORNA
  • Componenti stile Set-immagini AGGIORNA
A questo punto il tuo stile dovrebbe essere aggiornato, quindi controlla il tuo forum e se non ci sono errori tutto è filato liscio.

Qualora noti errori vuol dire che i file che hai modificato non sono stati modificati correttamente, quindi dovrai ricontrollare tutti i file.

Immagine
Qui troverete due ottimi siti dove poter scaricare stili:
AwesomeStyles||||||phpbb3styles
(questo è un account manager non attivo per il MOD team phpBB3 World)

Bloccato

Torna a “[3.0.x] Guide”

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti