[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 194: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 199: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 267: Trying to access array offset on value of type bool
phpBBMexico • [Solucionado]Poner emoticones en una pestaña - Page 2
Page 2 of 4

Re: Poner emoticones en una pestaña

Posted: 21 Sep 2012, 15:16
by Carlos
bueno, yo tampoco no saber hacerlo :oops:

Re: Poner emoticones en una pestaña

Posted: 01 Oct 2012, 20:58
by Cruciattus
Abri tema en el foro de soporte en ingles y me han respondido con esto
https://www.phpbb.com/community/viewtop ... &t=2163343
no entiendo la primera parte, me lo podriais decir como es en español? no entiendo que tengo que sustituir. Gracias.

Re: Poner emoticones en una pestaña

Posted: 01 Oct 2012, 21:33
by cisco007
exactamente cual parte? dices que la primera parte pero que parte?

Re: Poner emoticones en una pestaña

Posted: 01 Oct 2012, 21:54
by Cruciattus
La de posting_body.html, toda

Re: Poner emoticones en una pestaña

Posted: 01 Oct 2012, 22:01
by cisco007
pit-PL wrote:En posting_body.html
busca, tal vez no lo encuentres pero busca algo similar:
Code: Select all
<tr>
	<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
	<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td>
</tr>
agrega despues
Code: Select all
<tr>
	<td class="row1" width="22%"><b class="genmed">{L_MESSAGE_BODY}:</b></td>
	<td class="row2" width="78%"><span class="genmed">{L_MESSAGE_BODY_EXPLAIN}</span></td>
</tr>
encuentra y elimina
Code: Select all
	<td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}:</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN}&nbsp;</span><br /><br />
	<!-- IF S_SMILIES_ALLOWED -->
		<table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">
		<tr>
			<td class="gensmall" align="center"><b>{L_SMILIES}</b></td>
		</tr>
		<tr>
			<td align="center">
				<!-- BEGIN smiley -->
					<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
				<!-- END smiley -->
			</td>
		</tr>

		<!-- IF S_SHOW_SMILEY_LINK -->
			<tr>
				<td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td>
			</tr>
		<!-- ENDIF -->

		</table>
	<!-- ENDIF -->
	</td>
encuentra
Code: Select all
	<td class="row2" valign="top">
		<script type="text/javascript">
		// <![CDATA[
			var form_name = 'postform';
			var text_name = 'message';
		// ]]>
		</script>
reemplaza con
Code: Select all
	<td class="row2" valign="top" colspan="2">
		<script type="text/javascript">
		// <![CDATA[
			var form_name = 'postform';
			var text_name = 'message';
			function resettoggle() 
			{
				var e = document.getElementById('popup-smilies');
				e.style.display = 'none';
			}
			function toggle_visibility(id)
			{
				var e = document.getElementById(id);
				if(e.style.display == 'none')
					e.style.display = 'block';
				else
					e.style.display = 'none';
			}
		// ]]>
		</script>
busca [c]<!-- INCLUDE posting_buttons.html -->[/c]
agrega despues
Code: Select all
		<!-- IF S_SMILIES_ALLOWED -->
			<tr id="popup-smilies" align="center" style="display: none;">
				<td>
					<!-- BEGIN smiley -->
						<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
					<!-- END smiley -->
					<!-- IF S_SHOW_SMILEY_LINK -->
						<br /><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
					<!-- ENDIF -->	
				</td>
			</tr>
		<!-- ENDIF -->

Re: Poner emoticones en una pestaña

Posted: 02 Oct 2012, 00:02
by Cruciattus
Creo que falta algun paso mas, o algo no lo habré hecho bien, porque la pestaña no se ve
[img]http://i.imgur.com/xMAq8.png[/img]
Sabrias tu concluir con el proceso?? o sigo preguntando en ese otro foro.

Re: Poner emoticones en una pestaña

Posted: 02 Oct 2012, 00:04
by Carlos
Refrescaste el template del estilo?

limpiaste el cache?

Re: Poner emoticones en una pestaña

Posted: 02 Oct 2012, 00:09
by cisco007
yo te traduci las ediciones de la primera parte! lo de el archivo de el posting_body.html, todavía te faltaba hacer las de el archivo de posting_buttons.html, por si no las has hecho todavía.
pero ya hice una prueba de eso y no es justo lo que pedías, tal vez si sea, lo único que hace es que la lista de emoticones se abra al pulsar el botón!

Re: Poner emoticones en una pestaña

Posted: 02 Oct 2012, 10:42
by Cruciattus
Podrias editar las instrucciones para que en lugar del click aparezcas en la pestaña con el scroll???
[img]http://i.imgur.com/aNwYr.png[/img]

Re: Poner emoticones en una pestaña

Posted: 02 Oct 2012, 11:38
by cisco007
no pues, esas serian instrucciones completamente diferentes como te dije la primera vez. yo no lo se hacer, esas instrucciones que te dieron te las podría haber dado yo, pero yo sabia que eso no era lo que querías.
pero no yo no puedo hacer eso! lo siento!