1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Random Logo Header?

Discussion in 'Add-on Requests [Archive]' started by kuyenmotdivad, Mar 4, 2011.

  1. kuyenmotdivad

    kuyenmotdivad Active Member


    Is there a Random Logo Header addon so the logo changes when people refresh or reload the website...where it selects upto 3 logos and picks one at random?

    1. logo_1.png
    2. logo_2.png
    3. logo_3.png

    If there is one would the logos all have to be the same height and width?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. kuyenmotdivad

    kuyenmotdivad Active Member

    Thanks a lot. Will have a look at it.
  4. kuyenmotdivad

    kuyenmotdivad Active Member

    Tried, Cant get it working it shows random backgrounds not logos.
  5. Alex

    Alex Active Member

  6. Brett Peters

    Brett Peters Well-Known Member

    I am rotating images in a widget by using this ad rotator

    Cant see why you couldn't easily implement it for the logo
  7. Jaxel

    Jaxel Well-Known Member

    My image rotator can work for ANY image, backgrounds, as well as logos. I just happen to use it for backgrounds.
  8. kuyenmotdivad

    kuyenmotdivad Active Member

  9. Alex

    Alex Active Member

    On my test site I've got a custom style (style1), so I have uploaded the titleimage folder to 'styles/style1' then I set the path for the logo in the style properties to 'styles/style1/titleimage/logo.php' then you just upload the logo banners into the the titleimage folder and it will then rotate them with every page refresh
    kuyenmotdivad likes this.
  10. kuyenmotdivad

    kuyenmotdivad Active Member

    Thanks a lot works great.
  11. Alex

    Alex Active Member

    No worries :)
  12. onyxchase

    onyxchase Active Member

    Why not point your logo image to a PHP file and have the PHP file load and print a random logo? Should be very easy to do, just google PHP random logo or something.

    Edit: Whoops already answered

Share This Page