+ Reply to Thread
Results 1 to 4 of 4

Thread: Colocar banner obligatorio en php-nuke

  1. #1
    Ixreb's Avatar
    Ixreb is offline x10Hosting Member Ixreb is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    6

    Arrow Colocar banner obligatorio en php-nuke

    Como dice el título, voy a explicar como colocar el script obligatorio en el header del php-nuke, aparecerá siempre visible encima de las noticias, el foro... queda muy estético y no es nada invasivo.

    Bien, pongamonos manos a la obra. Para ver el script que debeis insertar debeis entrar en:
    http://x10hosting.com/account/ads (logearos)



    De los que os aparecerán, os recomiendo que utiliceis el script que aparece en "Personal Advertisement Code", de esa forma no tendréis que cambiarlo tengais el Hosting Package que tengais. El script tendrá esta forma:
    <script type="text/javascript" src="http://x10hosting.com/adserve.js?xxxx"></script>
    Donde xxxx será vuestro nombre de usuario.

    Una vez sepais el código de vuestro script debeis ir a la carpeta includes de vuestro php-nuke y creais un archivo llamado script-x10hosting.php (podeis ponerle el nombre que querais siempre y cuando lo tengais en cuenta luego).



    Hecho esto debeis abrirlo con algún editor de texto (el bloc de notas vale) y pegar el código de vuestro script añadiendo delante <center> y detrás </center>, esto sirve para que el banner quede centrado, por tanto debe quedar de la forma:
    <center><script type="text/javascript" src="http://x10hosting.com/adserve.js?xxxx"></script></center>
    Donde xxxx será vuestro nombre de usuario.



    Después de esto, debeis ir a la carpeta raiz de vuestro php-nuke y editar el archivo header.php . Buscad la linea:
    include("includes/counter.php");
    y añadir debajo:
    include("includes/script-x10hosting.php");



    Guardais y subís ambos archivos por ftp a su carpeta correspondiente.

    Hecho todo esto debería verse el script. Si quereis ver como quedaría visitar mi web, la podeis encontrar en mi firma.
    Aprende a ganar dinero con www.carterasana.3a2.com

  2. #2
    ZharkD's Avatar
    ZharkD is offline Retired ZharkD is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    MX
    Posts
    5,914

    Re: Colocar banner obligatorio en php-nuke

    Mmm veo doble tema, mira este otro... es identico XD, evita hacer doble post porke te pueden sancionar ^^
    Por otra parte, buen aporte ^^


    salu2

  3. #3
    Ixreb's Avatar
    Ixreb is offline x10Hosting Member Ixreb is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    6

    Re: Colocar banner obligatorio en php-nuke

    si GM Punk, ayer tuve un error y le di a postear sin colocarle el título pero le di a parar inmediatamente y pensé que no se habia posteado. Pero al colocar el título y postear me di cuenta que estaba doble.

    En cuanto lo vi reporté el post dando una explicación, pero aun no lo han borrado.

    Un saludo
    Aprende a ganar dinero con www.carterasana.3a2.com

  4. #4
    figu120's Avatar
    figu120 is offline x10 Elder figu120 is an unknown quantity at this point
    Join Date
    Jul 2007
    Location
    medellin-Colombia
    Posts
    924

    Re: Colocar banner obligatorio en php-nuke

    Uff
    que excelente manual...
    Pues queda bien estetiko

    Soluciones de Cloud Computing y Posicionamiento SEO
    Twitter @AnvarStudios
    Dominio Gratis en : Free domain name in:

+ Reply to Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. [PHP] PHP For Starters
    By Complex in forum Tutorials
    Replies: 24
    Last Post: 06-14-2008, 11:40 PM
  3. nuke and the banner!
    By blackpsycho in forum Free Hosting
    Replies: 1
    Last Post: 11-29-2007, 04:18 PM
  4. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers