( ! ) 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.0001378328{main}( ).../showthread.php:0
20.0001403256require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.01361728304pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.01361728336google_seo_redirect_hook( '' ).../class_plugins.php:142
50.01381729072preg_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.0001378328{main}( ).../showthread.php:0
20.0001403256require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.01361728304pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.01361728336google_seo_redirect_hook( '' ).../class_plugins.php:142
50.01411729952parse_str( $string = NULL, $result = NULL ).../redirect.php:315
Index con cuadros del Portal

Index con cuadros del Portal
bueno a cosa es simple es algo parecido a lo que tiene esta pagina http://custushost.com/foro.php el foro en medio y cuadros a la derecha... esto va...

bueno a cosa es simple es algo parecido a lo que tiene esta pagina http://custushost.com/foro.php el foro en medio y cuadros a la derecha...

esto va en su plantilla de index


Código PHP:
<table width="100%" cellspacing="10"  border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" align="center">
<
tr><td valign="top" width="70%" rowspan="2" align="left">

{
$forums}

</
td>

<
td>
<!-- 
startprimer_cuadro -->
<
table border="0" cellspacing="0" cellpadding="4" class="tborder">
<
tr>
<
td class="thead"><strong>AQUI EL NOMBRE DEL RECUADRO</strong></td>
</
tr>
<
tr>
<
td class="trow1" align="center">

AQUI AGREGAN LO QUE QUIERAN

</td>
</
tr>
</
table>
<!-- 
endprimer_cuadro -->

</
td>
</
tr>

<
td>
<!-- 
startsegundo_cuadro -->
<
table border="0" cellspacing="0" cellpadding="4" class="tborder">
<
tr>
<
td class="thead"><strong>AQUI EL NOMBRE DEL RECUADRO</strong></td>
</
tr>
<
tr>
<
td class="trow1">

AQUI AGREGAN LO QUE QUIERAN


</td>
</
tr>
</
table>
<!-- 
endsegundo_cuadro -->

</
td>
</
table


para agregar otro cuadro abajo deben cambiar el valor de "rowspan" (esta arriba de {$forums}) el valor que trae es de "2" por lo que solo crea 2 filas... ustedes lo cambian por el nº de cuadros que quieran

para crear otro solo deben crear una etiqueta <td> despues del penultimo </table> y poner este codigo


Código PHP:
<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<
tr>
<
td class="thead"><strong>AQUI EL NOMBRE DEL RECUADRO</strong></td>
</
tr>
<
tr>
<
td class="trow1">

AQUI AGREGAN LO QUE QUIERAN


</td>
</
tr>
</
table

eso va entre

</table>

<td> <-- el nuevo "td" para el nuevo cuadro

Aqui el codigo para un tercer cuadro

</td>
</table>

Espero le sirva a alguien saludos y si quieren editar, agregar y/o aportar algo mas al esto... bienvenido sea ~~ ;D
wuajajajaja no lo sabia xDDD
gracias por ello Gustavo pero siempre e leido que
que es mejor hacer una modificacion en la plantilla antes que un plugin
o algo asi e.e
en fin de todas formas ya lo hice y ahi esta Tongue
Usando el plugin PHP en Templates, se podria agregar las cajas del portal en el index, luego hago el tuto si nadie me gana.
{SIGNATURE_IMAGE}
pero el mio no usa plugins xDDDD
aunque debe quedar muy bueno eso Sama34 ;D
Aun sin utilizar el plugins se puede agregar los bloques.. yo prefiero no usarlo igual y modificar directamente los archivos php.. Buen aporte
Veo errores aquí:
<table width="100%" cellspacing="10" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" align="center">
Sería:
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" align="center">
Aparte de que hay un error si lo dejas como antes quedará envuelto el Foro en el tborder jaja
(12 Jan, 2012, 12:56 pm)Rikio escribió: Veo errores aquí:
<table width="100%" cellspacing="10" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" align="center">
Sería:
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" align="center">
Aparte de que hay un error si lo dejas como antes quedará envuelto el Foro en el tborder jaja

jajajaja gracias por la correccion...:thumbsup:
no soy experto en esto y solo trato de aportar un poco aunque sea :whistling:
Muy bueno amigo! Me será util Wink
www.ledahost.com | Email: info[at]ledahost.com | Skype: ledahost
VPS SSD - HOSTING Y RESELLER [cPanel, Plesk, etc] - DOMINIOS - BACKUPS - WAREZ & XXX
CUPONES: Hosting 20%: memudoaleda
Gracias bender por el tutorial.