( ! ) 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.0001378584{main}( ).../showthread.php:0
20.0008403512require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00781728640pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00781728672google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00801729424preg_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.0001378584{main}( ).../showthread.php:0
20.0008403512require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00781728640pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00781728672google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00841730304parse_str( $string = NULL, $result = NULL ).../redirect.php:315
[Tutorial] 3 formas de colocar afiliados.

[Tutorial] 3 formas de colocar afiliados.
Afiliados en el pie de todas las paginas. Este tutorial se me ocurrió copearlo de WbDev. Les dejo el tutorial explicado. Este sera el resultado: [...

Afiliados en el pie de todas las paginas.

Este tutorial se me ocurrió copearlo de WbDev. Les dejo el tutorial explicado.

Este sera el resultado:
[attachment=912]

Vamos a editar esta plantilla:
ACP -> Plantillas y Temas -> Plantillas -> TU TEMA Plantillas -> Pie Plantillas -> footer

Agregamos al principio antes de todo:
Código:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2">
<strong>Amigos</strong>
</td>
</tr>
<tr>
<td class="trow2" style="padding:5px 50px;" width="10%">
<a href="URL_DE_TU_WEB" title="TITULO_DE_TU_WEB" rel="follow"><img src="BOTON_DE_TU_WEB" alt="" title="TITULO_DE_TU_WEB"></a>
</td>
<td class="trow2" width="90%">
<marquee height="100%" width="100%" behavior="scroll" direction="left" scrollamount="3" scrolldelay="30" loop="true" onmouseover="this.stop()" onmouseout="this.start()">
<a href="LINK_AFILIADO_1" title="TITULO_AFILIADO_1" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_1" alt="" title="TITULO_AFILIADO_1"/></a>&nbsp;
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"/></a>&nbsp;
</marquee>
</td>
</tr>
<tr>
<td class="tfoot" colspan="2">
&nbsp;
</td>
</tr>
</table>
<br />

Esta es la linea para colocar nuevos afiliados:
Código:
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"></a>&nbsp;

Live Preview: InuxForos

Afiliados dentro de las estadisticas(solo indice)

Asi es como queda:
[attachment=913]

Vamos a esta plantilla:
ACP -> Plantillas y Temas -> Plantillas -> TU TEMA Plantillas -> Indice Plantillas -> index_stats

Al final de todo agregamos este codigo:
Código:
<tr><td class="tcat"><span class="smalltext"><strong>Legenda</strong></span></td></tr>
<tr>
<td class="trow1"><span class="smalltext">
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td class="trow2" style="padding:5px 50px;border-right:1px solid;" width="10%">
<a href="URL_DE_TU_WEB" title="TITULO_DE_TU_WEB" rel="follow"><img src="BOTON_DE_TU_WEB" alt="" title="TITULO_DE_TU_WEB"></a>
</td>
<td class="trow2" width="90%">
<marquee height="100%" width="100%" behavior="scroll" direction="left" scrollamount="3" scrolldelay="30" loop="true" onmouseover="this.stop()" onmouseout="this.start()">
<a href="LINK_AFILIADO_1" title="TITULO_AFILIADO_1" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_1" alt="" title="TITULO_AFILIADO_1"/></a>&nbsp;
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"/></a>&nbsp;
</marquee>
</td>
</tr>
</table>
</td>
</tr>

Esta es la linea para colocar nuevos afiliados:
Código:
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2" rel="follow"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"></a>&nbsp;

Insertar Afiliados en el portal:

Este sera el resultado:

Vamos a editar esta plantilla:
ACP -> Plantillas y Temas -> Plantillas -> TU TEMA Plantillas -> Portal Plantillas -> portal

Buscamos:
{$latestthreads} o {$whosonline}

Colocan este código después de eso:
Código:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Afiliados</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td class="trow2" style="padding:5px 50px;border-bottom:1px solid;" width="10%">
<a href="URL_DE_TU_WEB" title="TITULO_DE_TU_WEB"><img src="BOTON_DE_TU_WEB" alt="" title="TITULO_DE_TU_WEB"></a>
</td>
<td class="trow2" width="90%">
<marquee height="100%" width="100%" behavior="scroll" direction="left" scrollamount="3" scrolldelay="30" loop="true" onmouseover="this.stop()" onmouseout="this.start()">
<a href="LINK_AFILIADO_1" title="TITULO_AFILIADO_1" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_1" alt="" title="TITULO_AFILIADO_1"/></a><br/>
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2" rel="follow" target="_blank"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"/></a><br/>
</marquee>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />

Esta es la linea para colocar nuevos afiliados:
Código:
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"></a><br/>

Para controlar la velocidad deven modificar esto:
Cita:<marquee height="100%" width="100%" behavior="scroll" direction="left" scrollamount="3" scrolldelay="30" loop="true" onmouseover="this.stop()" onmouseout="this.start()">

.See Ya!
{SIGNATURE_IMAGE}
oye bour cual es el plug y sip es mejor mod las plantillas Smile buen tuto amigo Tongue
saludos
Me sirvio man (: Gracias,
pero como lo hago mas rapido?
y tambien que al darle click no salga de mi web si no que se habra otra ventana?

Ayuda PLS!
Simple y bueno, buen tutorial amigo.
(2 Apr, 2011, 5:23 am)Dino escribió: Me sirvio man (: Gracias,
pero como lo hago mas rapido?
y tambien que al darle click no salga de mi web si no que se habra otra ventana?

Ayuda PLS!

<a href="LINK_AFILIADO_1" title="TITULO_AFILIADO_1" target="_blank"><img src="IMAGEN_AFILIADO_1" alt="" title="TITULO_AFILIADO_1"></a><br/>

Para hacerlo mas rapido tienes que cambiar esto scrollamount="20".

Yo lo puse en 5 pero no entiendo por que no anda rapido...

Edit: Agregadas dos formas mas para colocar afiliados, para no crear mas temas aparte.
target="_blank" esto es lo que se agregar a cada enlace.

Edito2: Edita esto para hacerlo mas rapido:
scrollamount="3"

Pero si colocas un(ejemplo) 30, parecera que da un brinco de un lugar a otro, asi que usa un numero meno a 5.
Gracias por sus comentarios, motivan mucho Wink
{SIGNATURE_IMAGE}
<a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"></a>&nbsp;

link afiliado ok
titulo del afiliado ok
imagen del afiliado ok
y este otro que devo poner (title="TITULO_AFILIADO_2")

gracias por tu aporte es muy bueno espero por una respuesta
(4 May, 2011, 6:38 am)sobasleo escribió: <a href="LINK_AFILIADO_2" title="TITULO_AFILIADO_2"><img src="IMAGEN_AFILIADO_2" alt="" title="TITULO_AFILIADO_2"></a>&nbsp;

link afiliado ok
titulo del afiliado ok
imagen del afiliado ok
y este otro que devo poner (title="TITULO_AFILIADO_2")

gracias por tu aporte es muy bueno espero por una respuesta

Código:
title="TITULO_AFILIADO_2"

Es para la información que sale en el tool ltip cuando se coloca el mouse sobre la imagen.

Si te das cuenta el de link también lo tiene, es para tener una apariencia mas amigable con el SEO, es preferible siempre usarlo en las imágenes y links.
{SIGNATURE_IMAGE}
o ta wena gracias xDDD
disculpa esto también sirve para agregar publicidad?