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

header sconvolto?

Supporto stili in generale.
Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

header sconvolto?

Messaggio da gennyna » 09/10/2010, 9:47

Guardate qui come mi compare l'header: http://www.clonedb.tk/community/?sid=41 ... 2dba9ac6fe

Codice: Seleziona tutto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">

<head>
</head>
{SEO_BASE_HREF}

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP --> &bull; {L_MCP}<!-- ELSEIF S_IN_UCP --> &bull; {L_UCP}<!-- ENDIF --></title>
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta name="google-site-verification" content="XrT0nNYvG531a8k8JmPjZtBFPbjHyefeToX7yXDtiXw" />
<meta http-equiv="imagetoolbar" content="no" /></head>
{META_TAG}
{META}
<!-- BEGIN gym_rsslinks -->
<head>
<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
<!-- END gym_rsslinks -->
<!-- BEGIN gym_rsslinks -->
<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
<!-- END gym_rsslinks -->

<!-- IF S_ENABLE_FEEDS -->
<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto() {
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var seo_delim_start = '{SEO_START_DELIM}';
	var seo_static_pagination = '{SEO_SATIC_PAGE}';
	var seo_ext_pagination = '{SEO_EXT_PAGE}';
	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) {
		var seo_page = (page - 1) * perpage;
		var anchor = '';
		var anchor_parts = base_url.split('#');
		if ( anchor_parts[1] ) {
			base_url = anchor_parts[0];
			anchor = '#' + anchor_parts[1];
		}
		if ( base_url.indexOf('?') >= 0 ) {
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page + anchor;
		} else if ( seo_page > 0 ) {
			var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
			if (seo_type1 !== null) {
				document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1 + anchor;
			}
			var seo_type2 = base_url.match(/\/$/);
			if (seo_type2 !== null) {
				document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination + anchor;
			}
		} else {
			document.location.href = base_url + anchor;
		}
	}
}
var seo_external = {SEO_EXTERNAL};
var seo_external_sub = {SEO_EXTERNAL_SUB};
var seo_ext_classes = {SEO_EXT_CLASSES};
var seo_hashfix = {SEO_HASHFIX};
/**
*  phpbb_seo_href()
*  Fixes href="#something" links with virtual directories
*  Optionally open external or marked with a css class links in a new window
*  in a XHTML 1.x compliant way.
*/
function phpbb_seo_href() {
	var current_domain = document.domain.toLowerCase();
	if (!current_domain || !document.getElementsByTagName) return;
	if (seo_external_sub && current_domain.indexOf('.') >= 0) {
		current_domain = current_domain.replace(new RegExp(/^[a-z0-9_-]+\.([a-z0-9_-]+\.([a-z]{2,6}|[a-z]{2,3}\.[a-z]{2,3}))$/i), '$1');
	}
	if (seo_ext_classes) {
		var extclass = new RegExp("(^|\s)(" + seo_ext_classes + ")(\s|$)");
	}
	if (seo_hashfix) {
		var basehref = document.getElementsByTagName('base')[0];
		if (basehref) {
			basehref = basehref.href;
			var hashtest = new RegExp("^(" + basehref + "|)#[a-z0-9_-]+$");
			var current_href = document.location.href.replace(/#[a-z0-9_-]+$/i, "");
		} else {
			seo_hashfix = false;
		}
	}
	var hrefels = document.getElementsByTagName("a");
	var hrefelslen = hrefels.length;
	for (var i = 0; i < hrefelslen; i++) {
		var el = hrefels[i];
		var hrefinner = el.innerHTML.toLowerCase();
		if (el.onclick || (el.href == '') || (el.href.indexOf('javascript') >=0 ) || (hrefinner.indexOf('<a') >= 0) ) {
			continue;
		}
		if (seo_hashfix && el.hash && hashtest.test(el.href)) {
			el.href = current_href + el.hash;
		}
		if (seo_external) {
			if ((el.href.indexOf(current_domain) >= 0) && !(seo_ext_classes && extclass.test(el.className))) {
				continue;
			}
			el.onclick = function () { window.open(this.href); return false; };
		}
	}
}
window.onload = function() {
	if (seo_external || seo_hashfix) {
		phpbb_seo_href();
	}
	// here you can add other window.onload events
}
// www.phpBB-SEO.com SEO TOOLKIT END

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

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- IF not S_IS_BOT and S_USER_VIEW_CHAT -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/chat.js"></script>

<link type="text/css" rel="stylesheet" media="all" href="{T_THEME_PATH}/chat.css" />
<link type="text/css" rel="stylesheet" media="all" href="{T_THEME_PATH}/screen.css" />
<!-- ENDIF -->
</head>
<head></head>
<body class="{S_CONTENT_DIRECTION}">
<!-- IF not S_IS_BOT and S_USER_VIEW_CHAT -->
<div id="main_container">
<!-- ENDIF -->

<a name="wrapheader" id="wrapheader"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
	    <td style="padding: 0px;">
		
<div id="wrapheader">
		<table class="topbkg" width="100%" cellspacing="0">
		    <tr>
	
			    
			</tr>
		</table>
	</div>

	<div id="menubar">
	    <table width="100%" cellspacing="0">
		    <tr>
			    <td align="center" class="topnav">
			        &nbsp;<a href="{U_FAQ}">{L_FAQ}</a>
<!-- IF S_POINTS_ENABLE -->				
				<a href="{U_POINTS}"><img src="{T_THEME_PATH}/images/icon_points.gif" width="12" height="13" alt="*" /> {POINTS_LINK}</a><!-- IF S_USER_LOGGED_IN and S_USE_POINTS --> [ {USER_POINTS} ]<!-- ENDIF -->&nbsp; &nbsp;
				<!-- ENDIF -->				
				<!-- End Ultimate Points -->
				    <!-- IF S_DISPLAY_SEARCH -->&nbsp; &#8226; &nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
				    <!-- IF not S_IS_BOT -->
					    <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &#8226; &nbsp; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->

					    <!-- IF S_USER_LOGGED_IN -->
						    <!-- IF S_DISPLAY_PM --> &nbsp; &#8226; &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					    <!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> &#8226; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
					    <!-- ENDIF -->
					    &nbsp; &#8226; &nbsp; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &nbsp; &#8226; &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
					<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp; &#8226; &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				</td>
			</tr>
		</table>
	</div>
<!-- INCLUDE announcement_centre.html -->
	<div id="datebar">
	    <table width="100%" cellspacing="0">
		    <tr>
			    <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			    <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
			</tr>
		</table>
</div></td></tr>
</div>

<div id="wrapcentre">
    <!-- IF S_DISPLAY_SEARCH -->
	    <p class="searchbar">
		    <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		    <!-- IF S_USER_LOGGED_IN -->
		        <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		    <!-- ENDIF -->
	    </p>
		<br />
	<!-- ENDIF -->
    <br style="clear: both;" />
    <!-- INCLUDE breadcrumbs.html -->
    <br />
  <!-- IF not S_USER_LOGGED_IN -->
<div class="navbar_notice" id="navbar_notice_1010">
<style type="text/css">
/*Optimized for firefox!*/
#topbar11 {
position: absolute;
dispaly: block;
width: 100%;
margin: auto;              
border-bottom: 2px solid royalblue;
padding: 0.8% 0;
text-align: center;
background-color: lightyellow;
visibility: hidden;
z-index: 10;
}
</style>
<script type="text/javascript">
/**
* Powered by carlino1994 (www.phpbbitalia.net) and Sir Xiradorn (www.xiradorn.it)
*/
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 0 //set x offset of bar in pixels
var startY = 0 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar11").style.visibility="hidden"
}
function staticbar(){
 barheight=document.getElementById("topbar11").offsetHeight
 var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
 var d = document;
 function ml(id){
  var el=d.getElementById(id);
  if (!persistclose || persistclose && get_cookie("remainclosed")=="")
  el.style.visibility="visible"
  if(d.layers)el.style=el;
  el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
  el.x = startX;
  if (verticalpos=="fromtop")
  el.y = startY;
  else{
  el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
  el.y -= startY;
  }
  return el;
 }
 window.stayTopLeft=function(){
  if (verticalpos=="fromtop"){
  var pY = ns ? pageYOffset : iecompattest().scrollTop;
  ftlObj.y += (pY + startY - ftlObj.y)/8;
  }
  else{
  var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
  ftlObj.y += (pY - startY - ftlObj.y)/8;
  }
  ftlObj.sP(ftlObj.x, ftlObj.y);
  setTimeout("stayTopLeft()", 10);
 }
 ftlObj = ml("topbar11");
 stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>

<div id="topbar11">

	<font size="2">
	<span style="font-family: Verdana,Arial,Helvetica,sans-serif;"></span>
	<img src="http://www.clonedb.altervista.org/forum/images/smilies/icon_cheesygrin.gif" />
	<span style="font-family: Verdana,Arial,Helvetica,sans-serif;">Non sei registrato? </span><a style="font-weight: bold; font-family: Verdana,Arial,Helvetica,sans-serif;" href="{U_REGISTER}">Ricorda di registrarti cliccando qui  per visualizzare le liste..!! Non costa nulla!</span>
	<span style="font-family: Verdana,Arial,Helvetica,sans-serif;">!</span>

	<img src="http://www.clonedb.altervista.org/forum/images/smilies/icon_eek.gif" />
	<br style="font-family: Verdana,Arial,Helvetica,sans-serif;" />
	<span style="font-family: Verdana,Arial,Helvetica,sans-serif;"></span>
	<span style="font-family: Verdana,Arial,Helvetica,sans-serif;"></span>
	</font>

</div>
<!-- ENDIF -->

<center>Con google chroome e Intente Explorer potresti avere problemi; che stiamo risolvendo. Al momento però puoi accedere tranquillamente con firefox</center>

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: header sconvolto?

Messaggio da Micogian » 09/10/2010, 10:54

Perchè il tag <head></head> è messo due volte ?

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da gennyna » 09/10/2010, 11:00

perché ho provato a risolvere con dreamweaver.. facendo ottimizza..

non è che potresti aiutarmi a metterlo a posto?

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: header sconvolto?

Messaggio da Micogian » 09/10/2010, 11:53

Penso che la variabile {SEO_BASE_HREF}
debba restare tra i tag <head> e </head>, quindi togli il tag </head> che sta prima e il tag <head> che sta dopo, ti rimangono i tag giusti.
Se poi ci sia qualcos'altro non saprei.

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da gennyna » 09/10/2010, 12:12

fatto..poi? XD

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: header sconvolto?

Messaggio da Micogian » 09/10/2010, 12:17

Ma perchè non fate una copia prima di fare delle modifiche ai file ?

Puoi sempre copiare la pagina come file html e provare a modificare quella.
Non fai altro che andare nel menu "file" --> "salva pagina con nome" e ti ritrovi un file html in locale che puoi modificare a tuo piacimento e vedi se riesci a risolvere.

Comunque mi sembra meglio, hai il

Codice: Seleziona tutto

<title>indice</title>
all'inizio, basta spostarlo.
Ma hai modificato index_body.html o overall_header.html ?

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da gennyna » 09/10/2010, 12:58

overall Header...

comunque ho risolto :) grazie mille

Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da Haku » 10/10/2010, 10:38

Eppure ti avevo impostato io tutte le dimensioni del forum...pasticcione!

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da gennyna » 10/10/2010, 11:54

ma se non ho toccato niente; ho solo aggiornato il template da ACP

Avatar utente
gennyna
Utente
Utente
Messaggi: 1017
Iscritto il: 11/07/2009, 18:31
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: header sconvolto?

Messaggio da gennyna » 10/10/2010, 12:12

ma se non ho toccato niente; ho solo aggiornato il template da ACP

Rispondi

Torna a “Supporto stili”

Chi c’è in linea

Visitano il forum: Nessuno e 35 ospiti