( ! ) 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.0008378504{main}( ).../showthread.php:0
20.0009403432require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00621730728pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00631730760google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00651731496preg_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.0008378504{main}( ).../showthread.php:0
20.0009403432require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00621730728pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00631730760google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00681732376parse_str( $string = NULL, $result = NULL ).../redirect.php:315
'Seleccionar todo' en [code] y [php]

'Seleccionar todo' en [code] y [php]
Bueno, espesamos de inmediato... Vamos a la plantilla 'headerinclude' (como; AdminCP --> Plantillas y Estilos --> Plantillas --> Default Templates -...

Bueno, espesamos de inmediato...

Vamos a la plantilla 'headerinclude' (como; AdminCP --> Plantillas y Estilos --> Plantillas --> Default Templates --> • Plantillas Sin Grupo (esta al final) --> 'headerinclude') y agregas el sgte. codigo:
Código:
<script type="text/javascript">
function selectCode(a)
{
   var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
   if (window.getSelection)
   {
      var s = window.getSelection();
       if (s.setBaseAndExtent)
      {
         s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
      }
      else
      {
         var r = document.createRange();
         r.selectNodeContents(e);
         s.removeAllRanges();
         s.addRange(r);
      }
   }
   else if (document.getSelection)
   {
      var s = document.getSelection();
      var r = document.createRange();
      r.selectNodeContents(e);
      s.removeAllRanges();
      s.addRange(r);
   }
   else if (document.selection)
   {
      var r = document.body.createTextRange();
      r.moveToElementText(e);
      r.select();
   }
}
</script>

Ahora vamos a Admin CP --> Configuración --> Lenguajes --> Español (o el que utilisas) --> global.lang.php y buscas:

Cita:php_code

Y agregas despues lo sgte:

Código:
<a href="#" onclick="selectCode(this); return false;">(Seleccionar Todo)</a>

Y haces lo mismo con:

Cita:code

Guardas, y Listo!

Fuente: MyBB Community Forums (Foro Oficial)
Creador del Tema: Joey_Pham423
Traductor del Tema: Yo
Y si yo uso el plugin que por ejemplo quiero poner el lenguaje SQL
[code=SQL]
UPDATE groups SET flags=0,name="Player" WHERE id=1;
UPDATE players SET group_id=1;
DELETE FROM groups WHERE id<>1;[/code]

Como le tendria que hacer?

O no se puede.

En fin provare este tuto con el code y php a ver si funciona.
gracias Big Grin Rep++
en donde encuentro el "headerinclude" ^ ^ ?
Vas a AdminCP --> Plantillas y Estilos --> Plantillas --> Default Templates --> • Plantillas Sin Grupo (esta al final) --> 'headerinclude'. Hay lo encuentras... (: