Notifications
Clear all

wpForo 1.x.x [Closed] Forum Statistics & latest topic

10 Posts
3 Users
1 Reactions
4,709 Views
Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Ok, thank you, we'll check this again and fix in next release.

Posts: 17
 Geek
Topic starter
(@geek)
Eminent Member
Joined: 9 years ago

Hello,

 

Is the problem normally resolved in the recent build ? (beta 6)

 

i've tried but he's still here (cache delete)

 

Thanks

 

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

Probably this is a widget cache. WordPress caches widgets. i recommend remove wpForo widgets from sidebars, delete caches and put those again.

Posts: 4
(@com_man)
Active Member
Joined: 8 years ago

I also have this problem. Same as above, guest has 'no access', can't view the forum, but can still see the post title in the latest posts.

Posts: 4
(@com_man)
Active Member
Joined: 8 years ago

For anyone else who has this issue. I made a temporary workaround.

Line 131 of wpforo.php includes:

$posts = $this->topic->get_topics(  'orderby' => 'modified', 'order' => 'DESC', 'row_count' => 1 ) );

You can add specific forums you want to pull from by adding

'forumids' => array( numbers of forum ids here seperated by commas),

In my case I used:

$posts = $this->topic->get_topics( array( 'forumids' => array( 2, 3, 5, 8, 12), 'orderby' => 'modified', 'order' => 'DESC', 'row_count' => 1 ) );

 

Page 2 / 2