( ! ) Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/inc/plugins/google_seo/redirect.php on line 298
Call Stack
#TimeMemoryFunctionLocation
10.0003378520{main}( ).../showthread.php:0
20.0004403448require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00601729096pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00601729128google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00621729880preg_replace( $pattern = '/\\?([^&?=]+)([=&])/u', $replacement = '&$1$2', $subject = NULL ).../redirect.php:298

( ! ) Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mybb-es.com/inc/plugins/google_seo/redirect.php on line 315
Call Stack
#TimeMemoryFunctionLocation
10.0003378520{main}( ).../showthread.php:0
20.0004403448require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00601729096pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00601729128google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00641730760parse_str( $string = NULL, $result = NULL ).../redirect.php:315
Agregar Botones al editor WYSIWYG

Agregar Botones al editor WYSIWYG
Para añadir un boton al editor wysiwyg necesitas abrir la plantilla "template" wysiwyg_default o (wysiwyg_quickreply Para el editor rapido) Busca es...

Para añadir un boton al editor wysiwyg necesitas abrir la plantilla "template" wysiwyg_default o (wysiwyg_quickreply Para el editor rapido)

Busca estas lineas:

Código:
errorField = false;
// build editor. pass neccessary variables
tinyMCE.init({

y arriba de eso escribir:
Código:
var tmpBBCode = { wysiwyg:0, bbCode:'BBCODE', htmlOpen:'', htmlClose:'', icon:'ICON', sourceCode:1, attributes:[{ attributeHTML:'', validationPattern:'^\\d+$', required:0 }] };
                extraBBCodes['UNIQUEBBCODENAME'] = tmpBBCode; sourceCodes['UNIQUEBBCODENAME'] = 'UNIQUEBBCODENAME'; language['UNIQUEBBCODENAME.title'] = "NAMEOFCODE";

Remplazar los siguientes nombres en estas lineas con sus respectivas variables.

BBCODE: Por ejemplo "SPOILER" cuando mycode es: "[SPOILER1][/SPOILER1]".
ICON: El nombre del icono en el folder de tu tema. Por defecto esta en... \jscripts\wysiwyg_themes\default\images.
UNIQUEBBCODENAME: El nombre de el BBCODE sin espacios o caracteres especiales. Por ejemplo: "Spoiler123" o "SPOILER"
NAMEOFCODE: Solo el nombre que quieres que aparesca en el eitor cuando pasas el cursor por encima.Por ejemplo: "Spoiler123" o "SPOILER"

Creditos: Todos los creditos van para MYBB la pagina oficial Smile
Asi quedara si todo queda bien.
[Imagen: NXvV3Q.png]

+rep ^^
:)
(12 Dec, 2011, 6:12 pm)Cluster escribió: +rep ^^

Gracias amigo Smile
Como se llama ese editor o de donde lo puedo descargar?