Página 1 de 1

Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 03:46
por DarthVe
Buenas, escribo por que tengo un problema con el mod de mitch, el caso es que veo las imagenes lo veo todo perfecto el problema es que cuando le doy click, un ejemplo a la de URL, no agregan las marquesillas a la caja de texto y tampoco seagregan ningun codigo al post.

Esto mismo pasa con todas las imagenes da igual cual pulses que no funcionan, me di cuenta tambien que pasa con los emoticonos.

Este el codigo que me mandan a buscar en posting_buttons.html

Código: Seleccionar todo

<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
	<dl style="clear: left;">
		<dt><label>{L_FONT_COLOR}:</label></dt>
		<dd>
		<script type="text/javascript">
		// <![CDATA[
			function change_palette()
			{
				dE('colour_palette');
				e = document.getElementById('colour_palette');
				
				if (e.style.display == 'block')
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
				}
				else
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
				}
			}

			colorPalette('h', 15, 10);
		// ]]>
		</script>
		</dd>
	</dl>
</div>

<div id="format-buttons">
	<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
	<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
	<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
	<!-- IF S_BBCODE_QUOTE -->
		<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
	<!-- ENDIF -->
	<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
	<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
	<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
	<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
	<!-- IF S_BBCODE_IMG -->
		<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_LINKS_ALLOWED -->
		<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_BBCODE_FLASH -->
		<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
	<!-- ENDIF -->
	<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<option value="150">{L_FONT_LARGE}</option>
		<option value="200">{L_FONT_HUGE}</option>
	</select>
	<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
	<!-- BEGIN custom_tags -->
		<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
	<!-- END custom_tags -->
</div>
<!-- ENDIF -->
Este el codigo Original de posting_buttons.html de mi estilo

Código: Seleccionar todo

<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
	<dl style="clear: left;">
		<dt><label>{L_FONT_COLOR}:</label></dt>
		<dd>
		<script type="text/javascript">
		// <![CDATA[
			function change_palette()
			{
				dE('colour_palette');
				e = document.getElementById('colour_palette');
				
				if (e.style.display == 'block')
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
				}
				else
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
				}
			}

			colorPalette('h', 15, 10);
		// ]]>
		</script>
		</dd>
	</dl>
</div>

<div id="format-buttons">
	<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
	<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
	<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
	<!-- IF S_BBCODE_QUOTE -->
		<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
	<!-- ENDIF -->
	<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
	<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
	<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
	<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
	<!-- IF S_BBCODE_IMG -->
		<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_LINKS_ALLOWED -->
		<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_BBCODE_FLASH -->
		<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
	<!-- ENDIF -->
	<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
			<option value="150">{L_FONT_LARGE}</option>
			<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
				<option value="200">{L_FONT_HUGE}</option>
			<!-- ENDIF -->
		<!-- ENDIF -->
	</select>
	<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
	<!-- BEGIN custom_tags -->
		<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
	<!-- END custom_tags -->
</div>
<!-- ENDIF -->
Este el codigo que me mandan a remplazar en posting_buttons.html

Código: Seleccionar todo

<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">

		<script type="text/javascript">
		// <![CDATA[
			function change_palette()
			{
				dE('colour_palette');
				e = document.getElementById('colour_palette');
				
				if (e.style.display == 'block')
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
				}
				else
				{
					document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
				}
			}

			colorPalette('h', 15, 10);
		// ]]>
		</script>
</div>

<div id="format-buttons">
		<select name="fuentes" style="height: 22px;" onchange="bbfontstyle('[font=' + this.form.fuentes.options[this.form.fuentes.selectedIndex].value + ']', '[/font]');this.selectedIndex=0;" title="Tipo de fuente: [font=Arial]Texto[/font]">
			<option value="" style="font-family: Verdana;" selected="selected">Fuente</option>
			<option value="Arial" style="font-family: Arial;">Arial</option>
			<option value="Comic Sans MS" style="font-family: 'Comic Sans MS';">Comic Sans MS</option>
			<option value="Courier New" style="font-family: 'Courier New';">Courier New</option>

			<option value="Impact" style="font-family: Impact;">Impact</option>
			<option value="Lucida Console" style="font-family: 'Lucida Console';">Lucida Console</option>
			<option value="Lucida Sans Unicode" style="font-family: 'Lucida Sans Unicode';">Lucida Sans Unicode</option>
			<option value="Microsoft Sans Serif" style="font-family: 'Microsoft Sans Serif';">Microsoft Sans Serif</option>
			<option value="Symbol" style="font-family: Symbol;">Symbol</option>
			<option value="Tahoma" style="font-family: Tahoma;">Tahoma</option>

			<option value="Times New Roman" style="font-family: 'Times New Roman';">Times New Roman</option>
			<option value="Traditional Arabic" style="font-family: 'Traditional Arabic';">Traditional Arabic</option>
			<option value="Trebuchet MS" style="font-family: 'Trebuchet MS';">Trebuchet MS</option>
			<option value="Verdana" style="font-family: Verdana;">Verdana</option>
			<option value="Webdings" style="font-family: Webdings;">Webdings</option>
			<option value="Wingdings" style="font-family: Wingdings;">Wingdings</option>
		</select>

		<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 0;" title="{L_BBCODE_F_HELP}">
			<option value="" selected="selected">Tamaño</option>
			<option value="50">{L_FONT_TINY}</option>
			<option value="85">{L_FONT_SMALL}</option>
			<option value="100">{L_FONT_NORMAL}</option>
			<option value="150">{L_FONT_LARGE}</option>
			<option value="200">{L_FONT_HUGE}</option>
		</select>
		<input type="button" style="height: 22px;" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
<br>

<img src="./images/posting/left.gif" border="0" alt="align=left" onclick="bbfontstyle('[align=left]','[/align]')" title="Alinear a la Izquierda: [align=left]Texto[/align]" class="bbimages"/>
<img src="./images/posting/center.gif" border="0" alt="align=center" onclick="bbfontstyle('[align=center]','[/align]')" title="Centrar: [align=center]Texto[/align]" class="bbimages"/>
<img src="./images/posting/right.gif" border="0" alt="align=right" onclick="bbfontstyle('[align=right]','[/align]')" title="Alinear a la Derecha: [align=right]Texto[/align]" class="bbimages"/>
<img src="./images/posting/justify.gif" border="0" alt="align=justify" onclick="bbfontstyle('[align=justify]','[/align]')" title="Justificar: [align=justify]Texto[/align]" class="bbimages"/>

<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />

<img src="./images/posting/bold.gif" border="0" alt="b" accesskey="b" name="addbbcode0" value=" B " onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" class="bbimages"/>
<img src="./images/posting/italic.gif" border="0" alt="i" accesskey="i" name="addbbcode2" value=" i " onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}"  class="bbimages"/>
<img src="./images/posting/under.gif" border="0" alt="u" accesskey="u" name="addbbcode4" value=" u " onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}"  class="bbimages"/>
<img src="./images/posting/strike.gif" border="0" alt="strike" onclick="bbfontstyle('[strike]','[/strike]')" title="Texto Tachado: [strike]Texto[/strike]" class="bbimages"/>
<img src="./images/posting/sup.gif" border="0" alt="sup" onclick="bbfontstyle('[sup]','[/sup]')" title="Superíndice: [sup]Texto[/sup]" class="bbimages"/>
<img src="./images/posting/sub.gif" border="0" alt="sub" onclick="bbfontstyle('[sub]','[/sub]')" title="Subíndice: [sub]Texto[/sub]" class="bbimages"/>

<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />

<img src="./images/posting/listb.gif" border="0" alt="list" accesskey="l" name="addbbcode10" value="List" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}"  class="bbimages"/>
<img src="./images/posting/listo.gif" border="0" alt="list=" accesskey="o" name="addbbcode12" value="List=" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}"  class="bbimages"/>
<img src="./images/posting/listitem.gif" border="0" alt="[*]" accesskey="t" name="addlitsitem" value="[*]" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}"  class="bbimages"/>

<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />

<img src="./images/posting/highlight=.gif" border="0" alt="highlight" onclick="bbfontstyle('[highlight=#FFFFAA]','[/highlight]')" title="Toque de luz (highlight): [highlight=#COLOR]Texto[/highlight]" class="bbimages"/>
<img src="./images/posting/hr.gif" border="0" alt="hr" onclick="bbfontstyle('[hr]','[/hr]')" title="Línea Horizontal: [hr][/hr]" class="bbimages"/>
<img src="./images/posting/ot.gif" border="0" alt="ot" onclick="bbfontstyle('[ot]','[/ot]')" onmouseover="helpline('ot')" title="Offtopic: [ot]Texto[/ot]" class="bbimages"/>
		
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
		
<img src="./images/posting/marqd.gif" border="0" alt="marquee=down" onclick="bbfontstyle('[marquee=down]','[/marquee]')" title="Desplazar texto hacia abajo: [marquee=down]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marqu.gif" border="0" alt="marquee=up" onclick="bbfontstyle('[marquee=up]','[/marquee]')" title="Desplazar texto hacia arriba: [marquee=up]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marql.gif" border="0" alt="marquee=left" onclick="bbfontstyle('[marquee=left]','[/marquee]')" title="Desplazar texto hacia la izquierda: [marquee=left]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marqr.gif" border="0" alt="marquee=right" onclick="bbfontstyle('[marquee=right]','[/marquee]')" title="Desplazar texto hacia la derecha: [marquee=right]Texto[/marquee]" class="bbimages"/>
<br>
		<!-- IF S_BBCODE_QUOTE -->
<img src="./images/posting/quote.gif" border="0" alt="quote" accesskey="q" name="addbbcode6" value="Quote" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}"  class="bbimages"/>
		<!-- ENDIF -->
<img src="./images/posting/code.gif" border="0" alt="code" accesskey="c" name="addbbcode8" value="Code" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}"  class="bbimages"/>
<img src="./images/posting/spoiler.gif" border="0" alt="spoiler" onclick="bbfontstyle('[spoiler]','[/spoiler]')" title="Spoiler: [spoiler]Texto[/spoiler]" class="bbimages"/>

<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />

		<!-- IF S_BBCODE_IMG -->
<img src="./images/posting/img.gif" border="0" alt="img" accesskey="p" name="addbbcode14" value="Img" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}"  class="bbimages"/>
		<!-- ENDIF -->
		<!-- IF S_LINKS_ALLOWED -->
<img src="./images/posting/url.gif" border="0" alt="url" accesskey="w" name="addbbcode16" value="URL" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}"  class="bbimages"/>
		<!-- ENDIF -->
<img src="./images/posting/email.gif" alt="email" border="0" onclick="bbfontstyle('[email]','[/email]')" title="Correo: [mail]Correo[/mail]" class="bbimages"/>

<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
		
		<!-- IF S_BBCODE_FLASH -->
<img src="./images/posting/flash.gif" border="0" alt="flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}"  class="bbimages"/>
		<!-- ENDIF -->
<img src="./images/posting/video.gif" border="0" alt="mp3" onclick="bbfontstyle('[video width=320 height=285]','[/video]')" title="Video (avi/wmv/mpg): [video width=ancho height=alto]URL del archivo[/video]" class="bbimages"/>
<img src="./images/posting/mp3.gif" border="0" alt="mp3" onclick="bbfontstyle('[mp3]','[/mp3]')" title="Archivo de audio (mp3): [mp3]URL del archivo[/mp3]" class="bbimages"/>
<img src="./images/posting/quick.gif" border="0" alt="quick" onclick="bbfontstyle('[quick width=320 height=240]','[/quick]')" title="Video Quicktime: [quick width=ancho height=alto]URL del archivo[/quick]" class="bbimages"/>
<img src="./images/posting/ram.gif" border="0" alt="ram" onclick="bbfontstyle('[ram width=275 height=40]','[/ram]')" title="Archivo Real Media: [ram width=ancho height=alto]URL del archivo[/ram]" class="bbimages"/>
<img src="./images/posting/googlevideo.gif" border="0" alt="googlevideo" onclick="bbfontstyle('[googlevideo]','[/googlevideo]')" title="Video google: [googlevideo]ID del video[/googlevideo]" class="bbimages"/>
<img src="./images/posting/youtube.gif" border="0" alt="youtube" onclick="bbfontstyle('[youtube]','[/youtube]')" title="Video youtube:[youtube]ID del video[/youtube]" class="bbimages"/>
	<!-- IF S_BBCODE_ALLOWED and .custom_tags -->	
<br>	
	<!-- BEGIN custom_tags -->
<img src="./images/posting/{custom_tags.BBCODE_TAG}.gif" border="0" name="addbbcode{custom_tags.BBCODE_ID}" alt="{custom_tags.BBCODE_TAG}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}"  class="bbimages"/>
	<!-- END custom_tags -->
	<!-- ENDIF -->
</div>
	<!-- ENDIF -->
La unica direfrencia que encontre fue el siguiente

Original

Código: Seleccionar todo

<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
			<option value="150">{L_FONT_LARGE}</option>
			<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
				<option value="200">{L_FONT_HUGE}</option>
			<!-- ENDIF -->
		<!-- ENDIF -->
	</select>
En Buscar

Código: Seleccionar todo

<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<option value="150">{L_FONT_LARGE}</option>
		<option value="200">{L_FONT_HUGE}</option>
	</select>
Remplazar

Código: Seleccionar todo

<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 0;" title="{L_BBCODE_F_HELP}">
			<option value="" selected="selected">Tamaño</option>
			<option value="50">{L_FONT_TINY}</option>
			<option value="85">{L_FONT_SMALL}</option>
			<option value="100">{L_FONT_NORMAL}</option>
			<option value="150">{L_FONT_LARGE}</option>
			<option value="200">{L_FONT_HUGE}</option>
		</select>
Espero que me puedan ayudar

Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 04:18
por leviatan21
DarthVe escribió:Buenas, escribo por que tengo un problema con el mod de mitch, el caso es que veo las imagenes lo veo todo perfecto el problema es que cuando le doy click, un ejemplo a la de URL, no agregan las marquesillas a la caja de texto y tampoco seagregan ningun codigo al post.

Esto mismo pasa con todas las imagenes da igual cual pulses que no funcionan, me di cuenta tambien que pasa con los emoticonos.
Como comenté en el otro tema donde colocaste una consulta similar ( Cambiar botones de BBcodes de phpBB3 a botones con Imagenes )
Generalmente se trata de un problema de Javascript, si al realizar los cambios cometiste un error, no funcionarán los botones.
El código que colocas puede no ser correcto, ese tutorial tiene ya mucho tiempo y debería actualizarse.

Si puedes darnos un enlace a tu foro donde como usuarios no registrados podamos acceder a responder un mensaje o si nos das un acceso con un usuario, podríamos indicarte cual puede ser el error

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 04:26
por DarthVe
ok te mando el usuario y la contraseña por mensaje privado

en esa entraras como admistrador del foro
te parece?

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 04:33
por leviatan21
DarthVe escribió:ok te mando el usuario y la contraseña por mensaje privado

en esa entraras como admistrador del foro
te parece?
No necesariamente debe ser Administrador, con tal de poder acceder al área de escribir mensaje, me debería servir :mrgreen:

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 04:36
por DarthVe
ya te mende el mensaje privado con el usuario y la clave, pero x si acaso tienes todos los permiso como administrador y creo que ahi tambien desde acp de estilo vas a poder ver las plantillas

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch  Tema Solucionado

Publicado: 11 Mar 2011, 04:46
por leviatan21
Lo dicho, es un problema JS, y se debe a esta edición, en el archivo raíz/styles/naruto_shippuuden/template/editor.js

Código: Seleccionar todo

                /* === Super Quick Reply focus fix Start === */
        var SQRFocus = window.SQRFocusFix || false;
        if(!SQRFocus)
        {
                            /* === mChat focus fix Start === */
                var mChatFocus = window.mChatFocusFix || false;
                if(!mChatFocus)
                {
                    textarea.focus();
                }
                baseHeight = doc.selection.createRange().duplicate().boundingHeight;
                /* ==== mChat focus fix End ==== */
        /* ==== Super Quick Reply focus fix End ==== */
 
No se cual de los dos MOD es el causante del problema si el Super Quick Reply o el mChat
Sin ver los isntalacores de esos dos MODs, no sabrrías decirte exactamente como debería ser, pero creo que cambiándolo de esta manera se solucionará :

Código: Seleccionar todo

        /* === Super Quick Reply focus fix Start === */
        var SQRFocus = window.SQRFocusFix || false;
        if(!SQRFocus)
        {
                /* === mChat focus fix Start === */
                var mChatFocus = window.mChatFocusFix || false;
                if(!mChatFocus)
                {
                    textarea.focus();
                }
                baseHeight = doc.selection.createRange().duplicate().boundingHeight;
                /* ==== mChat focus fix End ==== */
        }
        /* ==== Super Quick Reply focus fix End ==== */
 

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 04:52
por DarthVe
sigue igual, pero creo que puede ser el Super Quick Reply ya que me acabo de dar cuenta que la respuesta rapida desaparecio

Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 05:14
por leviatan21
DarthVe escribió:sigue igual,
Yo veo que si funciona, por las dudas, como es un archivo .js deberías refrescar el navegador una o dos veces :P

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 05:25
por DarthVe
gracias, ya funciona

te lo agradesco mucho

Re: Problema con mod Cambiar botones de BBcodes de phpBB3 de mitch

Publicado: 11 Mar 2011, 05:30
por leviatan21
DarthVe escribió:gracias, ya funciona

te lo agradesco mucho
:ok: por favor marca el tema como solucionado desde la respuesta adecuada, de esa manera usuarios que consulten este tema sabrán fácilmente como se solucionó