- 20 Jun 2012, 02:01
#14
[align=center][infobox]Nombre Tutorial: Añadir consejos de cómo escribir un post en el editor.
Versión: x
Autor: Juanla
Url del Autor http://www.coloreatuforo.com
Basado en: PROSILVER (en subsilver2 debería de funcionar también buscando su sitio)
Descripción y uso:
Añadimos un bloque debajo del asunto donde podemos poner algunos consejos que a la hora de que el usuario postee tenga en cuenta. Como normas, etc..[/infobox][/align]
Screenshot:
[img]http://img441.imageshack.us/img441/1746/14912986.png[/img]
[img]http://img138.imageshack.us/img138/2200/76151507.png[/img]
Tutorial:
Abrimos el archivo styles/tuestilo/template/posting_editor.html
Buscamos:
Añadimos después (Lo hice en Modo Spoiler, pero puedes añadirlo sin él si quieres):
Abrir styles/prosilver/template/quickreply_body.html
Si tienes el MOD que añade los BBcodes busca esto:
Versión: x
Autor: Juanla
Url del Autor http://www.coloreatuforo.com
Basado en: PROSILVER (en subsilver2 debería de funcionar también buscando su sitio)
Descripción y uso:
Añadimos un bloque debajo del asunto donde podemos poner algunos consejos que a la hora de que el usuario postee tenga en cuenta. Como normas, etc..[/infobox][/align]
Screenshot:
[img]http://img441.imageshack.us/img441/1746/14912986.png[/img]
[img]http://img138.imageshack.us/img138/2200/76151507.png[/img]
Tutorial:
Abrimos el archivo styles/tuestilo/template/posting_editor.html
Buscamos:
Code: Select all
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
<!-- ENDIF -->
Añadimos después (Lo hice en Modo Spoiler, pero puedes añadirlo sin él si quieres):
Code: Select all
Adaptar a la respuesta rápida de phpBB (La oficial): <div style="height:100%; margin:20px; padding: 15px; background-color: #d5e3eb; border: 1px solid #095387; margin-top:5px">
<div class="quotetitle"><b>Consejos</b>: <input class="button2 btnlite" type="button" value="Ver" style="text-align:center;width:100px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Esconder'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Mostrar'; }" />
</div>
<div class="quotecontent">
<div style="display: none;">
Tus consejos aquí
</div>
</div>
</div>
Abrir styles/prosilver/template/quickreply_body.html
Si tienes el MOD que añade los BBcodes busca esto:
Code: Select all
Si no lo tienes busca esto:
<!-- INCLUDE posting_buttons.html -->
Code: Select all
Añade arriba:
<div id="message-box-ns">
Code: Select all
Para añadirlo a un Mod de respuesta rápida como Evil quick reply abrimos el archivo posting_qr_body.html y buscamos:
<div style="height:100%; margin:20px; padding: 15px; background-color: #d5e3eb; border: 1px solid #095387; margin-top:5px">
<div class="quotetitle"><b>Consejos</b>: <input class="button2 btnlite" type="button" value="Ver" style="text-align:center;width:100px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Esconder'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Mostrar'; }" />
</div>
<div class="quotecontent">
<div style="display: none;">
Tus consejos aquí
</div>
</div>
</div>
Code: Select all
Agregaremos el código de los consejos arriba.<!-- INCLUDE posting_buttons.html -->
[mod=Carlos]Recuerda poner tus datos de soporte antes de pedir ayuda! Asi nos evitamos dramas y te ayudamos rapido [/mod]