Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 451 through 475 (of 64,513 total)
  • Author
    Search Results
  • #241594
    Robin W
    Moderator

    so how are you creating the forum on bbpress? ie I go into xx and I click this and then type that

    #241593
    kimis
    Participant

    I did

    add_action('bbp_new_forum_post_extras', 'my_custom_bbp_new_forum_handler');
    
    function my_custom_bbp_new_forum_handler( $action = '' ) {
    error_log('test function');
        if ( 'bbp-new-forum' !== $action ) {
            return;
        }
    
        if ( ! bbp_verify_nonce_request( 'bbp-new-forum' ) ) {
            bbp_add_error( 'bbp_new_forum_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) );
            return;
        }
    
        do_action( 'bbp_new_forum_post_extras', $forum_id );
    
        $forum_title = get_the_title($forum_id);
        $forum_slug = sanitize_title($forum_title);
    
        if (!term_exists($forum_title, 'forums')) {
            $result = wp_insert_term($forum_title, 'forums', array(
                'name' => $forum_title,
                'slug' => $forum_slug
            ));
    
            if (is_wp_error($result)) {
                error_log("Erreur lors de l'insertion du terme : " . $result->get_error_message());
            } else {
                error_log("Terme de taxonomie 'forums' créé avec succès : " . print_r($result, true));
            }
        } else {
            error_log("Le terme existe déjà : " . $forum_title);
        }
    
        $redirect_url = bbp_get_forum_permalink( $forum_id );
        bbp_redirect( $redirect_url );
    }

    but it still doesn’t work the first error log doesn’t appear on the debug file

    #241589
    kimis
    Participant

    Hello, I have a taxonomy forums that is is linked to the user, how can I do to create a forum on bbpress and when it’s done it also create a forum on my taxonomy

    my code is :

    function create_forum_taxonomy_entry($forum_id, $forum_args) {

    $forum_title = get_the_title($forum_id);
    $forum_slug = sanitize_title($forum_title);

    error_log(“Création du forum : ” . $forum_title);
    error_log(“Slug du forum : ” . $forum_slug);

    // Insertion du forum dans la taxonomie forum
    if (!term_exists($forum_title, ‘forums’)) {
    $result = wp_insert_term($forum_title, ‘forums’, array(
    ‘slug’ => $forum_slug
    ));

    if (is_wp_error($result)) {
    error_log(“Erreur lors de l’insertion du terme : ” . $result->get_error_message());
    } else {
    error_log(“Term créé avec succès : ” . print_r($result, true));
    }
    } else {
    error_log(“Le terme existe déjà : ” . $forum_title);
    }
    }
    add_action(‘bbp_insert_forum’, ‘create_forum_taxonomy_entry’, 10, 2); but this function isn’t called

    the file has another function below and it works so it’s not the calling of the file

    #241552

    In reply to: PHP Deprecated

    Milan Petrovic
    Participant

    This is not bbPress related. This is error in Avada theme, most likely due to outdated code that is not updated for PHP 8.x. This message is related to changes in PHP 8.1. You need to update Avada, or contact Avada author to fix the problem.

    #241551

    Topic: PHP Deprecated

    in forum Plugins
    kimis
    Participant

    When I used your pluggin, there is this message :
    Deprecated
    : str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
    /home/aaa/nameofyoursite/wp-content/themes/Avada/includes/class-avada-layout-bbpress.php
    on line
    219

    #241519
    Robin W
    Moderator

    Looks like you are also using elemtor, the last 2 entries on this thread might help, try the last oine first.

    bbPress + Elementor

    If they do, please come back and let us know so i can help others in future

    #241515
    Robin W
    Moderator

    Astra needs a fix for bbpress to work

    Install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>theme support

    #241514

    Hi there, here is my site: https://www.masters-of-photography.com/forums/

    Note that the individual forum link goes to a blank page: https://www.masters-of-photography.com/forums/photography/

    And the individual topics links also go to a blank page: https://www.masters-of-photography.com/forums/topic/what-types-of-cameras-do-youtubers-use/

    BBPress Version 2.6.11
    WordPress 6.6.2
    Running a custom child theme of Astra.

    #241512
    Robin W
    Moderator
    #241511
    Robin W
    Moderator
    #241510
    Robin W
    Moderator

    sorry, not my area of expertise – this might help

    How to Use bbPress on Multilingual Sites with WPML

    #241509
    Marisa
    Participant

    Is there an action I can use to execute PHP code before every bbPress page loads?

    Then maybe I can try altering cookies to make bbPress switch languages.

    I want language selection to be dynamic and user controlled.

    #241508
    Marisa
    Participant

    Thanks Robin. I have LocoTranslate and PolyLang already installed.

    The .po and .mo translation files are already loaded for bbPress in the system directory.

    However I need a way for bbPress to pick them up.

    #241502
    Marisa
    Participant

    bbPress has been translated into many languages. See https://translate.wordpress.org/projects/wp-plugins/bbpress/

    Is there a cookie I can set to make bbPress dynamically switch from say the English language to the French language?

    I have a website in several different languages.

    smelendez
    Participant

    Hi, I am using the bbPress integration with BuddyPress, so that when new BuddyPress groups are created, their respective associated forum is also created. I would like these forums to already have some topics created by default (such as rules, general chat, …), so that the user does not have to create them manually. Although the user can create more topics later, but I would like the forum to already include some topics by default when the group is created. Is it possible to achieve this? Thanks.

    #241478
    Robin W
    Moderator

    ok, all I can suggest is the standard fault finding…

    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

    #241471
    pavlovscat
    Participant

    If you look on the linked page and see a big white block, the oEmbed on my site isn’t working (when someone makes a post in bbPress, it automatically embeds it as shown on the page, but the link doesn’t work). Everything looks right, but the link doesn’t work. I can’t figure out what I can do to fix it or disable it. I’ve turned to a friend who knows how to code (I don’t) and she said that her bbPress installation has the same issue.

    Here’s a page with an example:

    Kirk Hunter Farewell Sale

    Thanks for your help.

    #241458
    Robin W
    Moderator

    sounds like there is something that bbpress is seeing as an error or not filled in field.

    My suggestion would be to get a screenshot of the fields he has completed (and any he hasn’t) and try the exact entry the is trying to create.

    I’d also get him to try posting a test topic with something simple in another forum, or posting a reply to see if it is him, or what he is posting that is the issue

    #241456
    Manaus
    Participant

    A forum user notified me that he cannot post a new topic. He writes the the title, the post body, the tags, and then on clicking on ‘send’ the page gets refreshed on the topics list view, and at the bottom he can still view the post contents still in the form, with the form prefilled with the data already entered.

    His role is participant, and for the sake of testing I faked a participant role to check if the role was blocked. It is not. I managed to post a new toping without hassle.
    The Forum is open.

    Where or how can I get more details about the process? What’s blocking, or what errors are returned, maybe they are hidden. Any suggestion?

    v2.6.11 and wp6.6.2 with following plugins installed

    Plugins:
    bbp style pack
    bbp user ranking
    bbppress notify (no-spam)
    GD bbPress Toolbox Pro

    Thank you very much

    #241453
    yt
    Participant

    Hello
    I use Block FSE theme in my site anfdactivate BBPress in it.
    so, How can I change the default font family of Visual Editor and style it?

    #241441
    WPabmm
    Participant

    Have done so

    Considering there is some team overlap and proof of concept with bbPress I think it is worth mentioning it here too

    #241438
    WPabmm
    Participant

    This is an old topic yet it appears resolved on bbPress.

    Is this something that could be done for BuddyPress and Markdown?

    actev
    Participant

    Hi there we are trying to make BBPress work on our site, http://www.adventurecountrytracks.com we use Memberpress and Elemntor, unfortunately, we cannot finish the design work, even though we have used some of the hints we could find online.
    we use current versions all updated.
    even if we can make the front forum page to work, the topics and all sites below arnt adjusted.
    it would be great if we can get help…

    thanks and cheers.

    #241424
    Ricsca2
    Participant

    But here we are not talking about adding new functions to bbpress …. simply that bbpress inherits the style of the theme used as all other plugins do. Now I do not know how to program but I do not think it is a complicated modification / update to do. How is it possible that a component that has more than 100,000 active installations and that is the component used to support bbpress.org which has millions of threads and posts, in 2024 is considered a plugin of little value and with hundreds of wordpress employees does not do this small update.

    #241418
    Ricsca2
    Participant

    bbpress is the official wordpress plugin and is the one used on bbpress.org as well as being used by thousands of sites.
    I’m talking about inheriting at least the font size of the theme in which it is used, nothing exceptional…

Viewing 25 results - 451 through 475 (of 64,513 total)
Skip to toolbar