- Compatible XF versions
- 2.2
- 2.3
Added an additional advertising position for banners in the section block on the main page.
Install the add-on and when creating an ad you will have a new position "Sponsor forum" (Sponsor of the forum). In the advertising field, you can use the terms for the forums, for example:
Install the add-on and when creating an ad you will have a new position "Sponsor forum" (Sponsor of the forum). In the advertising field, you can use the terms for the forums, for example:
HTML:
<xf:if is="{$node.node_id} == 3">
<a href="#"><img src="https://imgholder.ru/88x31/ff9948/ffffff&text=занято&font=bebas&fz=18"></a>
<xf:elseif is="{$node.node_id} == 17" />
<a href="#"><img src="https://imgholder.ru/88x31/ff9948/ffffff&text=занято&font=bebas&fz=18"></a>
<xf:else />
<a href="#"><img src="https://imgholder.ru/88x31/8493a8/ffffff&text=свободно&font=bebas&fz=18"></a>
</xf:if>