I found a weired behaviour of the RBS, and I hope one can help me to figure out what to do.
I want to display a banner after every 5 and 10 Posts of a Thread. So I simply added one Banner Definition for Position2 and another for Position 3 and modified the postbit_legacy as follows:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '5')">
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:2@-->
</div>
</div>
</vb:if>
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '10')">
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:3@-->
</div>
</div>
</vb:if>
In most of the threads the banners are displayed as required. But there are some threads where not, and I have no idea why.
I tried to use the "show only in Forums" setting by selecting all Forums, as well as to select not one, because it's ok to show the banner in all forums.
I don't have a limitation on the usergroups, as all of them should see the banners.
I have absolutely no idea where there could be the difference between two threads in the same forum, where in one thread the banners are displayed and in the other thread not.
Btw., it doesn't matter if a thread has more than one page. If the banner is not displayed on page 1 of a thread, it's not displayed on page 23 of 45 neither. If it's fine on page 1, it's fine on the following pages, too.
Maybe one has an idea.
We're running VB Suite 4.1.11
|