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

Adding ads to forum categories

Discussion in 'Styling and Customization Questions' started by Rho Delta, Jan 9, 2012.

  1. Rho Delta

    Rho Delta Well-Known Member

    How did you do the small ads next to your forum categories?
     
  2. Pepelac

    Pepelac Well-Known Member

    There is a template hook hook, which I asked Kier for — node_forum_level_2_before_lastpost. And behind this all is ads add-on which I've made.
     
  3. Rho Delta

    Rho Delta Well-Known Member

    Didn't quite follow what you mean there, can you show me an image with annotations of how you accomplished this?
     
  4. Pepelac

    Pepelac Well-Known Member

    As there is no special ad template for such banners, I asked developers to add new template hook, which can be used by add-ons to include some data into template.

    And as I wrote, I've made special add-on to show ads. That add-on uses that template hook (node_forum_level_2_before_lastpost) to display banners next to forum categories.

    Without such add-on you can add such banners only manually by editing template node_forum_level_2 or by creating your own add-on.
     
  5. Rho Delta

    Rho Delta Well-Known Member

    Have you released your add on here? If not can you? :D
     
  6. Pepelac

    Pepelac Well-Known Member

    I'm planning to release paid version of this add-on in the near future.
     
    sandis, Bellinis and The Pet Board like this.

Share This Page