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