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.

poner enlace a portal y a temas nuevos

Dudas sobre estilos phpBB 3.0.x
Colaboraciones gráficas paquetes de rangos aquí y botones aquí.
Cerrado
amane19
Usuario/a
Mensajes: 54
Registrado: 25 Jul 2007, 17:46

poner enlace a portal y a temas nuevos

#1

Mensaje por amane19 »

Bien pues donde pone

Desconectarse Panel de Control de Usuario Foro 0 mensajes privados Usuarios Buscar FAQ

en el foro

quiero poner un enlace al portal de mi web o tro a los temas nuevos, no me importaría sustituir la pestaña FAQ o la de Foro por que no cabe =P

Agradezco toda ayuda. :ok:
URL: http://www.japanuniverse.org/Foros
Plantilla usuada: milky red
MODs instalados: tengo los phpbb codes de center, hice, etc
Version: phpbb 3.0.4
Servidor: minerva hosting

Avatar de Usuario
Manolo
Ex Staff
Mensajes: 1576
Registrado: 05 Oct 2006, 21:46
Género:
Edad: 60

Re: poner enlace a portal y a temas nuevos

#2

Mensaje por Manolo »

Despues del codigo relacionado con Faq pon esto:

Código: Seleccionar todo

&nbsp;&nbsp;<img src="./styles/milky_way_red/theme/images/menu_sep.png" alt="" />&nbsp;<a href="http://www.japanuniverse.org">Portal</a>
Hay muchos post sobre poner enlaces en el overall_header, te aconsejo usar la busqueda la proxima vez.
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]
No nos atrevemos a muchas cosas porque son difíciles, pero son difíciles porque no nos atrevemos a hacerlas. (Séneca)

© Manolo

amane19
Usuario/a
Mensajes: 54
Registrado: 25 Jul 2007, 17:46

Re: poner enlace a portal y a temas nuevos

#3

Mensaje por amane19 »

Manolo escribió:Despues del codigo relacionado con Faq pon esto:

Código: Seleccionar todo

&nbsp;&nbsp;<img src="./styles/milky_way_red/theme/images/menu_sep.png" alt="" />&nbsp;<a href="http://www.japanuniverse.org">Portal</a>


Hay muchos post sobre poner enlaces en el overall_header, te aconsejo usar la busqueda la proxima vez.
esque no pone eso, aqui te dejo mi codigo:
Spoiler

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>
<!-- INCLUDE _mg_config.html -->

<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" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<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>
<!--[if lt IE 7]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div style="width:{$MG_GLOBAL_WIDTH};clear:both;margin: 0 auto;">
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
		<td class="np-body" width="100%" valign="top">

<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" height="100" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top">&nbsp;</td>
</tr>
</table>
</div>

<!-- INCLUDE menu_block.html -->

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color:#CC3333;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<div id="wrapcentre">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div style="margin-top:50px;margin-bottom:50px;text-align:center;clear:both;"><div class="popuppm-new"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></div>
<!-- ENDIF -->
URL: http://www.japanuniverse.org/Foros
Plantilla usuada: milky red
MODs instalados: tengo los phpbb codes de center, hice, etc
Version: phpbb 3.0.4
Servidor: minerva hosting

Avatar de Usuario
jabilator
Miembro
Mensajes: 310
Registrado: 16 Oct 2007, 20:38

Re: poner enlace a portal y a temas nuevos

#4

Mensaje por jabilator »

Yo lo tengo enlazado desde dos sitios:

Al clicar en el Logo del foro vas al portal; abre overall_header.html


localiza

Código: Seleccionar todo

<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>

Sustituye por

Código: Seleccionar todo

<a href="http://www.japanuniverse.org">{SITE_LOGO_IMG}</a>


Añadiendo un nuevo link al lado de Indice General;

En prosilver

Abre overall_footer.html

localiza

Código: Seleccionar todo

<a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
sustituye

Código: Seleccionar todo

<a href="http://www.japanuniverse.org">Portal</a> &#187; <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>


En subsilver2

abre breadcrumbs.html

Localiza

Código: Seleccionar todo

<a href="{U_INDEX}">{L_INDEX}</a>
sustituye por

Código: Seleccionar todo

<a href="http://www.japanuniverse.org">Portal</a> &#187; <a href="{U_INDEX}">{L_INDEX}</a>

amane19
Usuario/a
Mensajes: 54
Registrado: 25 Jul 2007, 17:46

Re: poner enlace a portal y a temas nuevos

#5

Mensaje por amane19 »

gracias me sirvió
URL: http://www.japanuniverse.org/Foros
Plantilla usuada: milky red
MODs instalados: tengo los phpbb codes de center, hice, etc
Version: phpbb 3.0.4
Servidor: minerva hosting

amane19
Usuario/a
Mensajes: 54
Registrado: 25 Jul 2007, 17:46

Re: poner enlace a portal y a temas nuevos

#6

Mensaje por amane19 »

amane19 escribió:
Manolo escribió:Despues del codigo relacionado con Faq pon esto:

Código: Seleccionar todo

&nbsp;&nbsp;<img src="./styles/milky_way_red/theme/images/menu_sep.png" alt="" />&nbsp;<a href="http://www.japanuniverse.org">Portal</a>


Hay muchos post sobre poner enlaces en el overall_header, te aconsejo usar la busqueda la proxima vez.
esque no pone eso, aqui te dejo mi codigo:
Spoiler

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>
<!-- INCLUDE _mg_config.html -->

<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" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<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>
<!--[if lt IE 7]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div style="width:{$MG_GLOBAL_WIDTH};clear:both;margin: 0 auto;">
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
		<td class="np-body" width="100%" valign="top">

<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" height="100" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top">&nbsp;</td>
</tr>
</table>
</div>

<!-- INCLUDE menu_block.html -->

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color:#CC3333;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<div id="wrapcentre">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div style="margin-top:50px;margin-bottom:50px;text-align:center;clear:both;"><div class="popuppm-new"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></div>
<!-- ENDIF -->
podría ayudar alguien con este codigo tan raro?
URL: http://www.japanuniverse.org/Foros
Plantilla usuada: milky red
MODs instalados: tengo los phpbb codes de center, hice, etc
Version: phpbb 3.0.4
Servidor: minerva hosting

Avatar de Usuario
Manolo
Ex Staff
Mensajes: 1576
Registrado: 05 Oct 2006, 21:46
Género:
Edad: 60

Re: poner enlace a portal y a temas nuevos

#7

Mensaje por Manolo »

No me di cuenta y te puse el codigo para prosilver y ademas en lugar las variables puse las url directas, estoy empanao, no hay mas misterio :oops:
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]
No nos atrevemos a muchas cosas porque son difíciles, pero son difíciles porque no nos atrevemos a hacerlas. (Séneca)

© Manolo

Avatar de Usuario
jabilator
Miembro
Mensajes: 310
Registrado: 16 Oct 2007, 20:38

Re: poner enlace a portal y a temas nuevos

#8

Mensaje por jabilator »

amane19 escribió: quiero poner un enlace al portal de mi web o tro a los temas nuevos, no me importaría sustituir la pestaña FAQ o la de Foro por que no cabe
1.- Añadir enlace a portal

Imagen


abre milky_way_red\template\breadcrumbs.html

Localiza

Código: Seleccionar todo

    <a href="{U_INDEX}">{L_INDEX}</a>


Añadir antes

Código: Seleccionar todo

    <a href="http://www.japanuniverse.org">Portal</a>&nbsp;&#187;&nbsp; 


2.- Sustituir enlace Foro por enlace a Portal


Abre milky_way_red\template\menu_block.html

busca

Código: Seleccionar todo

<a href="{U_INDEX}">{L_FORUM}</a>
Reemplaza por

Código: Seleccionar todo

<a href="http://www.japanuniverse.org">Portal</a>


3.- Sustituir enlace FAQ por enlace a Últimos temas


Abre milky_way_red\template\menu_block.html

busca

Código: Seleccionar todo

<a href="{U_FAQ}">{L_FAQ}</a>
Reemplaza por

Código: Seleccionar todo

<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>

Cerrado

Volver a “Soporte para Estilos phpBB 3.0.x”