Pcultimate.net

Bienvenido, invitado ( Identificarse | Registrarse )

> Soporte IPB

Hemos ampliado la comunidad Pcultimate.net. El soporte IPB se hara en www.invision-board.net.
Cualquier consulta anterior sobre IPB se puede hacer en www.ipbultimate.net que ahora es de solo lectura.

 
Closed TopicStart new topic
> Adsense En Topico, Modulo 2.1.x
Black Dragon
mensaje Apr 10 2006, 06:45 AM
Publicado: #1


Webmaster
Ícono de Grupo

Grupo: Webmaster
Mensajes: 5,014
Registrado: 13-February 06
Desde: Tarragona - España
Miembro No.: 1



1- Buscar Source//lib/func_topic_linear.php :


Buscar:


CÓDIGO
//-----------------------------------------
// Print the footer
//-----------------------------------------


Añadir Antes:


CÓDIGO
//-----------------------------------------
// Google Adsense banner mod  
//-----------------------------------------
  $this->post_count++;
   if ($this->post_count == 1 )
  {
   $ad = array ( 'name_css' => 'normalname',
       'post_css' => ($post_count % 2 ? 'post1' : 'post2'),
       'pid' => '0',
       // Paste your Google ad code inside the single quotes
       'post'  => '
          <script type="text/javascript"><!--
            google_ad_client = "pub-4943294202955380";
            google_ad_width = 468;
            google_ad_height = 60;
            google_ad_format = "468x60_as_rimg";
            google_cpa_choice = "CAAQ9PO28QEaCN6ApOigfGuBKIzw6n4";
            //--></script>
            <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>'
                 );
  
   $bot_poster = array (
        
         'members_display_name'   => '<a href="http://www.dominio.net">Sr Bot</a>',
         'title'   => 'Gracias!',
         'avatar'  => '<img src=http://www.google.com/images/logo_sm.gif>',
         'member_group' => $this->ipsclass->lang['m_group'].' Bot',        
         'member_joined' => $this->ipsclass->lang['m_joined'].' '.$this->ipsclass->get_date( time(), 'JOINED' ),
        
        );  
  
   $this->post_count++;
   $ad['post_date'] = $row['post_date'];
   $this->output .= $this->ipsclass->compiled_templates['skin_topic']->RenderRow( $ad, $bot_poster );
  
  }




Cambiar el codigo Adsense y el dominio por el vuestro .

Adsense en topico
Autor: FatalError
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Topicos Similares

  Discusión Respuestas Autor Vistas Ultimo
Closed Topicos Similares 1.0.3
IPB 2.2
1 Black Dragon 211 17th April 2008 - 12:39 AM
Ultimo post por: Black Dragon
Closed Adsense En Header
Modulo IPB 2.1.x
0 Black Dragon 653 19th August 2006 - 07:39 PM
Ultimo post por: Black Dragon
Closed Adsense En Topico 2
Modulo 2.1.x
1 Black Dragon 725 7th June 2006 - 11:39 AM
Ultimo post por: Black Dragon


 



AFILIATE - ENLAZANOS- VER AFILIADOS
RSS LoFi Fecha y Hora actual: 23rd July 2008 - 06:23 PM