two dogs
Customer
I recently updated APTL Pro from 3.3.2 to 3.6.3, after encountering errors with 3.3.2 on updating vBulletin from 3.8.10 to 3.8.11. I can't recall if the errors were due to the vBulletin update, or the updates I did to PHP and mySQL for the vBulletin update (but that's probably irrelevant to this question).
In my APTL settings I have Cloud Location set to Below Posts, and Cloud Display Style set to No Header.
For purely cosmetic reasons, I'd rather not have an empty Cloud Location block displayed if no buttons have been clicked.
With APTL 3.3.2/vB 3.8.10 I was able to hide the empty Cloud Location block from being displayed, until any of the buttons had been clicked, by encapsulating the code that displays the entries in dbtech_thanks_postbit_entries with this:
With APTL 3.6.3/vB 3.8.11, doing this does hide an empty Cloud Location block, when no buttons have been clicked, but unlike my previous setup, the block is not displayed immediately when a button is clicked. Rather, it will now only be displayed if the page is refreshed, or otherwise redisplayed.
Have you any suggestions as to how I can reproduce the behaviour I'd like?
Julian
In my APTL settings I have Cloud Location set to Below Posts, and Cloud Display Style set to No Header.
For purely cosmetic reasons, I'd rather not have an empty Cloud Location block displayed if no buttons have been clicked.
With APTL 3.3.2/vB 3.8.10 I was able to hide the empty Cloud Location block from being displayed, until any of the buttons had been clicked, by encapsulating the code that displays the entries in dbtech_thanks_postbit_entries with this:
Code:
<div id="dbtech_thanks_block_{$post[postid]}" <if condition="$entries==false">style="display:none;"</if>>
...
</div>
With APTL 3.6.3/vB 3.8.11, doing this does hide an empty Cloud Location block, when no buttons have been clicked, but unlike my previous setup, the block is not displayed immediately when a button is clicked. Rather, it will now only be displayed if the page is refreshed, or otherwise redisplayed.
Have you any suggestions as to how I can reproduce the behaviour I'd like?
Julian