phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

Mod Webb, ho stile diverso, come lo adatto?

Supporto MODs generale.
s1m0n33
Utente
Utente
Messaggi: 33
Iscritto il: 12/05/2009, 13:54
Versione: 3.0.4
Server: UNIX/Linux
Contatta:

Mod Webb, ho stile diverso, come lo adatto?

Messaggio da s1m0n33 » 12/05/2009, 14:32

Salve, io ho un forum in phpbb 3.0.4 e sto tentando di installare la mod creata da carlino e stimart. Però ho un style particolare chiamato SF_Glacier
Ora nell'installazione c'è scritto di modificare il file styles/prosilver/template/overall_header.html

Naturalmente dato che ho quello style modificherò: styles/SF_Glacier/template/overall_header.html

Ora nelle istruzioni c'è scritto di cercare:

Codice: Seleziona tutto

<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
e di scrivere sotto:

Codice: Seleziona tutto

<!-- WEBB -->
            <div class="navbar" style="top:4px; bottom:4px; position:relative; clear:both;">
            <div class="inner"><span class="corners-top"><span></span></span>

                     <ul class="linklist navlinks">
            MENU
                     </ul>

                     <ul class="linklist leftside">
            <li><!-- BEGIN webbmenu --><a href="webb.php?mode={webbmenu.WEBB_DESC}"><span style="border: 1px solid #a9c7a9; padding: 2px; background-color:#d6ffd6; color:#111111;">{webbmenu.WEBB_SUBJECT}</span></a><!-- IF U_ACP --><i>-<a href="webbadmin.php?mode=modifica&webb_desc={webbmenu.WEBB_DESC}">m</a>|<a href="webbadmin.php?mode=cancella&webb_desc={webbmenu.WEBB_DESC}" onclick = "if (! confirm('Sei sicuro di voler cancellare?')) return false;">c</a></i><!-- ENDIF -->&nbsp;&nbsp;<!-- END webbmenu --></li>
                     </ul>

            <div style="float:right;"><!-- IF U_ACP --><a href="webbadmin.php?mode=nuovo"><span style="font-size:7px;">EDITOR</span></a><!-- ENDIF --></div>
            <span class="corners-bottom"><span></span></span>
            </div>
            </div>
<!-- WEBB -->
Però nel file del mio style nn c'è quella strainga e vorrei capire cosa devo modificare, qualcuno mi può aiutare?
Vi scrivo il mio file overall_header.html

Codice: Seleziona tutto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<link rel="icon" href="http://dlditaly.net/favicon.ico" mce_href="http://dlditaly.net/favicon.ico" />
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:   Ika - ShadowFlames Development     
	
	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
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<!--[if lt IE 7.]>
<script defer="defer" type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
    <div class="outside">
       <div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
          <div class="inside">
             <div class="notopgap"></div>
<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>

    <div id="header_nav">
        <span class="preload1"></span>
        <span class="preload2"></span>
        
            <ul id="nav">
                <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
                <li class="top"><a href="{U_INDEX}" class="top_link"><span style="color: red;">{L_BOARD_DISABLED}</span></a></li>
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                <li class="top"><a href="{U_LOGIN_LOGOUT}" class="top_link"><span>{L_LOGIN_LOGOUT}</span></a></li>
                <!-- ENDIF -->
                <!-- IF U_RESTORE_PERMISSIONS -->
                <li class="top"><a href="{U_RESTORE_PERMISSIONS}" class="top_link"><span>{L_RESTORE_PERMISSIONS}</span></a></li>
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_USER_LOGGED_IN -->
                        <!-- IF S_DISPLAY_PM -->
                        <li class="top"><a href="{U_PRIVATEMSGS}" class="top_link"><span>{PRIVATE_MESSAGE_INFO}</span></a></li>
                        <!-- ENDIF -->
                        <!-- ELSE -->
                        <li class="top"><a href="{U_REGISTER}" class="top_link"><span>{L_REGISTER}</span></a></li>
                        <!-- ENDIF -->
                <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="#" id="controlpanel" class="top_link"><span class="down">Pannello di Controllo</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><b>Utenti</b></li>
                        <li><a href="{U_PROFILE}" class="fly">{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]--><ul>
                                    <li><a href="./ucp.php?i=163">Panoramica</a></li>
                                    <li><a href="./ucp.php?i=164">Profilo</a></li>
                                    <li><a href="./ucp.php?i=165">Preferenze</a></li>
                                    <li><a href="./ucp.php?i=166">Messaggi privati</a></li>
                                    <li><a href="./ucp.php?i=167">Gruppi</a></li>
                                    <li><a href="./ucp.php?i=168">Amici & Ignorati</a></li>
                                </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                        <!-- ENDIF -->
                        <!-- IF U_MCP -->
                        <li><b>Moderatori</b></li>
                        <li><a href="{U_MCP}">{L_MCP}</a></li>
                        <!-- ENDIF -->
                        <!-- IF U_ACP -->
                        <li><b>Amministratori</b></li>
                        <li><a href="{U_ACP}">{L_ACP}</a></li>
                        <!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->
                <li class="top"><a href="{U_INDEX}" id="forumlinks" class="top_link"><span class="down">Forum</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Informazioni</b></li>
                        <li><a href="{U_FAQ}">{L_FAQ}</a></li>
                        <!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
                        <li><b>Gestione</b></li>
                        <!-- IF not S_IS_BOT and U_MARK_FORUMS --><li><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
                        <!-- IF not S_IS_BOT and U_MARK_TOPICS --><li><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></li><!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- IF S_DISPLAY_SEARCH -->
                <li class="top"><a href="{U_SEARCH}" id="forumsearch" class="top_link"><span class="down">{L_SEARCH}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Ricerche Semplici</b></li>
                        <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
                        <li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
                        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
                        <!-- ENDIF -->
                        <li><b>Ricerche Personalizzate</b></li>
                        <li><a href="{U_SEARCH}">Ricerca Avanzata</a></li>
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->
                <li class="top"><a href="#" id="phpbbresources" class="top_link"><span class="down">Links</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Header 1</b></li>
                        <li><a href="#">Link 1</a></li>
                        <li><a href="#">Link 2</a></li>
                        <li><a href="#">Link 3</a></li>
                        <li><a href="#">Link 4</a></li>
                        <li><b>Header 2</b></li>
                        <li><a href="#">Link 5</a></li>
                        <li><a href="#">Link 6</a></li>
                        <li><a href="#">Link 7</a></li>
                        <!-- IF U_ACP -->
                        <li><b>Admin Links</b></li>
                        <li><a href="#">Link 8</a></li>
                        <li><a href="#">Link 9</a></li>
                        <li><a href="#">Link 10</a></li>
                        <!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="{U_SEARCH_NEW}" class="top_link"><span>{L_SEARCH_NEW}</span></a></li>
                <!-- ENDIF -->
            </ul>
            
        </div>
        
        <div id="page-header">
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>
			<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<br />
			<div id="site-description">
				
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>

		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="post" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->

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

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

			<ul class="linklist navlinks">
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

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

	</div>

	<a name="start_here"></a>
	<div id="page-body">
		
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

Grazie

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da Carlo » 12/05/2009, 15:01

Ciao, andrebbe bene anche se lo inserisci alla fine dell'overall_header.html.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

s1m0n33
Utente
Utente
Messaggi: 33
Iscritto il: 12/05/2009, 13:54
Versione: 3.0.4
Server: UNIX/Linux
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da s1m0n33 » 12/05/2009, 15:53

quindi come ultima stringa??

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da Carlo » 12/05/2009, 16:02

Si. Fammi sapere se va bene.

Dopo svuota la cache.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

s1m0n33
Utente
Utente
Messaggi: 33
Iscritto il: 12/05/2009, 13:54
Versione: 3.0.4
Server: UNIX/Linux
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da s1m0n33 » 12/05/2009, 19:33

Ciao ho fatto tutto, ma come in precedenza ho sempre lo stesso errore:

Codice: Seleziona tutto

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3787: Cannot modify header information - headers already sent by (output started at /language/it/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3789: Cannot modify header information - headers already sent by (output started at /language/it/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3790: Cannot modify header information - headers already sent by (output started at /language/it/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3791: Cannot modify header information - headers already sent by (output started at /language/it/common.php:1)
Mi affaccia sopra il sito, aiuto che faccio? :cry:

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da Carlo » 13/05/2009, 14:38

Controllo la MOD e ti faccio sapere...
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

s1m0n33
Utente
Utente
Messaggi: 33
Iscritto il: 12/05/2009, 13:54
Versione: 3.0.4
Server: UNIX/Linux
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da s1m0n33 » 13/05/2009, 17:02

ok grazie comunque penso che è sicuramente un problema d style

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da Carlo » 14/05/2009, 14:13

Ora non ricordo, ma la MOD richiedeva anche la modifica dei file di lingua?
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

s1m0n33
Utente
Utente
Messaggi: 33
Iscritto il: 12/05/2009, 13:54
Versione: 3.0.4
Server: UNIX/Linux
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da s1m0n33 » 14/05/2009, 18:40

Sisi, richiedeva la modifica di 4 file:
includes/constants.php,
styles/prosilver/template/overall_header.html,
language/it/common.php,
includes/functions.php

Ma penso che è un problema di style xkè solo io l'ho riscontrato :cry:

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Mod Webb, ho stile diverso, come lo adatto?

Messaggio da Carlo » 14/05/2009, 22:11

Non è problema di Style. Comunque prendi un nuovo file language/it/common.php e rieffettua le dovute modifiche.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Rispondi

Torna a “Supporto MODs”

Chi c’è in linea

Visitano il forum: Nessuno e 48 ospiti