1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented No Ad Location Templates ?

Discussion in 'Closed Suggestions' started by vijayninel, Oct 9, 2010.

  1. vijayninel

    vijayninel Active Member

    Hi ,

    I'm very disappointed that there are no pre-defined ad location templates. Where are we supposed to put the ads then ? I use the ad location templates in vb not just to put ads but even other hacks and features.

    Please consider putting some ad location templates or it will be very difficult for a lot of people to do that.

    Raitsa, melbo, Ned Dawson and 52 others like this.
  2. joX

    joX Active Member

    This would also be nice. I don't really display external ads on my site, but it would prove handy to be able to place banners or text in key area's to promote upgrades.
  3. Carlos

    Carlos Well-Known Member

    Yeah, surprised myself, too.
  4. Peggy

    Peggy Well-Known Member

    I'll be placing them in the header - right side, and in the side column.
  5. Dodgeboard

    Dodgeboard Well-Known Member

    That was one of the first things I went looking for...to no avail.
  6. BirdOPrey5

    BirdOPrey5 Well-Known Member

  7. Nick

    Nick Well-Known Member

    Definitely something we need.
  8. Peggy

    Peggy Well-Known Member

    Absolutely. And something I'm sure they will add before 1.0.

    NOTE - everyone who wants this needs to "LIKE" the first post.
  9. Nick

    Nick Well-Known Member

    I think a moderator needs to "bump" this policy, because it seems that a lot of people either forgot it or never saw it. (http://xenforo.com/community/threads/guide-to-suggestions.2284/)

    Replying to Suggestions

    First and foremost, if you like the suggestion that a person has made, like the post. If you have further tweaks to the suggestion, please post them but still like the post.
  10. Peggy

    Peggy Well-Known Member

    I'm on it. :)
    Nick likes this.
  11. Peggy

    Peggy Well-Known Member

    Well it's already stickied, so not sure what we can do except to keep reminding people that if they want the suggestion implemented, LIKE the first post.
    Putting it in my signature.
  12. dutchbb

    dutchbb Well-Known Member

  13. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    For now, adding them manually via template edits isn't too difficult. I've done them on my forum in the sidebar, under the navbar and at the bottom of the page above the footer.

    Basically, create a new template on each add, customize it with conditionals.

    Then go into PAGE_CONTAINER, add then to the appropriate spot.

    I could write a quick tutorial if anyone's interested, but it's not overly difficult.
  14. Nick

    Nick Well-Known Member

    I was going to recommend creating a tutorial/article describing how to do this. Would be much appreciated by many of us. ;) Perhaps even with a way to get one somewhere in the header, too.
  15. kkm323

    kkm323 Well-Known Member

    i would like to add them myself, but is also great to have them as features in the next release it would make our life easier to navigate our ads thanx
  16. dutchbb

    dutchbb Well-Known Member

    I just added the code right in the page container template. But I need some conditionals there... to prevent the banner from showing on certain pages/forums.
  17. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    Could you share some of the conditions for me? Right now they're on all of the pages, but I'd like to learn how to exclude only some of them.

    Of course you can add all the code right in the page container, but having separate templates and using includes makes things much more manageable!
  18. dutchbb

    dutchbb Well-Known Member

    Sorry I don't know them either, I said I need them. Can you explain how it is more manageable? Because you still have to edit the template after upgrades. But maybe I'm forgetting something.
  19. erich37

    erich37 Well-Known Member

  20. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    Because if you need to edit or change your ad, you can go into template. Search for the template name and edit it.

    If you just placed it all in PAGE_CONTAINER, you'll have to go through and find the relevant section.

    Hold on I'll write up a quick tutorial.
    erich37 likes this.

Share This Page