Support How To Add Banner Ads Between Specific Category Nodes On

wubaba

Registered
4TTYBcS.png


I have tried Ads Manager 2 by Siropu and tried normal Advertising section but i cannot find that how to add Banner Ads Between Specific Category Nodes On The Forum Index

Please help me.

Thanks
 
Solution
I have tried Ads Manager 2 by Siropu and tried normal Advertising section but i cannot find that how to add Banner Ads Between Specific Category Nodes On The Forum Index

Please help me.

Thanks
  • You can do this without plugins
  • Search : node_list_category
Rich (BB code):
<xf:macro name="depth1" arg-node="!" arg-extras="!" arg-children="!" arg-childExtras="!" arg-depth="1">
    <div class="block block--category block--category{$node.node_id}">
        <span class="u-anchorTarget" id="{$node.Data.getCategoryAnchor()}"></span>
        <div class="block-container">
            <h2 class="block-header">
                <a href="{{ link('categories', $node) }}">{$node.title}</a>
                <xf:if...

XenForo

Administrative
I have tried Ads Manager 2 by Siropu and tried normal Advertising section but i cannot find that how to add Banner Ads Between Specific Category Nodes On The Forum Index

Please help me.

Thanks
  • You can do this without plugins
  • Search : node_list_category
Rich (BB code):
<xf:macro name="depth1" arg-node="!" arg-extras="!" arg-children="!" arg-childExtras="!" arg-depth="1">
    <div class="block block--category block--category{$node.node_id}">
        <span class="u-anchorTarget" id="{$node.Data.getCategoryAnchor()}"></span>
        <div class="block-container">
            <h2 class="block-header">
                <a href="{{ link('categories', $node) }}">{$node.title}</a>
                <xf:if is="{$node.description}"><span class="block-desc">{$node.description|raw}</span></xf:if>
            </h2>
            <div class="block-body">
                <xf:macro template="forum_list" name="node_list"
                    arg-children="{$children}"
                    arg-extras="{$childExtras}"
                    arg-depth="{{ $depth + 1 }}" />
            </div>
        </div>
    </div>

----------------------code here-----------
<xen:if is="{$category.node_id} == 16">
<div id='yobee-middleinside'></div></xen:if>
----------------------code here-----------

</xf:macro>
  • For example, we have this code
Rich (BB code):
    <img style="-webkit-user-select: none;margin: auto;background-color: hsl(0, 0%, 90%);transition: background-color 300ms;" src="https://server.xnforo.ir/uploads/dc9720e286862.jpg">
 
Solution
  • Tags
    add banner ads between specific category nodes how to add banner ads between specific category
  • Back
    Top Bottom