Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 1,451 through 1,475 (of 26,836 total)
  • Author
    Search Results
  • #225885
    pschlenker
    Participant

    Our website uses the bbPress plugin to create forums. When I connect the Jetpack plugin to WordPress.org, non-admin users get a “Well, this is embarrassing” 404 not found error when they try to access any of the forums, whether the forums are public or private. Users with the Administrator role are able to access the forums without difficulty. When I disconnect the Jetpack plugin, forum access for non-admin users is restored.

    Before you suggest that I disable all plugins and themes, and reactivate them one by one until I find the offending plugin/theme, be advised that I can’t do that on our live site because it would cause all sorts of issues for our users. I can’t troubleshoot this issue in my local development environment because I can’t connect the Jetpack plugin to WordPress.org when the website is running in my local development environment.

    And yes, I already tried switching to a different permalink format/structure temporarily, and then switching back. It did not solve the problem.

    I’m running WordPress 5.8.2, and bbPress plugin version 2.6.9. Our website is located at https://evangelizationschool.com

    #225882
    pelmoggian
    Participant

    Hi!

    I have a straightforward question – how do I move the existing bbpress data (Forums, Topics, Replies) from one WordPress installation to another?

    I see there is an ‘Export’ and ‘Import’ function in WordPress, where Forums, Topics and Replies can each be exported separately.

    But – would importing them into a functioning website overwrite existing pages and posts?

    Or is there something I am just missing in this whole process, and it is really just super easy, barely an inconvenience?

    #225855
    Robin W
    Moderator

    your theme/developer has added the ‘no-js’ class to the very top, hence why the other codes are not working.

    can you try this snippet

    add_action( 'wp_footer', 'rew_supports_js' );
    
    function rew_supports_js() {
    	echo '<script>document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + " js ";</script>';
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #225808
    Robin W
    Moderator

    it’s a wordpress rather than bbpress issue.

    The documentation could be clearer, but that section refers to the tinymce not the text editor

    I’ve not tried it, but this might help

    Paste As Plain Text By Default

    #225780
    Robin W
    Moderator

    @oscowordpress1

    There is a temporary fix, either

    1. use code

    if( !function_exists( 'bbpress_browser_supports_js' ) ){
    	function bbpress_browser_supports_js() {
    		echo '<script>document.body.classList.remove("no-js");</script>';
    	}
    	add_action( 'wp_footer', 'bbpress_browser_supports_js' );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    or

    2. install and activate

    bbp style pack

    #225728
    Robin W
    Moderator

    this is a temporary fix, the bbpress authors are looking at a permanent one

    if( !function_exists( 'bbpress_browser_supports_js' ) ){
    	function bbpress_browser_supports_js() {
    		echo '<script>document.body.classList.remove("no-js");</script>';
    	}
    	add_action( 'wp_footer', 'bbpress_browser_supports_js' );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #225532
    Robin W
    Moderator

    2.6.8 does not fix.

    so use either

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (in_array ('single-forum', $classes) || in_array ('single-topic', $classes)) {
    		if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    	}
    return $classes ;
    }

    or if that doesn’t work

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    return $classes ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #225484
    webcreations907
    Participant

    That’s good, glad that worked out for you.

    You could also put it in bbpress.php in the plugin itself, then when the fix comes out and the plugin is updated it would get rid of it.

    For others looking for a solution, I tried to edit my post above but couldn’t, when I mentioned functions.php I mean the functions.php file that is within your current active WordPress theme.

    #225477
    artmuns
    Participant

    the error is when the ‘nonce’ does not validate.

    https://codex.wordpress.org/WordPress_Nonces

    I suppose I could try using translation to make it a friendly message but would rather try and fix it.

    function my_nonce_message ($translation) {
        if ($translation === 'Are you sure you want to do this?') {
           return 'Please try again.';
        } 
    
        return $translation;
    }
     
    add_filter('gettext', 'my_nonce_message');
    #225476
    Robin W
    Moderator

    the error is when the ‘nonce’ does not validate.

    https://codex.wordpress.org/WordPress_Nonces

    not sure what you can do about it, not my speciality 🙂

    #225472
    Robin W
    Moderator

    @jjj Moving the ‘no-js’ class to the bottom of the ‘bbp_body_class’ function does not fix, as the quicktags toolbar is still not shown.

    the following filter fixes, but I’m not entirely sure what the introduction of then ‘no-js’ class to the function is doing, but I can’t see that the patch has any unintended consequences as it only runs on the relevant pages.

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (in_array ('single-forum', $classes) || in_array ('single-topic', $classes)) {
    		if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    	}
    return $classes ;
    }

    or if that doesn’t work

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    return $classes ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    FOR THOSE USING BBP-STYLE-PACK – I’ll issue a revised version incorporating this shortly until fixed in bbpress.

    #225435

    Revisions are totally a WordPress thing. It’s weird, but sounds accurate.

    Using Gravity Forms to create new topics & replies will bypass the “freshness” hooks that bbPress expects to run normally. This means that the “branch” of topics & forums in the “tree” of that submission won’t get walked up to the root, to tell that whole branch what its most recent content is.

    Once you post something yourself normally, the tree gets walked and everything looks OK.

    The function that would normally be called is bbp_update_topic(). It includes all of the extra meta data that needs to be added – including a call to bbp_update_topic_walker() that “walks” the branch in the tree.

    Lastly, it refreshes the last_changed cache key in the bbpress_posts cache group. You could try busting that cache on your Gravity Forms submission (to see if that’s enough) but I have a feeling it won’t be, and you’ll need to find the best way to trigger the update.

    #225398
    AdventureRidingNZ
    Participant

    Yeah, the BBPress release info, and BBPress itself seems to be the neglected son of WordPress.

    #225371
    KennyWilliamson
    Participant

    Good day, just to let you know the blog link on the release info version goes to 404, when enter release info page.

    #224410
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #224404
    Ai Roux
    Participant

    Hi there,
    I’m pretty new with wordpress and bbpress, and I can’t find the setting I need.
    I want that new users automaticaly got the subscriber role on my site (done, general setting) and also the bbp_participant role.

    How can I do that ? Thanks by advance.

    Kind regards

    #224392
    Robin W
    Moderator

    yes it does make sense 🙂

    so this is just ‘registration’ and any new users you ‘register’ for ‘wordpress not forums’ will be known to you and presumably admins, so it probably does not matter that ‘all’ new registrations receive a ‘forum’ welcome, as they will all be forum users apart from any new admins you sign up, who can be told to ignore the email.

    so I would suggest that you just use a WordPress registration welcome and tailor it for your forum users.

    Does that make sense, or have I misunderstood something ?

    #224390
    dalton125
    Participant

    I think this post belongs in the “Development” forum, but that forum has a message saying that it’s closed to new posts. Let me know if there’s a better place for my question.

    I’m trying to create a navigation sidebar for users to navigate my bbPress forum. I’ve seen WordPress themes with a navigation sidebar for blog posts which has a list of months and years, as in:

    August 2021
    September 2021
    October 2021

    And clicking any of those list items will show the user any blog posts created in the given month. This is what I’d like to emulate with bbPress — a sidebar with links to different months, and clicking the link will show the user all forum topics created in that month.

    Does anyone have advice on how to do this? I’ve looked through the bbPress settings and even installed the bbp style pack plugin, but I can’t find a setting that will do what I’m trying to do. Is there a plugin or setting that I’ve missed? I don’t mind writing code to solve this problem, but I’m a PHP beginner so I’m not sure where to begin.

    I’m using WordPress 5.7.2 and bbPress 2.6.6. I don’t have a live version of my site to show.

    #224389
    Robin W
    Moderator

    ok, so how you are doing those differently from WordPress?

    #224387
    Robin W
    Moderator

    bbpress simply users WordPress registration, so any WordPress registration plugin will work.

    just google ‘wordpress registration plugins’

    #224386
    pluckvermont
    Participant

    Hi,

    I am trying to customize the registration email for BBpress. Is there an easy way to do this?
    Looking through this forum, I understand the email is generate by the WordPress Core.

    Is there a plugin? I’d just like to redirect people to the actual forums, and not our site’s homepage.

    TIA–

    #224377
    skpc1
    Participant

    HOW TO REDIRECT USERS, WORDPRESS BUDDYPRESS HIDE PAGE FROM NON-MEMBERS, NON-LOGGEDIN USERS..

    How to hiding / redirect users page from non logged in users ?

    Here the simple step to protect your WordPress BuddyPress member only pages. Add this simple snippet into your theme’s ‘functions.php’ file. That’s it..

    The below snippet sample will redirect the visitor if the visitor is not logged in & trying to visit the sensitive BuddyPress pages.

    Will redirect non-logged-in users trying to access private content to your front page or home page
    Ref: https://vvcares.com/blog/post/wordpress-buddypress-hide-page-from-non-members

    #224365
    Robin W
    Moderator

    best I can offer is

    bbp style pack

    once activated go to

    dashboard>settings>unread posts

    #224360

    In reply to: Is bbpress abandoned?

    Robin W
    Moderator

    dev work is ongoing in bbpress – see

    https://bbpress.trac.wordpress.org/report

    but bbpress authors chose to release sparingly.

    there are a good many additional plugins that do lots of things to add functionality to bbpress

    #224330
    Robin W
    Moderator

Viewing 25 results - 1,451 through 1,475 (of 26,836 total)
Skip to toolbar