Página 1 de 1

Atorado en instrucciones Mod instant messenger  Tema Solucionado

Publicado: 25 Ago 2010, 21:25
por thedarkroomalive
Bueno pues estoy en medio de la instalacion del mod instant_messenger_0.4.1 y me estoy en la parte de edicion del overwall_header y me pide encontrar esta linea

Código: Seleccionar todo

<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
y Agregar despues esta:

Código: Seleccionar todo

<!--[if lt IE 7]>
  <link href="{T_THEME_PATH}/instant_messenger_ie.css" rel="stylesheet" media="all" type="text/css"  />
<![endif]-->


Encontrar esta:

Código: Seleccionar todo

	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
y Agregar despues esta:

Código: Seleccionar todo

	<!-- IF S_USER_ALLOW_IM --><link href="{T_THEME_PATH}/instant_messenger_bidi.css" rel="stylesheet" type="text/css" media="screen, projection" /><!-- ENDIF -->
y por ultimo encontrar esta:

Código: Seleccionar todo

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
Y agregar despues esta:

Código: Seleccionar todo

<!-- IF S_USER_ALLOW_IM and not S_IS_BOT -->
	<!-- INCLUDE instant_messenger_bar.html -->
<!-- ENDIF --> 

El unico problema es que ninguna de esas 3 lineas tengo :nolose:

aqui les dejo mi overral header para soporte :lee

Re: Atorado en instrucciones Mod instant messenger

Publicado: 25 Ago 2010, 22:56
por nextgen
Ese estilo varía mucho al original :shock: pero aver prueba esto

BUSCA:

Código: Seleccionar todo

<!-- RokBox phpBB3 Code End -->
AGREGA DESPUES:

Código: Seleccionar todo

<!--[if lt IE 7]>
  <link href="{T_THEME_PATH}/instant_messenger_ie.css" rel="stylesheet" media="all" type="text/css"  />
<![endif]-->
BUSCA:

Código: Seleccionar todo

</head>
AGREGA ANTES:

Código: Seleccionar todo

<!-- IF S_USER_ALLOW_IM --><link href="{T_THEME_PATH}/instant_messenger_bidi.css" rel="stylesheet" type="text/css" media="screen, projection" /><!-- ENDIF -->
BUSCA:

Código: Seleccionar todo

<body id="rt-variation" class="font-family-<!-- IF CRYSTAL_FONTFACE -->{CRYSTAL_FONTFACE}<!-- ELSE -->helvetica<!-- ENDIF --> font-size-is-default menu-type-<!-- IF IE_VERSION neq '6' -->fusionmenu<!-- ELSE -->suckerfishmenu<!-- ENDIF --> col12 section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} mar10-home">
AGREGA DESPUES:

Código: Seleccionar todo

<!-- IF S_USER_ALLOW_IM and not S_IS_BOT -->
   <!-- INCLUDE instant_messenger_bar.html -->
<!-- ENDIF --> 
Ahora refresca la plantilla y borra el cache del navegador aver si funciona :ok:

Re: Atorado en instrucciones Mod instant messenger

Publicado: 25 Ago 2010, 23:45
por thedarkroomalive
me aparece
Fatal error: Cannot redeclare display_forums() (previously declared in /home/content/39/6385539/html/includes/functions_display.php:22) in /home/content/39/6385539/html/includes/functions_display.php on line 517 :nolose:

Re: Atorado en instrucciones Mod instant messenger

Publicado: 26 Ago 2010, 02:02
por thedarkroomalive
perdon no pude editar el tema anterior ya resolvi el problema Fatal error: Cannot redeclare display_forums() (previously declared in /home/content/39/6385539/html/includes/functions_display.php:22) in /home/content/39/6385539/html/includes/functions_display.php on line 517 solo sucede cuando me dice que al archivo common.php en el directorio raiz encuentre la linea

Código: Seleccionar todo

	@include($phpbb_root_path . 'includes/hooks/' . $hook . '.' . $phpEx);
}
y agregue:

Código: Seleccionar todo

include_once( $phpbb_root_path . 'instant_messenger.' . $phpEx);
si la agrego me tira ese error, y en cuando a la edicion del archivo overall_header no pasa nada :nolose:

Re: Atorado en instrucciones Mod instant messenger

Publicado: 26 Ago 2010, 04:32
por nextgen
Puedes dejarnos el enlace al mod en cuestion?, también has refrescado la plantilla y borrado el cache del foro?

Re: Atorado en instrucciones Mod instant messenger

Publicado: 26 Ago 2010, 04:42
por thedarkroomalive
http://www.phpbb.com/community/viewtopi ... 08845&f=70 link del mod, y con respecto a las lineas que me diste a editar causan problemas de javascript al ponerla en esas lineas :lee y sip ya refresque plantilla y cache, es lo que siempre hago despues de instalar un mod