WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Docs
[resolved] History Tab not showing on WP Engine (6 posts)

  1. jvwekken
    Member
    Posted 2 months ago #

    I have installed Buddypress Docs on my site using the latest version of WP and BP. It seems to work fine, except that there is no "history" tab for docs. There also is no "docs" tab in the groups section.

    The site is hosted by WP Engine, however when I copy the site to my local server, the Buddypress docs plugin works properly, history tab and all. So it would seem that there is some conflict with WP Engine. Any ideas as to why this could happen? This plugin looks perfect for our purposes, but the history tab is absolutely essential.

    https://wordpress.org/plugins/buddypress-docs/

  2. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 months ago #

    It sounds like there may be a caching issue. Contact WP Engine and ask if there is a manual way to purge the cache.

  3. jvwekken
    Member
    Posted 2 months ago #

    I tried purging the cache, which didn't work. However, I figured it what was causing the issue. WP Engine put this line into the wp-config.php file

    define('WP_POST_REVISIONS',FALSE);

    I just changed it to TRUE and now the history tab shows up. If anyone else has a problem with the history tab not showing hopefully this will help.

  4. jvwekken
    Member
    Posted 2 months ago #

    Just another note - I figured this out because as I was looking through the BP Docs plugin code, I noticed a comment saying "Don't load the History component if post revisions are disabled". Thanks for the plugin and thanks for including comments in your code!

  5. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 months ago #

    > Thanks for the plugin and thanks for including comments in your code!

    And thank you for the feedback!

    FYI, I once opened a ticket for this: https://github.com/boonebgorges/buddypress-docs/issues/281 After this thread, I've moved it up my priority list. I'll see what I can do about separating Docs revisions from WP_POST_REVISIONS.

  6. boogah
    Member
    Posted 2 months ago #

    If you want to enable revisions at WP Engine you should contact support to get them to flip them on. Otherwise you might find that they're turned back off during one of WPE's routine code updates.

    Just a bit of advice to save some frustration further down the line.

Reply

You must log in to post.

About this Plugin

About this Topic