Announcement

Collapse
No announcement yet.

phpinclude problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cake
    replied
    but how would you do it if you banner is a HTML-Banner. Then you have to use view()....

    I don't know how to do that. I nearly tried everything but phpads won't work with html banners in the header

    Leave a comment:


  • JamesUS
    replied
    My phpinclude is empty and this is in the footer:
    <a href="/phpAds/click.php3"><img src="/phpAds/phpads.php3?what=468x60&n=ban1" border="0"></a>

    Leave a comment:


  • DjSao
    replied
    So how should the code look? could you post how your phpinclude looks and how you insert the banner into the header

    Leave a comment:


  • JamesUS
    replied
    It isn't possible to add PHP code to any of the templates except phpinclude.
    The way I use phpAds is to use Remote Invocation (I think they call it that) , check the documentation for details.

    Leave a comment:


  • DjSao
    started a topic phpinclude problem

    phpinclude problem

    Ive been trying to insert phpAdsNew into vbulletin but i have failed

    this is what my phpinclude template looks like:

    ob_start();
    require("../ads/phpAdsNew.inc.php");
    $header = ob_get_contents();
    ob_end_clean();

    And this is the code i add to the header

    <?php view("468x60", 0, "_blank"); ?>


    But it isnt working, what am i doing wrong

Related Topics

Collapse

Working...
X