[Solved] Guests do not see forum navigation buttons
I have some trouble with guest users. I found that guests do not see top and bottom navigation buttons (wpf-navi-topic-top and wpf-navi-topic-bottom). With registered users all is fine. The problem is just with guests.
What setting is wrong? Thanks.
In this code:
<?php if( is_array($topics) && !empty($topics) ) : ?>
<?php WPF()->tpl->pagenavi($paged, $items_count, true, 'wpf-navi-topic-top'); ?>
<?php include( wpftpl('layouts/'.($cat['cat_layout'] ? $cat['cat_layout'] : 1).'/topic.php') ); ?>
<?php WPF()->tpl->pagenavi($paged, $items_count, true, 'wpf-navi-topic-bottom'); ?>
<?php else : ?>
<p class="wpf-p-error"><?php wpforo_phrase('No topics were found here') ?> </p>
<?php endif; ?>
I found that when I logged on forum in code above $items_count is eqal the number of topics in actual forum. But when I visit the forum as guest $items_count = 0.
Please wait for the next 1.5.0 version release. This issue has already fixed. We're releasing the new version tomorrow.
1.5.0 is released please update, delete all caches and test it again.
Hi, the problem was solved for me after the update and then somehow came back. Guests unable to see next page buttons. Please see here: