Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Resolved] How to customize bbPress default error message for non-logged in users?

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › How to customize bbPress default error message for non-logged in users?

  • This topic has 5 replies, 2 voices, and was last updated 3 years, 6 months ago by angelfire4xx.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 8, 2021 at 10:16 am #83965
    angelfire4xx
    Participant

    Hi, I am very keen to customize this error message that comes up for non logged-in users when they try to access a forum:

    Private: You do not have permission to view this forum

    I have seen another Tips&Tricks support topic where you said:
    “That message actually comes from bbPress. So you can customize it by customizing the bbPress language file or the bbPress template file.”

    Unfortunately bbPress doesn’t seem to have a language file any more (at least, I couldn’t find it). I found the template file “feedback-no-access.php” and changed the error message to: “Oops, you are either not logged in, or you are not a member”

    It saved with no problem, and the modified message appeared in the front end when tested. But after the user logged in and then logged out again, the default bbPress message was once again appearing, both at the front end and in bbPress template file feedback-no-access.php. I suspect eMember was causing this reversion in some way, as I can’t think of any other explanation.

    Please can you look into this asap? My users get very confused by the default error message and they keep emailing me to ask why they get a permission denied message.

    December 8, 2021 at 5:43 pm #83966
    wzp
    Moderator

    But after the user logged in and then logged out again, the default bbPress message was once again appearing, both at the front end and in bbPress template file feedback-no-access.php. I suspect eMember was causing this reversion in some way, as I can’t think of any other explanation.

    We do not make modifications to other plugin files. Are you using any caching plugins or server modules? Page caching will cause the issue of not seeing the updated text (because your site is serving a cached page with the old message).

    • This reply was modified 3 years, 6 months ago by wzp.
    December 10, 2021 at 3:42 am #83969
    angelfire4xx
    Participant

    Are you using any caching plugins or server modules?
    No.

    Thanks for the suggestion but I don’t see how it can be a caching issue when the amended message appeared ok at the front end when first tested. Also, the template file itself reverted to the original default text.

    December 10, 2021 at 3:57 pm #83970
    wzp
    Moderator

    Also, the template file itself reverted to the original default text.

    Have you examined the modification dates & times of that particular file, to see if it is really taking your modifications & then “reverting” back to the original?

    • This reply was modified 3 years, 6 months ago by wzp.
    December 11, 2021 at 8:33 am #83974
    angelfire4xx
    Participant

    Yes, the modification date showed that the file was changed again after I had modified it.

    December 11, 2021 at 9:28 am #83975
    angelfire4xx
    Participant

    It took a while but I eventually found the right post in the bbpress help forum. The modified bbpress template file has to be uploaded to the bbpress directory of the Theme. If the theme doesn’t have a bbpress directory you have to create one.
    Thanks for confirming that eMember didn’t cause the problem. Your answer prompted me to keep searching. I hope this post helps others.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ