Announcement

Collapse
No announcement yet.

Best Banner Rotation Script for vBulletin?

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

  • KeithMcL
    replied
    OK, lemme see if I understand what you guys are saying.

    I have phpadsnew setup on my forums (webdevforums.com) and I would also like to show a certain clients banner on my other site (webdevsites.com).

    So, what I need to do is use "Remote Invocation with Javascript" and then place the code the "Generate Bannercode" phpAdsnew creates on the page(s) on my other site. Is this right?

    The code the Remote Invocation with Javascript has created for me is:
    Code:
    <script language='JavaScript' src='adjs.php?clientID=2&target=_blank&withText=0'></script>
    Should I change the src to the full URL?

    Thanks so far to all that have helped.

    Leave a comment:


  • George L
    replied
    Originally posted by auto
    I did a comparo between the <img tag and the php way. Php loads the banner noticably faster. Also, with <img you can't load HTML banners, so flash wont work, and simple text wont either.
    well yeah then you'd need to use remote invocation with javascript

    This technique allows you to use HTML banners remotely. Just like in Local Mode, you can use the "what" argument to select the banner. All you need to do is insert this code:
    Code:
    <script language="JavaScript" src="adjs.php"></script>
    You should also add parameters to adjs.php. The following parameters are compatible with Remote Invocation with JavaScript: what, clientID, target, source and withText.
    Code:
    <script language="JavaScript" src="adjs.php?what=main&target=_blank">
    </script>
    This would show a banner from the main group and, when clicked, a new window would be opened.

    Leave a comment:


  • auto
    replied
    I did a comparo between the <img tag and the php way. Php loads the banner noticably faster. Also, with <img you can't load HTML banners, so flash wont work, and simple text wont either.

    Leave a comment:


  • George L
    replied
    i call phpadsnew banner ads via remote invocation (javascript and href method) on my forums and my sites

    for simple href link method to specify a certain banner on a page i use

    Code:
    <a href="http://adserver.eva2000.com/adverts/click.php?n=pagename" target="_blank">
    <img src="http://adserver.eva2000.com/adverts/phpads.php?what=pagename&n=pagename" border="0"></a>
    where pagename is the keyword or specific banner ad i want to display

    Leave a comment:


  • auto
    replied
    I'm not sure which file it is... probably phpadsnew.inc.php , open it up and check for any spaces before <? and after ?> and delete them.

    Leave a comment:


  • Zorg
    replied
    Auto,

    I installed phpadsnew and it works fine, but I get this error at the top of "posts" only, not the links to posts.
    Warning: Cannot add header information - headers already sent by (output started at /home/ausforum/public_html/adbanner/phpadsnew.inc.php:47) in ./admin/functions.php on line 1187
    Any help would be great.
    Last edited by Zorg; Thu 14 Jun '01, 7:20am.

    Leave a comment:


  • KeithMcL
    replied
    1 more question

    Is it possible to setup my PHP pages on another site of mine to call banners using phpadsnew from my forums?

    Leave a comment:


  • KeithMcL
    replied
    auto, thank you very much for your help. I have the banners working perfectly on my site now.

    One last quick questions though:

    1. If I have a specific banner I want to show on my forums, what code do I add to my header template?

    Leave a comment:


  • ThePenguin
    replied
    I think I just figured it out actually without an SSI call. It seems to be working. Its brought up a few other questions...I'm off to look at the documents now for some info. RTFM, eh? I have to figure out why my Amazon HTML code isn't rotating...

    Leave a comment:


  • George L
    replied
    Originally posted by ThePenguin
    Hi--

    I just downloaded and installed phpadsnew. It was quite easy! I'll add in some ads next and then integrate it into Vbulletin but I'd like to use it on the rest of my site too. Most of the pages are not PHP though and I would have to call this script via SSI I suppose. What would the code be to do that? Can it be done? I hope so!
    read the files in the /document folder

    the manual is pretty good this time round compared to previous versions of phpadsnew

    Leave a comment:


  • ThePenguin
    replied
    Hi--

    I just downloaded and installed phpadsnew. It was quite easy! I'll add in some ads next and then integrate it into Vbulletin but I'd like to use it on the rest of my site too. Most of the pages are not PHP though and I would have to call this script via SSI I suppose. What would the code be to do that? Can it be done? I hope so!

    Leave a comment:


  • auto
    replied
    Go to Modify Styles > [fonts/colors/etc] > and in the PHP parsed code include this:
    PHP Code:
    require("/home/username/public_html/pathto/phpadsnew.inc.php");
    $ads_array=view_raw("468x60"); 
    and then where you want to show the actual banner put this in:
    PHP Code:
    $ads_array[html
    , in my case it was in the header template.

    I am pretty sure that's it.

    Leave a comment:


  • KeithMcL
    replied
    Originally posted by auto
    I'm using phpadsnew thru out my site, including vBulletin part.
    auto, can you post info on how you set it up please?

    Leave a comment:


  • auto
    replied
    I'm using phpadsnew thru out my site, including vBulletin part.

    Leave a comment:


  • KeithMcL
    started a topic Best Banner Rotation Script for vBulletin?

    Best Banner Rotation Script for vBulletin?

    I was planning on using phpAdsNew with my vBulletin forums and did a search for phpAdsNew on these forums.

    Whilst reading some of the search result threads, there were a good few other banner rotation script/services mentioned.

    For thos that have a vBulletin forum, which banner rotation script/service do you use (if any)? How much does it cost you (to purchase/run/etc)? How easy was it to install/setup?

    I was hoping to find a free script/service that allows a client to login and view their banner stats.

    Hope someone can help me out here.

    Thanking you in advance.
    Last edited by KeithMcL; Wed 13 Jun '01, 4:10am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X