Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

¿como modifico esto?

Soporte de MODs para phpBB 3.0.x
Dudas sobre AutoMOD aquí por favor.
Cerrado
MR.PABLO
Ex Staff
Mensajes: 530
Registrado: 30 Jul 2009, 17:34
Edad: 37

¿como modifico esto?

#1

Mensaje por MR.PABLO »

Saludos
Queremos instalar el Portal 1.2.2 en la plantilla Melankolia y tenemos el siguiente problema:
Al querer hacer los cambios de "Estilos" en la plantilla me dice que modifique lo siguiente:

Código: Seleccionar todo

Open: styles/subsilver2/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
	<div id="menubar">
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select All
	<!-- IF not $S_IN_PORTAL -->
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
	<!-- INCLUDE breadcrumbs.html -->

	<br />
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select All
	<!-- ENDIF -->
La plantilla es la siguiente:

Código: Seleccionar todo

<!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>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<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>

<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;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* 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>
<link href="{T_THEME_PATH}/web/style.css" rel="stylesheet" type="text/css" media="screen, projection" />
</head>
<body class="{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">
<a name="top"></a>

<div id="wrapheader">
<div id="logodesc">
	<div id="logo">
			<a class="logo" href="{U_INDEX}"><h1><font color="#FFFFFF">{SITENAME}</font></h1><span class="gen"><font color="#FFFFFF">{SITE_DESCRIPTION}</font></span></a>
	</div>
</div>
<br />
	<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="row1" height="60px" width="73%">
			<p class="breadcrumbs"><a href="{U_INDEX}"><strong><img src="{T_IMAGESET_PATH}/folder.gif"></img>{L_INDEX}</strong></a>
<!-- BEGIN navlinks --> &#187; <strong><strong></strong>&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
<br /><!-- IF TOPIC_TITLE --><!-- IF U_VIEW_TOPIC --><img src="{T_IMAGESET_PATH}/folder2.gif"></img><a class="topictitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ENDIF --><!-- ENDIF --></p>
<div align="center"> <p><!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --></p></div>
			</td>
<td class="row2" height="60px" width="27%"><!-- IF not S_USER_LOGGED_IN -->

<form method="post" action="{S_LOGIN_ACTION}" style="float:left;position:relative;">	
<table width="100%" cellspacing="0">
<tr>
<!-- IF SCRIPT_NAME == 'index' -->		
<td width="50%"><span class="genmed">{L_USERNAME}:</span><br /><span class="genmed">{L_PASSWORD}:</span></td>
       <td width="50%"><input tabindex="100" class="post" type="text" name="username" size="10" /><br /><input tabindex="101" class="post" type="password" name="password" size="10" /></td>
          
          
          <td width="50%"  nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --><span class="genmed">Remember me</span> <input tabindex="102" type="checkbox"  class="radio" name="autologin" /><!-- ENDIF --><br /><input tabindex="103" type="submit" class="btnmain" name="login" value="{L_LOGIN}" />
    </td>


<!-- ELSE --><span class="genmed"><a href="{U_LOGIN_LOGOUT}"><strong>{L_LOGIN_LOGOUT}</strong></a>&nbsp;|&nbsp;<!-- IF not S_IS_BOT -->  <a href="{U_REGISTER}"><strong>{L_REGISTER}</strong></a><!-- ENDIF --></span><!-- ENDIF -->
  </tr>
</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<strong>Hi,&nbsp;{S_USERNAME}</strong>&nbsp;<b>(</b><a href="{U_LOGIN_LOGOUT}">{L_LOGOUT}</a><b>)</b><br />
{LAST_VISIT_DATE}<br />
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- ENDIF -->
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --></td></tr></table></td>
</tr>
</table>
	<!-- IF not S_USER_LOGGED_IN -->
<table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
	<tr align="center">
  <!-- IF not S_IS_BOT -->
  <!-- IF S_REGISTER_ENABLED --><td class="menu2"> <a href="{U_REGISTER}" >{L_REGISTER}</a></td><!-- ENDIF -->
<td class="menu2"><a href="{U_LOGIN_LOGOUT}" rel="nofollow">{L_LOGIN}</a></td><!-- ENDIF -->
    <!-- IF S_DISPLAY_SEARCH --><td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td>
	<!-- ENDIF -->

	<td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
</tr></table>	
<!-- ENDIF -->

<!-- IF S_USER_LOGGED_IN -->
  <table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> 
   <tr align="center">
	 
	 <td class="menu2"><a href="{U_PROFILE}" rel="nofollow">{L_PROFILE}</a></td>
    
     <!-- IF S_DISPLAY_SEARCH -->
     <td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td>
     <td class="menu2"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></td>
	<td class="menu2"><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></td>
	<td class="menu2"><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></td>
		  <!-- ENDIF -->
   <td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
</tr></table>
<!-- ENDIF --><br />

		<br style="clear: both;" />
como pueden ver, no se encuuentran las lineas que tengo que modificar.

Luego me da la siguiente orden:

Código: Seleccionar todo

Open: styles/subsilver2/template/breadcrumbs.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
			<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a>
Replace With
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select All
			<p class="breadcrumbs"><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <a href="{U_INDEX}">{L_INDEX}</a>
Y el Breadcrumbs de mi plantilla es la siguiente:

Código: Seleccionar todo

<!-- IF U_MCP -->
	<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
	<tr>
		<td class="row1">
			<p class="breadcrumbs"><a href="{U_MCP}">{L_MCP}</a></p>
			<p class="datetime">{S_TIMEZONE}</p>
		</td>
	</tr>
	</table>
<!-- ENDIF -->
Y tampoco podemos encontrar las líneas.
L


La tercera orden para modifcar el estilo es la única que puede ser realizada, las lineas se encuentran.



Aclaro: Estamos haciendo otro foro, la url es:http://jjteamweb-design.co.cc/
La Plantilla es : Melankolia, basada en subsilver2
Versión del foro: 3.0.5
Mods Instalados: Ninguno



Antes en el otro foro pude instalar el Portal sin ningun problema. Que puede ser, qué modificaciones tendremos que hacer para poder instalar el portal.

¡Muchas gracias!
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí a de phpBB en Castellano.
Consulta la Documentación de phpBB 2, la Documentación de phpBB 3 y los FAQS de ayuda para tus problemas.
Quizás esté resuelto, y todos ahorremos tiempo.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.


[hr]
Spoiler
Versión phpBB: phpBB3 (3.0.6)
MODs Instalados: PhpBB3 Portal 1.2.2 Highslide Attachment Mod 4.1.4 Activity Stats Mod Simple Hide BBcode Portal Phpbb Arreglos Varios a Portal, cambios, etc Similar Topic`s Mod Tabs al estilo prosilver No Avatar Barra lateral de Mitch Seo URl v. 6.2 META Etiquetas por .:: MSSTI ::.BBcode con imágenes Open Links In New Tab MSSTI RSS Feed 2.0 with ACP Email Masivo Prime Links [Con modificación de Mitch incluída]Page Title Number MODQuién editó el post?
Evil Quick Reply 1.0.1
Plantilla(s) usada(s): 1blackout - [Basada en Prosilver]
Servidor:Linux. Page
Actualización desde otra versión: SI . 3.0.5
Conversión desde otro sistema de foros: No
Usuario de prueba : usuario_prueba
Pass: 123456[/align][/size][/font]
[hr]
אָ MяРαвlΘ אָ @ Webmaster de JjTeamWebdesign


Imagen

Avatar de Usuario
ahh72
Ex Staff
Mensajes: 3868
Registrado: 29 Dic 2008, 17:28
Género:
Edad: 53

Re: ¿como modifico esto?

#2

Mensaje por ahh72 »

recuerda que el portal se instala en el root del hosting y el foro en la carpeta foro o como desees llamarlo, creo que tambien algunos lo instalan ambos en el root, debes tener en cuenta que al hacer cambio de estilo tambien deberas hacer las modificaciones para tus mods :wink:

saludos

Datos de Soporte:
- URL del Foro: http://www.peruvoley.com/foro
- Hosting donde está alojada: http://www.rogohosting.com
- Versión del foro: 3.3.11
- Estilo: stasis-leak
- Mods Instalados:

Guias de ayuda:
Guia para corregir el copyright en foros phpBB3


MR.PABLO
Ex Staff
Mensajes: 530
Registrado: 30 Jul 2009, 17:34
Edad: 37

Re: ¿como modifico esto?

#3

Mensaje por MR.PABLO »

ahh72 escribió:recuerda que el portal se instala en el root del hosting y el foro en la carpeta foro o como desees llamarlo, creo que tambien algunos lo instalan ambos en el root, debes tener en cuenta que al hacer cambio de estilo tambien deberas hacer las modificaciones para tus mods :wink:

saludos
Eso lo tengo claro, el problema es que en el style no encuentro las lineas para hacer las modifaciones :ok:
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí a de phpBB en Castellano.
Consulta la Documentación de phpBB 2, la Documentación de phpBB 3 y los FAQS de ayuda para tus problemas.
Quizás esté resuelto, y todos ahorremos tiempo.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.


[hr]
Spoiler
Versión phpBB: phpBB3 (3.0.6)
MODs Instalados: PhpBB3 Portal 1.2.2 Highslide Attachment Mod 4.1.4 Activity Stats Mod Simple Hide BBcode Portal Phpbb Arreglos Varios a Portal, cambios, etc Similar Topic`s Mod Tabs al estilo prosilver No Avatar Barra lateral de Mitch Seo URl v. 6.2 META Etiquetas por .:: MSSTI ::.BBcode con imágenes Open Links In New Tab MSSTI RSS Feed 2.0 with ACP Email Masivo Prime Links [Con modificación de Mitch incluída]Page Title Number MODQuién editó el post?
Evil Quick Reply 1.0.1
Plantilla(s) usada(s): 1blackout - [Basada en Prosilver]
Servidor:Linux. Page
Actualización desde otra versión: SI . 3.0.5
Conversión desde otro sistema de foros: No
Usuario de prueba : usuario_prueba
Pass: 123456[/align][/size][/font]
[hr]
אָ MяРαвlΘ אָ @ Webmaster de JjTeamWebdesign


Imagen

Avatar de Usuario
ahh72
Ex Staff
Mensajes: 3868
Registrado: 29 Dic 2008, 17:28
Género:
Edad: 53

Re: ¿como modifico esto?

#4

Mensaje por ahh72 »

segun he visto el estilo melankolia esta en la version 3.0.4 y podria ser ese el problema aunque no estoy seguro de ello.

saludos

Datos de Soporte:
- URL del Foro: http://www.peruvoley.com/foro
- Hosting donde está alojada: http://www.rogohosting.com
- Versión del foro: 3.3.11
- Estilo: stasis-leak
- Mods Instalados:

Guias de ayuda:
Guia para corregir el copyright en foros phpBB3


Cerrado

Volver a “Soporte de MODs”