Notifications
Clear all

wpForo 1.x.x [Solved] Guests do not see forum navigation buttons

40 Posts
3 Users
8 Reactions
27.3 K Views
antonM
Posts: 131
Topic starter
(@antonm)
Estimable Member
Joined: 8 years ago

Hi guys!

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.

39 Replies
antonM
Posts: 131
Topic starter
(@antonm)
Estimable Member
Joined: 8 years ago

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.

 

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi antonM,

Please wait for the next 1.5.0 version release. This issue has already fixed. We're releasing the new version tomorrow.

1 Reply
antonM
(@antonm)
Joined: 8 years ago

Estimable Member
Posts: 131

I look forward to the new update. It is a huge problem because guests do not see other topics and leave site 🙁

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

1.5.0 is released please update, delete all caches and test it again.

1 Reply
antonM
(@antonm)
Joined: 8 years ago

Estimable Member
Posts: 131

Hi Robert!

Updated! All works perfectly! The problem is gone.

Posts: 75
 TGW
(@tgw)
Estimable Member
Joined: 7 years ago

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:

https://the-great-work.org/community/main-forum/

 

Page 1 / 7