Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Resolved Advertising space

Discussion in 'Showcase Support' started by Malchishka, May 16, 2019.

  1. Malchishka

    Malchishka New Member Showcase

    Is it possible to add ads after a large photo, section 1-5, location? It would be a very good update and a gift for webmasters :)
  2. Bob

    Bob Developer Staff Member

    XF2 has a built in advertising system. One of the neat functions that is included with it, is the ability to create your own custom Advertising positions (via the Development section) that you can then add those custom advertising positions were ever you want to (for instance, the places you mention).


    For the most basic use, you might create a custom position titled "Showcase: under cover image" with an unique id 'mal_sc_item_view_below_image' <--- just make sure that is unique in your system.

    Then you simply edit the xa_sc_item_view template and add the XF template helper:

    <xf:ad position="mal_sc_item_view_below_image" arg-item="{$item}" />
    You can now navigate to Admin CP >> Setup >> Advertising >> Add advertisement. Clicking on the Position dropdown, you will see the position "Showcase: under cover image" :)

    I currently have no plans to integrate any built in positions as its just way to easy for admins to create their own and place them exactly where they want them.

    Hope that made sense?
    Malchishka likes this.
  3. Malchishka

    Malchishka New Member Showcase

    Many thanks for the detailed answer!
    Bob likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.