#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
guest login topic p...
 
Share:
Share
Tweet
Share
Notifications
Clear all

guest login topic pagination missing for extended layout

    Last Post
RSS

nando4
Posts: 111
nando4 - Skype
 nando4
Topic starter
April 11, 2019 4:52 am
(@nando4)
Estimable Member
Joined: 5 years ago

Had topics with no pagination for guest login. Sitemaps were not including these other pages.

Turns out the bug is due to a db call checking private=0 for topic posts and not counting those posts for items_count. The fix was to comment out the following section in class-posts.php

            //else{
//If doesn't have "View Private Posts" access and not Owner, only return public posts
// $wheres[] = " " . $table_as_prefix . "`private` = 0";
//}

 

Topic Tags
pagination issue
4 Replies
Sofy
Posts: 4057
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
April 11, 2019 8:18 am
(@sofy)
Support Team
Joined: 4 years ago

Hi @nando4,

This is not wpForo issue it comes from the MySQL version. Please see the description of the issue here:  https://bugs.mysql.com/bug.php?id=81031

Here is the same issue:

https://wpforo.com/community/how-to-and-troubleshooting-2/topic-pages-disappeared/#post-25490

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
nando4 liked
nando4
Posts: 111
nando4 - Skype
 nando4
Topic starter
April 11, 2019 8:38 am
(@nando4)
Estimable Member
Joined: 5 years ago

@sofy , the cpanel DB check/fix did fix the problem. Thank you.

Reply
nando4
Posts: 111
nando4 - Skype
 nando4
Topic starter
April 12, 2019 3:29 am
(@nando4)
Estimable Member
Joined: 5 years ago

Spoke too soon. The problem persists and the only working workaround is to comment out the offending code in class-posts.php. More details at:

https://wpforo.com/community/how-to-and-troubleshooting-2/topic-pages-disappeared/#post-25853

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 4 years ago

Support Team
Posts: 4057
Sofy - Facebook Sofy - Twitter
April 12, 2019 1:28 pm
Reply tonando4nando4

Hi @nando4,

This is not wpForo issue it comes from the MySQL version. Please see the description of the issue here:  https://bugs.mysql.com/bug.php?id=81031

I suggest you either update your MySQL version or try solution provided by antonM in this support topic:   https://wpforo.com/community/how-to-and-troubleshooting-2/topic-pages-disappeared/#post-25496

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Topic Pagination Disappears On Threaded Layout - Update Database and Plugin Conflict Report
    3 years ago
  • Topic pages disappeared
    3 years ago
Topic Tags:  pagination issue (4),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Can't change forum slug

    By popvlad82, 1 hour ago

  • Major bug occurring with @user mentions

    By Noved, 1 hour ago

  • Forum description

    By Vijiki, 21 hours ago

  • cant send public messages to friends

    By ReddBeard, 23 hours ago

  • Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    By Noved, 1 day ago

  • Slight changes to my forum

    By marios, 2 days ago

Topic Tags

  • css50
  • translation49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • moderation40
  • ultimate member40
  • avatar40
  • forum40
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • forum accesses30
  • spam29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: Major bug occurring with @user mentions

    Please view the updated attached image below of another...

    By Noved, 35 mins ago

  • RE: Can't change forum slug

    There are two places for the slug. In wpForo AND mainly...

    By dimalifragis, 1 hour ago

  • RE: Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    @robert Ok thank you!

    By Noved, 2 hours ago

  • RE: wpForo 2 Major Update is Imminent!

    @dimalifragis, It depends on the beta version. We are...

    By Robert, 6 hours ago

  • RE: How to schedule a topic?

    Hi @joselito, I'm sorry, but this will not be availab...

    By Robert, 8 hours ago

  • RE: cant send public messages to friends

    @reddbeard, about Buddy Press Public Messages, you sh...

    By Chris, 10 hours ago

  • RE: Forum description

    @vijiki, Use Custom CSS to hide it on the page.

    By Chris, 11 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,773 Topics
49.5 K Posts
7 Online
44.5 K Members

Latest Post: Major bug occurring with @user mentions Our newest member: What May Be The Best Known Ome... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation