Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/mybb-es.com/html/inc/functions.php on line 7422
Como agregar spoiler y otros botones en mi foro - MyBB-Es.com
Contrata servicios web en ougcNetwork.
http://soul-maker.com/foro/
Version: Mybb 1.6.1

Como agrego la opcion para poner spoiler

[spoiler][/spoiler]

En mi foro

Tambien la opcion para cambiar de formato de BB a redactar osea sin codigo todo se muestra en el mensaje

Muchas gracias
puedes poner el spoiler usando un MyCode personalizado agreagalo desde el panel de administracion - MyCode personalizado.
Exprecion regular:
\[spoiler\](.*?)\[/spoiler\]
cambiar por:
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>Spoiler:</b> <input type="button" value="Ver" style="width:45px;font-size:10px;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 = 'Ocultar'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Ver'; }" /></div><div class="quotecontent"><div style="display: none;">$1</div></div></div>
7 Jan, 2011, 5:43 pm Himura wrote:
puedes poner el spoiler usando un MyCode personalizado agreagalo desde el panel de administracion - MyCode personalizado.
Exprecion regular:
\[spoiler\](.*?)\[/spoiler\]
cambiar por:
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>Spoiler:</b> <input type="button" value="Ver" style="width:45px;font-size:10px;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 = 'Ocultar'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Ver'; }" /></div><div class="quotecontent"><div style="display: none;">$1</div></div></div>

Muchas gracias pero como ago para q el boton aparesca arriba en las herramientas del mensaje

http://www.mybb-es.com/showthread.php?tid=3017