Results 1 to 7 of 7

Thread: banner rotater

  1. #1
    Join Date
    Jul 2002
    Posts
    9

    Cool banner rotater

    Hi, first off, I love this script

    Ok, now for the question:

    How can I implement the <php require> tag to the headers?

    I am using phpadsnew and I need to somehow place the php require tag to the top of all pages, so the banners will show up.

    I know I can use the JavaScript invocation, but prefer to use the normal invocation.

    Any suggestions??

  2. #2
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    21

    Default

    I would also like to know how we can work around using php scripts embedded.
    I use a voting poll that relies on php include. This no longer works because I believe the problem lies with having to use the index.html

    <?php include_once "/home/xxx/public_html/poll/booth.php";echo $php_poll->poll_process("newest");?>

    is there a way I can still use php?

    Please respond.

  3. #3
    Join Date
    Apr 2002
    Posts
    81

    Default

    If you want something simple that will work with your Indexu try Show and Sell.

    http://www.geocities.com/purelybymagic/script/

    Best of all it is free, and fairly easy to install.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    phpadsnew allow you to use html tag <img src=....> beside inserting php code. It will make it easier. You may insert it in header/footer or anywhere you like.

  5. #5
    Join Date
    Jul 2002
    Posts
    9

    Default

    Well, I figured out how to do it, but would need to hack several files. I forgot that your themes files are html, so the php require will not parse. I would need to rename the headers and footers to header.php and footer.php. I would then have to edit several php files (to add some include commands) in the main area (like index.php). I am going to need time to do this as I do not want to screw the codes up.

    Wish me luck and have a few cold ones for me while I dip into these codes.

  6. #6
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Good luck.

  7. #7
    Join Date
    Apr 2002
    Posts
    9

    Lightbulb

    hey Jor71,

    I want to use phpadsnew as well, I'm using the javascript now, but I guess the native would be better...

    So is there anything I can do to help ?

    Thanks
    thanks

    Alastair

Similar Threads

  1. Remove The anime banner
    By ex-static in forum v5.x
    Replies: 2
    Last Post: 04-26-2004, 06:27 PM
  2. Replies: 1
    Last Post: 03-11-2004, 04:59 PM
  3. Replies: 2
    Last Post: 08-03-2003, 02:40 AM
  4. Same banner in cascading subcategories
    By Phil Latio in forum v5.x
    Replies: 0
    Last Post: 09-09-2002, 10:12 AM
  5. Banner Rotation
    By Drifire in forum Pre-Sales Questions
    Replies: 5
    Last Post: 04-16-2002, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •