Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 26 through 50 (of 2,086 total)
  • Author
    Search Results
  • #239919

    In reply to: Will it be updated?

    Milan Petrovic
    Participant

    I am unsure what the theme has to do with the bbPress in this case. bbPress works with any theme, and you don’t have to use a specific theme to have bbPress, or to have bbPress bundled with the theme. ThemeForest themes are usually very bloated and bundle tons of plugins that are later hard to update or to switch to newer versions.

    bbPress is a free plugin that is updated when needed to fix bugs, and works really well as is. it doesn’t have to be bundled with any theme.

    #239916

    Topic: Will it be updated?

    in forum Plugins
    igor
    Participant

    Will the plugin be updated?

    i bought a wordpress theme and it comes packed with bbpress as an important part of the theme.

    i´d like to know because i´m about to cancel my subscription with the theme that comes with bbpress

    the theme is this one

    https://themeforest.net/item/docfi-documentation-and-knowledge-base-wordpress-theme/48614579

    thanks!!

    #239621
    jgasba
    Participant

    To anyone stumbling into this thread wondering how the subscriptions are stored in the database, it has been updated.

    To find out what users are subscribed to a topic or thread you need to look for the _bbp_subscription meta_key in the wp_postmeta table. There is one for each user subscribed where meta_value is the ID of the user subscribed.

    So for example, to know how many users are subscribed to a forum or topic, just count the number of _bpp_subscription metadata present with post_id of the specific forum or topic

    #239507

    In reply to: Subscribe to Forum

    webcreations907
    Participant

    I have some updated code for you to try, after installing that ACF plugin I realized it wasn’t saving the post meta(your custom fields) before the mail was being called.

    So you’ll need to remove all the code previously listed including the first function, and try the below instead.

    So all you should have added is the below in your code snippets plugin, or functions.php file.

    
    
    if( function_exists( 'bbp_get_topic_post_type' ) ){
    	function newtech2_bbpress_new_topic( $post_id, $post , $update, $post_before ){
    	
    		if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) return;
    
    		if( !function_exists('bbp_get_topic_post_type') ){
    			return;
    		}
    
    		if ( bbp_get_topic_post_type() !== $post->post_type || ! is_admin() ) {
    			return;
    		}
    
    		if ( ! in_array( $post->post_status, [ 'private', 'publish' ] ) ) {
    			return;
    		}
    
    		if( isset( $post_before->post_status ) && $post_before->post_status == 'draft' ){
    			do_action( 'bbp_new_'.bbp_get_topic_post_type(), $post->ID , $post->post_parent, [] , $post->post_author );
    		}
    	}
    
    	add_action( 'wp_after_insert_post', 'newtech2_bbpress_new_topic', 10, 4);
    }
    
    if( !function_exists('acf_email_bbp_subscription_mail') ){
    	function acf_email_bbp_subscription_mail( $message, $topic_id, $forum_id, $user_id ) {
    		if ( function_exists( 'get_field' ) && $topic_id != 0 ) {
    			$afc_replace = array(
    				'{catch_date_time}' => get_field( 'catch_date_time', $topic_id),
    				'{anglers}'         => get_field( 'anglers', $topic_id )
    				);
    
    			$message = strtr( $message , $afc_replace);
    		}
    
    		return $message;
    	}
    	add_filter( 'bbp_forum_subscription_mail_message' , 'acf_email_bbp_subscription_mail', 100 , 4 );
    }
    
    

    You’ll just leave the below in your email template as before.

    
    
    Catch Time: {catch_date_time}
    Anglers: {anglers}
    
    

    Hopefully that works out for you

    matthewdhuntley
    Participant

    Thanks for the feedback, @robin-w.

    I noticed the anchor element with the class “bbp-glance-users” (from bbpress/includes/admin/metaboxes.php), which appears in the dashboard_right_now/”At a Glance” widget, is exclusively created by the bbPress plugin through the ‘dashboard_glance_items’ WordPress hook. For a multisite, the Users count is coming from the entire network.

    I’ve traced the Users count number back to this function (from bbpress/includes/core/abstraction.php):
    function bbp_get_total_users() {
    $bbp_db = bbp_db();
    $count = $bbp_db->get_var( “SELECT COUNT(ID) as c FROM {$bbp_db->users} WHERE user_status = ‘0’” );

    // Filter & return
    return (int) apply_filters( ‘bbp_get_total_users’, (int) $count );
    }

    And I was wondering if this could be updated to check if the site is a multisite and then select the Users based on the individual site ID.

    Thanks,
    Matthew Huntley

    matthewdhuntley
    Participant

    Hi bbPress Folks,

    I currently have a WordPress multisite installation with several individual sites. My WordPress version is 5.9.1 and the bbPress version is 2.6.9.

    On any given individual site’s WP Dashboard, in the “dashboard_right_now”/”At a Glance” section, the number of users shown is reflective of the total number of users on the entire multisite network, as opposed to the total number of User on the individual site.

    When it comes to multisite installations, can the output logic for this Users number be updated to reflect the number of Users for an individual site instead of the entire multisite network?

    Thanks very much,
    Matthew Huntley

    #239331
    mikeraine11
    Participant

    I’ve read that WordPress’s new FSE themes such a Twenty Twenty Four can be an issue with bbPress because bbPress is so out of date (hasn’t been updated in over 2 years, which is very concerning).

    However, I am VERY reluctant to change themes. We JUST went through a lot of time and work to rebuild the site after migrating from the old host to WordPress.com because the old custom theme was not compatible with Jetpack. I chose Twenty Twenty-Four because I assumed, as the newest WordPress default theme, that it was the most future-proof and would avoid compatibility issues.

    Is there just no way around this issue while keeping the Twenty Twenty Four theme?

    mikeraine11
    Participant

    Hi,

    We recently moved our site from a previous host to WordPress.com, and in doing so updated the site to the Twenty Twenty-Four theme. We use bbPress for discussion forums because it integrates with Memberpress courses.

    All was good on the old site, but now bbPress and any mentions of Forums has disappeared from the WP Admin dashboard. I’m double checked that I am a bbPress keymaster, and also installed the bbPress Style Pack plugin, but don’t see anything there that solves my problem. I have also seen some people with a similar issue say that the All in One SEO plugin was the culprit, but that is not installed on the site.

    We are running version 6.4.3 of WordPress.

    Can anyone please help me get forums working!

    Thank you!

    #239283
    enkoes
    Participant

    Hi Robin, updated your plugin. Yes, it does solve the 2nd issue. But the overlapping problem still persists. Please refer my live link to better understanding the issue. Thanks.

    #239087
    zokkoz
    Participant

    Hi! Should I use BbPress on my site? I have a bit of concern, on the staging site it’s not working. Seems like it does not work with Gutenberg block themes (not sure about that) and it has not been updated for more than 2 years, which is a lot. Is it abandoned? I’d appreciate your thoughts on this.

    #239066
    mikeleader
    Participant

    Hello, I suddenly have a very strange problem since a few days.

    When someone creates a new topic the timestamp is shown as last updated “54 years ago”. But only when I am in the topic.

    “This topic has x replies (…) last updated 54 years ago. I didn’t update anything…

    #239055

    In reply to: Expired Version ?

    Robin W
    Moderator

    they are correct that it has not been updated for a couple of years.

    I am just a moderator here, and not a bbpress author.

    The authors tend to release updates every few years, rather than more frequently.

    My personal view is that you should consider bbpress to be a ‘mature’ product, ie any releases will be to fix issues rather than add functionality.

    bbpress is written really well, and has loads of hooks. There are no show stopper bugs in it, it may throw a few deprecation notices (and these are very few at the moment), but WordPress recommends that you should not show error messages in live sites.

    I currently have my test site running WordPress 6.4.x and php 8.2 with no issues.

    The only major issue with bbpress at the moment is that it does not work well with FSE themes.

    However my bbp style pack plugin has fixes for this

    bbp style pack

    as well as block versions of the widgets and a ton of styling and functionality add-ons.

    All plugins are subject to the authors commitment, and bbpress is no different.

    The main WordPress support forums use bbpress, and it would be mega work to move those over to some other product.

    #239054

    Topic: Expired Version ?

    in forum Plugins
    loftus49
    Participant

    My WordFence reported that the bbpress plugin has not been updated in a couple years. Although I have enabled auto updating and I am positive it has been updated during that time.

    Home

    Before I pursue this with WordFence, is there anything you know that would cause this?

    I have a screenshot of the WF error screen if that helps.

    Duane

    #238927
    rilliencot
    Participant

    Although I solved the last issue, a similar one immediately came up after that (The topic count at the top of a forum didn’t count new topics). I had a feeling that as long as I proceeded with this hacked version of the actual bbPress functions that I now thankfully know are responsible for topic creation (thank you Robin, again!), these little discrepencies were going to keep popping up.

    So I’ve updated the ‘create_bill’ function to now call bbp_insert_topic() (line 24 of \bbpress\includes\topics\functions.php). If I understand things correctly (I’m new to web development and learning as I go), this starts the natural chain of events that should happen anytime a new topic is created (at least it looks to be working). I still need the new endpoint because I’d like to add some custom fields to these topics as well, so now the above php script is the much simpler:

    <?php
    /**
     * Plugin Name:       bbPress Bill API
     * Description:       Exposing the bbPress post types to WP API and creating a namespace for bills.
     * Author:            Rillien Cot
     * Version:           1.6.0
     */
    
    /**
     * Add REST API support to an already registered post type.
     */
    add_action('init', 'register_bbp_post_types', 25);
    
    function register_bbp_post_types() {
        global $wp_post_types;
    
        $post_type_name =  bbp_get_reply_post_type();
        if (isset($wp_post_types[$post_type_name])) {
            $wp_post_types[$post_type_name]->show_in_rest = true;
            $wp_post_types[$post_type_name]->rest_base = $post_type_name;
            $wp_post_types[$post_type_name]->rest_controller_class = 'WP_REST_Posts_Controller';
        }
        $post_type_name =  bbp_get_topic_post_type();
        if (isset($wp_post_types[$post_type_name])) {
            $wp_post_types[$post_type_name]->show_in_rest = true;
            $wp_post_types[$post_type_name]->rest_base = $post_type_name;
            $wp_post_types[$post_type_name]->rest_controller_class = 'WP_REST_Posts_Controller';
        }
        $post_type_name =  bbp_get_forum_post_type();
        if (isset($wp_post_types[$post_type_name])) {
            $wp_post_types[$post_type_name]->show_in_rest = true;
            $wp_post_types[$post_type_name]->rest_base = $post_type_name;
            $wp_post_types[$post_type_name]->rest_controller_class = 'WP_REST_Posts_Controller';
        }
    
        // Add custom REST API endpoint for creating bbPress topic
        add_action('rest_api_init', 'create_bill_endpoint');
    }
    
    function create_bill_endpoint() {
        register_rest_route('pnyx/v2', '/bill/', array(
            'methods' => 'POST',
            'callback' => 'create_bill',
        ));
    }
    
    function create_bill($data) {
        // Extract Data
        $new_topic_data = $data['new_post_data'];
        $new_topic_meta = $data['new_post_meta'];
    
        // Create new bbPress topic using passed data and meta content
        $topic_id = bbp_insert_topic($new_topic_data, $new_topic_meta);
    
        // Add ACF custom fields to created topic
        update_field('bill_id', $data['bill_id'], $topic_id);
    }
    ?>

    and the python that calls it is:

    import requests
    import json
    
    # Set your WordPress API authentication details
    username = "************"
    password = "***********************"
    auth = requests.auth.HTTPBasicAuth(username, password)
    
    # Create a new post data with post_parent
    new_post_payload = {
        "new_post_data": {
            "post_parent": 40, // use a valid forum_id from your site
            "post_title": "API Created Post Title",
            "post_content": "Lorem ipsum content for the new topic",
        },
        "new_post_meta": {
            "forum_id": 40, //use same forum_id here that you used for "post parent" in 'new_post_data'
        },
        "bill_id": "hrs1111",
    }
    
    # Make the POST request to create a new post
    wordpress_api_url = "http://pnyx.local/wp-json/pnyx/v2/bill/"
    response = requests.post(
        wordpress_api_url,
        auth=auth,
        headers={
            'Content-Type': 'application/json',
        },
        data=json.dumps(new_post_payload),
    )

    You’ll notice that the ‘data’ portion of the request has changed from a simple dictionary to nested dictionaries so the bbp_insert_topic function has the correct arguments (it takes two arrays).

    #238676

    In reply to: Abandoned?

    Swiss-Cheese
    Participant

    Thank you @robin-w for your kind answer. I appreciate your time to look into this question and your diligence in answering people’s questions. It seemed this topic went in a different direction than I was expecting/asking, but perhaps I’m misunderstanding everyone’s answers? According to the security plugin WordFence documentation on their knowledge base it says the issue with bbPress is:

    Plugin appears to be abandoned
    This scan result means that a plugin has not been updated in 2 years or more. This can be a problem because it means that the plugin author has not made any changes for a long period of time. Sometimes that means it will not be fully compatible with newer WordPress versions, reported bugs may not be fixed, and new security issues might not be addressed.

    The scan result also shows if this plugin has a known security issue that has not been fixed. If that is the case, it is recommended that you remove the plugin as soon as possible, and replace it with a different plugin if you need the same functionality.

    There are two types of alerts for abandoned plugins, “Medium” and “Critical”. An abandoned plugin will generate a Medium alert. If the plugin also has unpatched security vulnerabilities, the scan result will be Critical. Plugins that are abandoned should be evaluated in terms of what risk they may pose. Unless you know that the code in the plugin is safe, you should start looking for a replacement. Plugins with unpatched vulnerabilities should always be removed.

    When I read this guideline from WordFence and look at the bbPress website, as well as reading what WordPress says about it and what information about bbPRess displays inside my dashboard of the install, I’m not certain which instruction to follow. Should I consider it abandoned? Well, someone came here and answered my question named moderator and other people also visited this thread and commented who seemed to assume my question was a PHP compatibility question (i don’t know, is my question a PHP compatibility issue i’ve yet to discover?) so if people are actively reading a support thread that’s not “abandoned” in the sense people are here interacting still. But abandoned where coders who are behind the coding of bbPress watching developments and using the best security practices and applying them? I’m not certain and am not sure how to decide that info without posting again to ask. As a non-coding person I have no way of knowing without asking.

    Is bbPress still in development, being monitored and updated by careful coders who look over it, or is the core code maintenance abandoned with some core enthusiasts who are still using it here interacting but not coders who know what’s what in the code? Unfortunately, I don’t read code. I am not a coder. So i have no way of knowing.

    #238613

    In reply to: Abandoned?

    temima
    Participant

    It doesn’t seem to be compatible with later versions of PHP, but some of my other plugins are not compatible with my site’s current PHP version. Will this ever be updated?

    I found another forum topic from 2017 (!!) that bbPress wasn’t compatible with PHP 7.1 and it said there that the next version will fix that. It doesn’t seem to have fixed it…

    PHP Version

    What now?

    #238599

    Topic: Abandoned?

    in forum Plugins
    Swiss-Cheese
    Participant

    Word Fence security plugin told me today:

    “Issue Found:

    The Plugin “bbPress” appears to be abandoned (updated November 29, 2021, tested to WP 6.3.2).
    Type: Vulnerability Scan”

    Is this true?

    #238541
    donna1999
    Blocked

    What SEO tools do you guys use nowadays? It’s been a long time since this thread was updated, so I’d like to discover new ways and tools.

    jgasba
    Participant

    I updated an issue about this on bbPress trac: https://bbpress.trac.wordpress.org/ticket/3355#comment:4

    norcom41
    Participant

    In a bbPress forum I want to prevent participants from creating topics but allow replies. In searching the Internet I found code examples from which I selected some to build a plugin. I know a little PHP but WordPress is like a “black box.”

    add_action(‘wp_loaded’,’modify_participant’);

    function ‘modify_participant'()
    {
    add_filter(‘mod_participant’, ‘upd_participant’);
    }

    function upd_participant($role,$caps)
    {
    $role = bbp_get_participant_role();
    $caps = modify_capabilities($role);
    }

    function modify_capabilities($role)
    {
    return array(

    // Topic caps
    ‘publish_topics’ => false,
    ‘edit_topics’ => false,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => false,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => false
    )
    }

    For instance the WP loaded hook causes it to run once at the start which should call those functions to initialize things. Is an add_filter also executed at that time to complete initialization? Then the black box proceeds with the bbp_get_parcipant_role routine so that the capabilities array elements can be updated. I read that WP filters always expect an object to be returned. It seems that these wouldn’t be permanent but just temporary in memory for executing that page. However my suspicion is that more coding would be necessary because that would be too much to depend on the black box for.

    #237541
    Robin W
    Moderator

    That’s hopeful, and yes please keep us updated 🙂

    #237399
    Robin W
    Moderator

    so it used to work, and has now stopped working – yes? Do you know how long ago it stopped working, and what you have updated recently?

    #237365
    Josh Virkler
    Participant

    Thanks so much for your kindness in being willing to volunteer and help support plugin users! That’s awesome.

    It does make sense that it would be related to a recent update…but if the problem persists when everything is disabled and I’m using a default WordPress theme, then how could something else still be affecting it?

    We’re on Cloudways, with SafeUpdates configured to run on Sunday evening. Here’s what it says it just updated:

    Update Date: 2023-09-10 19:18:32 UTC

    Update Status: Successful

    Updates Selected:

    Plugins: (11)

    Better-Search-Replace (1.4.2 -> 1.4.3)
    Woocommerce-Pdf-Invoices-Packing-Slips (3.6.2 -> 3.6.3)
    Pixelyoursite (9.4.4 -> 9.4.5.1)
    Really-Simple-Ssl (7.0.8 -> 7.0.9)
    Recaptcha-For-Woocommerce (2.41 -> 2.47)
    Updraftplus (1.23.9 -> 1.23.10)
    Woocommerce-Gateway-Authorize-Net-Cim (3.8.1 -> 3.9.3)
    Woocommerce-Google-Analytics-Pro (1.13.0 -> 2.0.11)
    Woocommerce-Name-Your-Price (3.5.1 -> 3.5.5)
    Woocommerce-Services (2.3.3 -> 2.3.4)
    Woocommerce-Smart-Coupons (7.1.0 -> 8.4.0)

    Themes: (1)
    Divi (4.20.0 -> 4.22.1)

    #237364
    Robin W
    Moderator

    bbpress is free software with free support from volunteers like myself.

    We’re not really here for fixing individual site problems on income earning sites.

    My bet would be that it is an update of a theme or plugin causing part of bbpress to stop ‘showing lead topic’

    You should start by looking at what has been updated recently.

    #237032
    Frederic Pilon
    Participant

    Hello!

    Question might seem stupid but hear me out;

    The last update, per the download page, seems to be from November 2021.

    Usually, a plugin that hasn’t seen any updates in the last year, to me, is abandonned and should not be used in a new production; Theres always a little nugget to change every once in a while, so even the most basic of plugins, barring a few exceptions, get updates at least once a year.

    But, bbPress has not been updated in a year and a half; is it just that there is nothing to fix/modify, or was bbPress left behind to make place for a new forum plugin by the WP Core team and that should be the thing I do install?

    I ask because I am right now creating a brand new site where bbPress would be used. So if the current plugin is under another name, I should install that one and not this one.

Viewing 25 results - 26 through 50 (of 2,086 total)
Skip to toolbar