Results 1 to 3 of 3

Thread: HELP - Ad Banners not working correctly!

  1. #1
    Join Date
    Sep 2008
    Location
    Germany - Deutschland
    Posts
    90

    Default HELP - Ad Banners not working correctly!

    Hi there. I went ahead and integrated a banner image with a link from within the admin panel. No problem, easy as pie. This was supposed to be the top banner of the page. The banner image works everywhere since the reference to it comes directly out of the image archive which never changes. However, the link to the ad only works on some of the pages and that's just not acceptable. For example:

    When viewing the home or start page of the video portal ... banner and link work just fine.

    But when entering the page for recent videos the path includes /recent/ which now won't permit the link to work anymore. Same thing happens when viewing a clip. If you try to click on the banner from there, the path of the clip itself shows up before the path to the banner link. Example: /view/7/nameofclip.wmf/ ..... followed by the rest of the path to the banner link which now obviously can't work anymore.

    This is a serious problem! How can I sell that banner space if the link won't work properly everywhere? I can't possibly expect for a client to accept this is satisfactory and I certainly don't want to sell an "inferior product" with items that won't work right. Again, the banner image works fine everywhere, but just the link won't work from all of the screens!
    Any advice or help would be appreciated.
    .
    EinfachClicken - Family friendly, Fast, Fun, Informative
    Videoportal: http://www.meineclipshow.einfachclicken.de/
    Freebie Flashgames: http://www.megaspass.einfachclicken.de/
    GERMAN HOMEPAGE - http://www.einfachclicken.de/ TONS of FREE STUFF in over 40.000 files.

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: HELP - Ad Banners not working correctly!

    The problem that you are describing has nothing to do with vShare and everything to do with your banner HTML code. You are experiencing what is a common issue when using relative paths. In order for your images to work correctly on all pages, you will need to use absolute paths. Here is what I mean:

    Your image code for your banner probably looks something like this:

    Code:
    [img]images/bannerad.jpg[/img]
    You will need to change that to look more like this:

    Code:
    The first code is relative, meaning that the browser will always take the start directory (which is what is listed in the browser) and append the page to it. Thus, if you are at http://www.example.com, the images would work. But, if you visit http://www.example.com/example/path, the browser would append "images/bannerad.jpg" to the end of that, making it http://www.example.com/example/path/images/bannerad.jpg.

    The second code is absolute, meaning that the browser will always looking for the image at that exact location. In this case, it would not matter if you are at http://www.example.com or http://www.example.com/example/path, the browser will always look for the image at http://www.example.com/images/bannerad.jpg.

    Let me know if you need further help.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3
    Join Date
    Sep 2008
    Location
    Germany - Deutschland
    Posts
    90

    Default Re: HELP - Ad Banners not working correctly!

    Wow, that's really weird ....
    I don't know why you took the time to answer, because someone must have deleted my own answer. I figured all of that out with the absolute paths and then I provided a detailed answer right below my original comment. Later I saw that my answer was gone ... replaced by yours instead. That is definitely weird. Thanks anyway though.
    .
    EinfachClicken - Family friendly, Fast, Fun, Informative
    Videoportal: http://www.meineclipshow.einfachclicken.de/
    Freebie Flashgames: http://www.megaspass.einfachclicken.de/
    GERMAN HOMEPAGE - http://www.einfachclicken.de/ TONS of FREE STUFF in over 40.000 files.

Similar Threads

  1. Rotating banners - Help?
    By tman in forum Installation Support
    Replies: 7
    Last Post: 07-28-2009, 01:29 PM
  2. Accents in URL Not correctly replaced
    By autodafe in forum Fixed Bugs
    Replies: 6
    Last Post: 12-26-2008, 11:36 PM
  3. Changing advertising banners
    By imelamed in forum General Discussions
    Replies: 1
    Last Post: 09-20-2007, 08:13 PM
  4. Long videos not playing correctly.
    By GhostFreak in forum Installation Support
    Replies: 19
    Last Post: 08-29-2007, 04:51 AM
  5. 16:9 video fails to display correctly - Why?
    By Dafydd in forum General Discussions
    Replies: 3
    Last Post: 08-20-2007, 08:05 PM

Bookmarks

Posting Permissions

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