Best Banner Rotation Script for vBulletin?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeithMcL
    Senior Member
    • Jun 2000
    • 621
    • 3.6.x

    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, 3:10am.

  • auto
    Senior Member
    • Dec 2000
    • 598

    #2
    I'm using phpadsnew thru out my site, including vBulletin part.
    Webmaster
    http://www.AutomotiveForums.com

    Comment

    • KeithMcL
      Senior Member
      • Jun 2000
      • 621
      • 3.6.x

      #3
      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?

      Comment

      • auto
        Senior Member
        • Dec 2000
        • 598

        #4
        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.
        Webmaster
        http://www.AutomotiveForums.com

        Comment

        • ThePenguin
          Member
          • Feb 2001
          • 73

          #5
          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!

          Comment

          • George L
            Former vBulletin Support
            • May 2000
            • 32996
            • 3.8.x

            #6
            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
            :: Always Back Up Forum Database + Attachments BEFORE upgrading !
            :: Nginx SPDY SSL - World Flags Demo [video results]
            :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

            Comment

            • ThePenguin
              Member
              • Feb 2001
              • 73

              #7
              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...

              Comment

              • KeithMcL
                Senior Member
                • Jun 2000
                • 621
                • 3.6.x

                #8
                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?

                Comment

                • KeithMcL
                  Senior Member
                  • Jun 2000
                  • 621
                  • 3.6.x

                  #9
                  1 more question

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

                  Comment

                  • Zorg
                    Senior Member
                    • Jan 2001
                    • 236

                    #10
                    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, 6:20am.

                    Comment

                    • auto
                      Senior Member
                      • Dec 2000
                      • 598

                      #11
                      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.
                      Webmaster
                      http://www.AutomotiveForums.com

                      Comment

                      • George L
                        Former vBulletin Support
                        • May 2000
                        • 32996
                        • 3.8.x

                        #12
                        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
                        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                        :: Nginx SPDY SSL - World Flags Demo [video results]
                        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                        Comment

                        • auto
                          Senior Member
                          • Dec 2000
                          • 598

                          #13
                          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.
                          Webmaster
                          http://www.AutomotiveForums.com

                          Comment

                          • George L
                            Former vBulletin Support
                            • May 2000
                            • 32996
                            • 3.8.x

                            #14
                            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.
                            :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                            :: Nginx SPDY SSL - World Flags Demo [video results]
                            :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                            Comment

                            • KeithMcL
                              Senior Member
                              • Jun 2000
                              • 621
                              • 3.6.x

                              #15
                              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.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...