( ! ) 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.0001378840{main}( ).../showthread.php:0
20.0003403768require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00611766488pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00611766520google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00631767336preg_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.0001378840{main}( ).../showthread.php:0
20.0003403768require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00611766488pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00611766520google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00751768216parse_str( $string = NULL, $result = NULL ).../redirect.php:315
Como puedo poner una condición if else en la plantilla newthread

[Ayuda]  Como puedo poner una condición if else en la plantilla newthread
La variable $fid devuelve un valor Y si es 3 que oculte esto <td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td> <td class=...

La variable $fid devuelve un valor
Y si es 3 que oculte esto
Código:
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span></td>

Gracias
Última modificación: 12 Apr, 2015, 12:17 am por Yetis.
Me respondo yo mismo 
E encontrado un plugin que permite esoSmile
<if $variable['blabla'] == X then><elseif $bsda['duias']== X then><else></if>

Más o menos así se usa
Última modificación: 12 Apr, 2015, 6:00 pm por AndresXZ09.