Gracias a todos los usuarios que ayudan al foro reportando los mensajes y temas que incumplen las reglas o que no están bien ubicados.¡Sigan así que ayudan mucho al foro haciendo eso!
0 Usuarios y 1 Visitante están viendo este tema.
Antes que nada aclaro que hay muchos temas sobre esto pero creo que nuncase hizo un tema que contenga todos estos datos que puede servir para que de una vez por todas cuando un usuario pregunte se pueda enviar al tutorial y resuelto el dilema...
<hr width="100%" size="1" class="hrcolor" />
<hr width="100%" size="1" class="hrcolor" />'; // Inicio codigo: Adsense dentro de tu primer mensaje if ($message['id'] == $context['first_message']) { echo ' <div align="center">Codigo Adsense</div><hr> '; } // Fin codigo: Adsense dentro de tu primer mensaje echo '
// Show the post itself, finally!
// Inicio codigo: Adsense dentro de tu primer mensaje if ($message['id'] == $context['first_message']) { echo ' <hr><div align="center">Aca tu script de adsense</div> '; } // Fin codigo: Adsense dentro de tu primer mensaje // Show the post itself, finally!
Opcion 2 hecha por vicram:En el Display.template.phpBuscaCódigo: [Seleccionar] // Show the post itself, finally!Agrega Antes Código: [Seleccionar]//GoogAd Mod Start global $user_info; if ($message['id'] == $context['first_message'] && $user_info['is_guest']) { $google_codigo= '<div style="float:left"> TU CODIGO DE ADSENSE AQUI </div>'; }else{ $google_codigo =""; } //GoogAd Mod EndLuegoBuscaCódigo: [Seleccionar]<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>Reemplaza porCódigo: [Seleccionar]<div class="inner" id="msg_', $message['id'], '"', '>', $google_codigo, $message['body'], '</div>Si quieres mover izquierda o derecha el bloque de Publicidad solo debes cambiar float:left por float:right
//GoogAd Mod Start global $user_info; if ($message['id'] == $context['first_message'] && $user_info['is_guest']) { $google_codigo= '<div style="float:left"> TU CODIGO DE ADSENSE AQUI </div>'; }else{ $google_codigo =""; } //GoogAd Mod End
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
<div class="inner" id="msg_', $message['id'], '"', '>', $google_codigo, $message['body'], '</div>
Opcion 3. Mod hecho por vicramGoogAd Mod v1.1 (2.0 RC2+)
// Show the member's signature?
// Inicio codigo: Bloque adsense en el final del post if ($message['id'] == $context['first_message']) { echo ' <hr><div align="center">Codigo Adsense</div> '; } // Fin codigo: Bloque adsense en el final del post // Show the member's signature?
// Inicio codigo: Adsense dentro de tu primer mensaje if ($message['id'] == $context['first_message']) { echo ' <hr><div align="center">Aca tu script de adsense</div> '; } // Fin codigo: Adsense dentro de tu primer mensaje // Show the member's signature?
// Done with the information about the poster... on to the post itself. echo ' </div>
// Done with the information about the poster... on to the post itself. echo ' </div>'; // Inicio codigo: Adsense dentro de tu primer mensaje if ($message['id'] == $context['first_message']) { echo ' <hr><div align="center">Codigo Adsense</div> '; } // Fin codigo: Adsense dentro de tu primer mensaje echo '
// Done with the information about the poster... on to the post itself
// Inicio codigo: Adsense dentro de tu primer mensaje if ($message['id'] == $context['first_message']) { echo ' <hr><div align="center">Codigo Adsense</div> '; } // Fin codigo: Adsense dentro de tu primer mensaje// Done with the information about the poster... on to the post itself