Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 4,576 through 4,600 (of 26,874 total)
  • Author
    Search Results
  • #183370
    nesiditsa
    Participant

    Hi, dayan89! You should do corrections in core code of bbpress – https://bbpress.trac.wordpress.org/changeset/5338. After that it needs to run “Recalculate the position of each reply” repair tool (Пересчитать положение каждого ответа – in Russian).

    #183362
    5lions
    Participant

    I AM a hosting provider. Crazy fast servers. Siteground can hold a candle to what I run 😉

    But when software is this bogged down, the hardware cost is just too high to justify. I would have to charge my customers 10X to make up for the performance difference and new hardware requirements.

    Ive been optimizing for weeks, but the sad truth is, I could run on 1/5th-1/10th the hardware if I simply switched to other forum software that was built from the ground up to run forums. WordPress architecture has bbPress’s hands effectively tied.

    #183349
    5lions
    Participant

    Well, even after killing the heartbeat, and running a hardware/software that is probably at least 400% faster, my users are complaining about how slow everything is.

    I may have to start the nightmare of migrating to yet another solution. 🙁

    The newish wpForo forum plugin for wordpress looks very nice, and yhey use their own set of tables so probably very fast.

    ***BUT*** they have no 301 redirect solution from bbPress which means I would lose all my google rankings. So thats a deal breaker.

    Its 2017 and forum solutions are still bad. Frustrated as hell. Cant find anything that works well and integrates with wordpress well. Burned soooo much time on this.

    #183343
    dayan89
    Participant

    Hello fellow bbpressers,

    I have a problem. Latest reply link in sidebar widget is not functioning properly in a thread with big amount of replies. On other threads it is functioning correctly.

    Link is like this: http://dailyfantasysports.ru/forum/topic/ponesli-sandali-mityu/#post-21564

    You see? There is no page slug in URL!

    It has to be like this: http://dailyfantasysports.ru/forum/topic/ponesli-sandali-mityu/page/53/#post-21564

    But it’s not!

    How to fix it?

    I’ve tried to repair forums (WordPress Dashboard -> ‘Tools’ -> ‘Forums’ -> ‘Repair Forums’ ) It helps. But only until next reply in this thread. After new reply link is broken again.

    Please tell me how to fix it. Cannot solve this problem for whole month!

    #183333
    tananaev
    Participant

    I added functions to “functions.php” in my theme:

    I’m not a PHP developer and I’m not a WordPress expert, so I’m sure it’s far from perfect, but here is my code:

    function custom_bbp_notify_topic_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) {
    
        // Bail if subscriptions are turned off
        if ( !bbp_is_subscriptions_active() ) {
            return false;
        }
    
        /** Validation ************************************************************/
    
        $reply_id = bbp_get_reply_id( $reply_id );
        $topic_id = bbp_get_topic_id( $topic_id );
        $forum_id = bbp_get_forum_id( $forum_id );
    
        /** Topic *****************************************************************/
    
        // Bail if topic is not published
        if ( !bbp_is_topic_published( $topic_id ) ) {
            return false;
        }
    
        /** Reply *****************************************************************/
    
        // Bail if reply is not published
        if ( !bbp_is_reply_published( $reply_id ) ) {
            return false;
        }
    
        // Poster name
        $reply_author_name = bbp_get_reply_author_display_name( $reply_id );
    
        /** Mail ******************************************************************/
    
        // Remove filters from reply content and topic title to prevent content
        // from being encoded with HTML entities, wrapped in paragraph tags, etc...
        remove_all_filters( 'bbp_get_reply_content' );
        remove_all_filters( 'bbp_get_topic_title'   );
    
        // Strip tags from text and setup mail data
        $topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
        $reply_content = strip_tags( bbp_get_reply_content( $reply_id ) );
        $reply_url     = bbp_get_reply_url( $reply_id );
        $blog_name     = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    
        // For plugins to filter messages per reply/topic/user
        $message = sprintf( __( '%1$s wrote:
    
    %2$s
    
    Post Link: %3$s
    
    -----------
    
    You are receiving this email because you subscribed to a forum topic.
    
    Login and visit the topic to unsubscribe from these emails.', 'bbpress' ),
    
            $reply_author_name,
            $reply_content,
            $reply_url
        );
    
        $message = apply_filters( 'bbp_subscription_mail_message', $message, $reply_id, $topic_id );
        if ( empty( $message ) ) {
            return;
        }
    
        // For plugins to filter titles per reply/topic/user
        $subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id );
        if ( empty( $subject ) ) {
            return;
        }
    
        /** Users *****************************************************************/
    
        // Get the noreply@ address
        $no_reply   = bbp_get_do_not_reply_address();
    
        // Setup "From" email address
        $from_email = apply_filters( 'bbp_subscription_from_email', $no_reply );
    
        // Get topic subscribers and bail if empty
        $user_ids = bbp_get_topic_subscribers( $topic_id, true );
    
        // Dedicated filter to manipulate user ID's to send emails to
        $user_ids = apply_filters( 'bbp_topic_subscription_user_ids', $user_ids );
        if ( empty( $user_ids ) ) {
            return false;
        }
    
        $to_email = apply_filters( 'bbp_subscription_to_email', $no_reply );
    
        do_action( 'bbp_pre_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
        for ( $i = 0; $i <= count($user_ids); $i++ ) {
            if ( $i % (50 - 1) === 0 || $i === count($user_ids) ) {
                if ( $i !== 0 ) {
                    $headers  = apply_filters( 'bbp_subscription_mail_headers', $headers );
                    wp_mail( $to_email, $subject, $message, $headers );
                }
    
                $headers = array( 'From: ' . get_bloginfo( 'name' ) . ' <' . $from_email . '>' );
            }
    
            if ( $i < count($user_ids) ) {
                // Don't send notifications to the person who made the post
                if ( !empty( $reply_author ) && (int) $user_ids[$i] === (int) $reply_author ) {
                    continue;
                }
    
                // Get email address of subscribed user
                $headers[] = 'Bcc: ' . get_userdata( $user_ids[$i] )->user_email;
            }
        }
    
        do_action( 'bbp_post_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
        return true;
    }
    
    function custom_bbp_notify_forum_subscribers( $topic_id = 0, $forum_id = 0, $anonymous_data = false, $topic_author = 0 ) {
    
        // Bail if subscriptions are turned off
        if ( !bbp_is_subscriptions_active() ) {
            return false;
        }
    
        /** Validation ************************************************************/
    
        $topic_id = bbp_get_topic_id( $topic_id );
        $forum_id = bbp_get_forum_id( $forum_id );
    
        /**
         * Necessary for backwards compatibility
         *
         * @see https://bbpress.trac.wordpress.org/ticket/2620
         */
        $user_id  = 0;
    
        /** Topic *****************************************************************/
    
        // Bail if topic is not published
        if ( ! bbp_is_topic_published( $topic_id ) ) {
            return false;
        }
    
        // Poster name
        $topic_author_name = bbp_get_topic_author_display_name( $topic_id );
    
        /** Mail ******************************************************************/
    
        // Remove filters from reply content and topic title to prevent content
        // from being encoded with HTML entities, wrapped in paragraph tags, etc...
        remove_all_filters( 'bbp_get_topic_content' );
        remove_all_filters( 'bbp_get_topic_title'   );
    
        // Strip tags from text and setup mail data
        $topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
        $topic_content = strip_tags( bbp_get_topic_content( $topic_id ) );
        $topic_url     = get_permalink( $topic_id );
        $blog_name     = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    
        // For plugins to filter messages per reply/topic/user
        $message = sprintf( __( '%1$s wrote:
    
    %2$s
    
    Topic Link: %3$s
    
    -----------
    
    You are receiving this email because you subscribed to a forum.
    
    Login and visit the topic to unsubscribe from these emails.', 'bbpress' ),
    
            $topic_author_name,
            $topic_content,
            $topic_url
        );
    
        $message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );
        if ( empty( $message ) ) {
            return;
        }
    
        // For plugins to filter titles per reply/topic/user
        $subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
        if ( empty( $subject ) ) {
            return;
        }
    
        /** User ******************************************************************/
    
        // Get the noreply@ address
        $no_reply   = bbp_get_do_not_reply_address();
    
        // Setup "From" email address
        $from_email = apply_filters( 'bbp_subscription_from_email', $no_reply );
    
        // Get topic subscribers and bail if empty
        $user_ids = bbp_get_forum_subscribers( $forum_id, true );
    
        // Dedicated filter to manipulate user ID's to send emails to
        $user_ids = apply_filters( 'bbp_forum_subscription_user_ids', $user_ids );
        if ( empty( $user_ids ) ) {
            return false;
        }
    
        $to_email = apply_filters( 'bbp_subscription_to_email', $no_reply );
    
        do_action( 'bbp_pre_notify_forum_subscribers', $topic_id, $forum_id, $user_ids );
    
        for ( $i = 0; $i <= count($user_ids); $i++ ) {
            if ( $i % (50 - 1) === 0 || $i === count($user_ids) ) {
                if ( $i !== 0 ) {
                    $headers  = apply_filters( 'bbp_subscription_mail_headers', $headers );
                    wp_mail( $to_email, $subject, $message, $headers );
                }
    
                $headers = array( 'From: ' . get_bloginfo( 'name' ) . ' <' . $from_email . '>' );
            }
    
            if ( $i < count($user_ids) ) {
                // Don't send notifications to the person who made the post
                if ( !empty( $topic_author ) && (int) $user_ids[$i] === (int) $topic_author ) {
                    continue;
                }
    
                // Get email address of subscribed user
                $headers[] = 'Bcc: ' . get_userdata( $user_ids[$i] )->user_email;
            }
        }
    
        do_action( 'bbp_post_notify_forum_subscribers', $topic_id, $forum_id, $user_ids );
    
        return true;
    }
    
    function custom_bbp_init () {
    
        remove_action ('bbp_new_reply', 'bbp_notify_topic_subscribers', 11);
        add_action ('bbp_new_reply', 'custom_bbp_notify_topic_subscribers', 11, 5);
    
        remove_action ('bbp_new_topic', 'bbp_notify_forum_subscribers', 11);
        add_action ('bbp_new_topic', 'custom_bbp_notify_forum_subscribers', 11, 4);
    
    }
    
    add_action ('bbp_init', 'custom_bbp_init', 99);
    
    #183321
    Pascal Casier
    Moderator

    Hi @tananaev ,

    It took me some time to look around, but maybe https://wordpress.org/plugins/asyncronous-bbpress-subscriptions/ can help you ?

    #183301
    Brandon Allen
    Participant

    @giobby

    What I can tell you for sure as a general feedback is that since I’ve moved to bbPRess from phpBB the forum has suddenly died and users are pushing me to roll back to phpBB as they don’t find bbPress as user friendly.

    Humans are generally resistant to change. That doesn’t mean they’re wrong, but it also doesn’t mean they’re right. If you would be willing to share specific feedback your users have given you, we would love to look it over and see what we can do. There’s lots of room for improvement.

    2.6a has been there for a while and I am wondering when a stable version will be available and what new functionalities will be available.

    I’m curious about what specific version of 2.6-alpha you’re running (this should be listed in the admin on the plugins page, e.g. – 2.6-alpha-XXXX). Ultimately, it doesn’t really matter though, because we’re currently at 2.6-beta-2 (https://downloads.wordpress.org/plugin/bbpress.2.6-beta-2.zip).

    I would suggest updating to 2.6-beta-2 and seeing if anything improves. 2.6 will have a lot of improvements. Performance is one of those improvements. The biggest performance improvements won’t becoming until beta-3 is released, but you can always download the development version (https://downloads.wordpress.org/plugin/bbpress.zip).

    Do let us know what comes of any changes.

    #183300

    This is a classic question/problem, that has many-many possible answers.

    Your first resource for improving anything should be what’s available on this codex page:

    Improving Performance

    Everything that’s on that page should be considered, implemented, and tuned. Most of that isn’t specific to bbPress (and is appropriate even just for most WordPress installs) but plugins like bbPress will show huge improvements with adequate caching available.

    * Concurrent users
    * Database slowness
    * Page load times
    * Excessive database queries

    Improving each of those 4 things requires tweaking & tuning specific things for your specific hardware setup. And if you’re on shared hosting, you might not be able to change any of that configuration at all.

    The “concurrent users” problem that BuddyPress & bbPress sites have is actually a good problem to have – it means people are using your site and participating in your community. Server configuration is critical here, as is having adequate hardware that will be ready to serve those requests to your users.

    The reason most WordPress installations don’t have the same problem, is because there are fewer (if any) logged in users interacting with a traditional blog, news, or website without participation. Comments are the only database interaction, and most people disable them these days anyways.

    There are companies (such as WeFoster) whose primary focus is on optimizing their hosting environments for active communities. They’ll offer all of the above and more to help you tune specific things.

    In my experience, it’s easier to identify a specific performance concern, and improve that one thing until you’re happy enough to move onto the next concern.

    #183298

    In reply to: Language

    Roman Matovsky
    Participant

    I use last version. And I downloaded from here https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/ru/default
    But problem is: files shouldn’t be here /wp-content/languages/bbpress/ , files should be here /wp-content/languages/plugins/
    Change instruction please https://codex.bbpress.org/getting-started/bbpress-in-your-language/

    #183295

    Topic: Query error

    in forum Plugins
    kbaldac
    Participant

    We are running WordPress 4.7.3 with bbpress 2.5.12 at http://one-name.org. This mysql error started appearing last night when accessing any forum, topic or reply. I believe it relates to the ‘AND ((()))’ clause:

    Apr 06, 13:03:46
    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘))) AND ggx_posts.post_type IN (‘topic’, ‘reply’) AND (ggx_posts.post_status = ‘ at line 1 for query SELECT ggx_posts.* FROM ggx_posts FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND (ggx_posts.ID = 29822 OR ggx_posts.post_parent = 29822) AND ((())) AND ggx_posts.post_type IN (‘topic’, ‘reply’) AND (ggx_posts.post_status = ‘publish’ OR ggx_posts.post_status = ‘closed’ OR ggx_posts.post_status = ‘retained’ OR ggx_posts.post_author = 5528 AND ggx_posts.post_status = ‘private’ OR ggx_posts.post_author = 5528 AND ggx_posts.post_status = ‘hidden’) ORDER BY ggx_posts.post_date ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), apply_filters(‘template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include, apply_filters(‘bbp_template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp_get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/bbpress/content-single-topic.php’), bbp_has_replies, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    #183292

    In reply to: Language

    Roman Matovsky
    Participant

    Didn’t work 🙁
    I have /wp-content/languages/ So, I created /wp-content/languages/bbpress/
    I dowloaded .PO from here https://translate.wordpress.org/projects/bbpress/2.4.x/ru/default
    Changed what I need. Saved as bbpress-ru_RU.po Compilated to .MO and put both (PO and MO) to /wp-content/languages/bbpress/ (bbpress-ru_RU.po and bbpress-ru_RU.mo)
    I even clean cash. But nothing.
    Help me please.

    #183283
    Pascal Casier
    Moderator

    That a standard feature of WordPress: Subscriptions.

    If somebody is subscribed to a forum, that person will receive an email upon new topic creation.
    If somebody is subscribed to a topic, that person will receive an email upon new reply creation.

    When you are in a forum, somewhere on top it should say ‘subscribe’. Clicking there should send you emails when new topics are created.

    If you, as admin (keymaster) or moderator wants to deal with (manage) subscriptions, have a look at my bbP Toolkit plugin that has ways of activating/deactivating for other users.

    angrywarrior
    Blocked

    1.) I have tested and deactived all plugins, but there is no difference. BBpress just throws 404 on all child forums.

    2.) i have tested with permalinks. Nothing works except for “default”, then it finds the sub forums and displays them all other permalink modes/options fails.

    3.) I have checked .htaccess and cannot find anything special that could make a difference. I haven’t changed anything for sometime. It (bbpress) has worked fine until now.

    4.) I’m using the latest version of wordpress, bbpress & buddypress.

    Any idea what could be worng here? I would appreciate anything that would point me in the right direction!

    Thanks!

    #183267

    In reply to: Language

    Pascal Casier
    Moderator

    Hi,
    bbPress translation is centralized here: https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/ru/default

    If you want to propose a new translation so everybody in the world that uses it in Russian gets your update (when it gets approved), then you can do that using the above link.

    If you only want to change it on your local installation, you can read the codex on https://codex.bbpress.org/getting-started/bbpress-in-your-language/

    #183264
    Michał
    Participant

    I took the phpBB.php modification. I replaced the names of 3 tables in the database: from “xoops_bb_posts” to “posts”, from “xoops_bb_posts_text” to “posts_text”, from “xoops_bb_topics” to “topics”.

    I am working on a converter, converting a forum category -> OK, the first error appears when it starts to convert topics:

    Błąd bazy danych WordPressa: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INNER JOIN posts_text AS posts_text USING (topic_id) WHERE posts.post_id = topic' at line 1]
    SELECT convert(topics.topic_id USING "mypass") AS topic_id,convert(topics.topic_replies USING "mypass") AS topic_replies,convert(topics.forum_id USING "mypass") AS forum_id,convert(topics.topic_poster USING "mypass") AS topic_poster,convert(topics.poster_name USING "mypass") AS poster_name,convert(posts.poster_ip USING "mypass") AS poster_ip,convert(posts_text.post_text USING "mypass") AS post_text,convert(topics.topic_title USING "mypass") AS topic_title,convert(topics.topic_status USING "mypass") AS topic_status,convert(topics.topic_type USING "mypass") AS topic_type,convert(topics.topic_time USING "mypass") AS topic_time,convert(topics.topic_last_post_time USING "mypass") AS topic_last_post_time FROM topics AS topics INNER JOIN posts AS posts USING (topic_id) WHERE posts.post_id = topics.topic_first_post_id INNER JOIN posts_text AS posts_text USING (topic_id) WHERE posts.post_id = topics.topic_first_post_id LIMIT 0, 100

    It seems to me that the problem is because the “newbb” system uses two tables to display the response content: xoops_bb_posts and xoops_bb_posts_text. The structures are both here; http://www.kulturystyka.org.pl/newbb_table_structure.txt

    HW
    Participant

    Thanks, Robin. It appears that the Search Everything plugin was causing the bbPress database error also. I’ve removed that plugin now so no longer require that fix (for now). 🙂

    My main issue with the forum page not showing the WordPress admin bar when logged in until you refresh the page is still happening with every plugin disabled.

    HW
    Participant

    Hi There,

    My client had reported a strange issue that started recently. If I navigate to the forum page, then login to WP, the WP admin bar displays at the top as normal. When I navigate back to the forum page after logging in, the admin bar does not show up on this page only until I refresh the page. At first I thought it was a caching issue with a Autoptimize cache plugin but it still occurs after I deactivate.

    There is an error logging for bbPress repeatedly:
    [04-Apr-2017 17:56:26 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘))) AND hn09m16p3_posts.post_type IN (‘topic’, ‘reply’) AND (hn09m16p3_posts.po’ at line 1 for query SELECT hn09m16p3_posts.* FROM hn09m16p3_posts FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND (hn09m16p3_posts.ID = 8481 OR hn09m16p3_posts.post_parent = 8481) AND ((())) AND hn09m16p3_posts.post_type IN (‘topic’, ‘reply’) AND (hn09m16p3_posts.post_status = ‘publish’ OR hn09m16p3_posts.post_status = ‘closed’ OR hn09m16p3_posts.post_status = ‘reported’ OR hn09m16p3_posts.post_status = ‘acf-disabled’ OR hn09m16p3_posts.post_author = 217 AND hn09m16p3_posts.post_status = ‘private’ OR hn09m16p3_posts.post_author = 217 AND hn09m16p3_posts.post_status = ‘hidden’) ORDER BY hn09m16p3_posts.post_date ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), apply_filters(‘template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include, apply_filters(‘bbp_template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp_get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/bbpress/content-single-topic.php’), bbp_has_replies, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    I used the repair forums tools one by one and now all the forums/topic/replies content is not displaying but the count is correct for each forum/topic, when I go into any of the forums/topics it says “Oh bother! No topics found here”.

    I’m currently setting up a test site to strip it down and see if I can find the cause but I wanted to post this to make sure it isn’t a general bbPress issue with the SQL statement. Any help would be appreciated.

    Wordpress version: 4.7.3
    bbPress version: 2.5.12

    Thanks!

    #183231
    Pascal Casier
    Moderator

    BuddyPress is based on bbPress. So if BuddyPress has the things you look for, then go for it 🙂

    Both BuddyPress and bbPress are WordPress plugins, so user management is done in WordPress. It are all ‘normal’ WordPress users with extra roles/capabilities.

    Hope this helps you making your choice.

    Pascal.

    #183230
    danwakeweb
    Participant

    Hey Guys,

    I have been developing WordPress themes for about 6 years now. I need to create a website where the landing/home page is visible to the public and a few pages that are for members only. The members also need profiles and can only be signed up by the admin.

    Ive been thinking maybe I could create a WordPress site with just a few pages for the public and a private bbpress forum with the registered users and their profiles? I have no experience with bbpress at all so don’t know if it would suit this application.

    The other option that I saw was buddypress but can this be made private and have restricted content for the members?

    It is essentially for a private association.

    Thanks guys

    #183179
    Michał
    Participant

    Good morning, my name is Michael and I am writing from a distant country of Poland :). I have a website dedicated to bodybuilding based on xoops, but I will soon change to wordpress. I have converted all 1200 articles, comments and users, but I have a problem moving forums …

    The newbb script is similar to phpbb, so I used the available converter in the admin panel, I modified it a little, basically the beginning of the category and description of the forum sections. It looks like:
    http://www.kulturystyka.org.pl/test/forums/

    Further modification of the phpBB.php file unfortunately did not produce the expected results, because the newbb script has changed a bit, and the converter in the BBpress package is probably not updated for a long time ….?

    Please help me to modify this file so that it finishes work ie it has moved topics, utterances and users. Below I show how the structure of individual tables in the newbb module (xoops) looks like. I am green in terms of these matters, I am surprised myself that I have moved the forum sections. My WP version is 4.7.3

    I found something like this: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.php?order=name

    Yesterday and today I’m struggling with it …

    I will be very, but very grateful for the help shown. Regards, Michal

    Link to the structure of table; posts, posts_text, topics and users:
    http://www.kulturystyka.org.pl/newbb_table_structure.txt

    #183171
    gbxdigital
    Participant

    Hi
    Thank you for the feedback!

    bbPress 2.5.12
    WP Version: 4.7.3

    We got this error….ERROR: admin-ajax.php: 502 Bad Gateway
    Since the forum is checking for new replies every minute per user
    we had to adjust some settings on nginx configuration.

    We added this config to reduce the amount of queries:
    nginx_fastcgi_buffers: 8 8k
    nginx_fastcgi_buffer_size: 4k

    We found this but cannot figure out what to do: http://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage

    We do not often get error messages but rather what we get are the following as more users come on the site.
    -Site slows down to a crawl
    -site locks up, freezes
    -When it regains questions duplicate or triplicate.

    Could I give you WP access?

    Our web site is dfiuniversity.com and while want to use bbpress for our forum it seems we are not setting it up properly or bbpress cannot manage 150 – 500+++ users at one time. Maybe we should try firebase for such an intense forum? We expect our users to increase to 1k plus soon.

    Regards

    #183161
    PrancingHorse
    Participant

    Hi Robin,

    I just installed BBPress onto the website maybe 3 weeks ago with a brand new WordPress installation. It’s been happening since inception.

    Its not happening for the keymaster account, but it’s happening for everyone else.

    #183150
    5lions
    Participant

    Here is the original graph.

    View post on imgur.com

    That massive CPU use that was bringing the site to a crawl and destroying this brand new server that ONLY has this single forum running on is, is due to wordpresses terrible idea of using /wp-admin/admin-ajax.php to poll the shit out of the server for bad reasons 24/7 any time someone has a page open.

    Also partially due to bbpress slowness.

    That first large drop in cpu you see, and the subsequent large drop to the end of the graph is me completely blocking admin-ajax.php in nginx until I can figure out how to make it work smarter.

    All the latest heartbeat plugins do no seem to work with the latest wordpress. Cannot slow down the heartbeat or turn it off, so I filtered it.

    This is really bad, because I have a community website that allows people to post photos and videos (outside the forum with custom post types) and all of that is broken with admin-ajax.php being blocked.

    Seems no one has successfully solved this issue well on the internet 🙁

    As to performance
    ——————-
    This same site used to run on vanilla forums on a 2 cpu box with 4 gigs of ram very FAST.

    The wordpress/bbpress version runs on a 6 cpu, 12gig box which also includes php 7 upgrade.
    PHP7 is a huge speed improvement over 5.6.

    This new machine literally only had this one site on it.

    The old box was somewhat shared with the vanilla forum.

    So even with effectively double the power, if not more, this runs substantially slower on wordpress/bbpress *sigh*

    I just have to accept I need to pay triple the price for half the performance if I want to stick to wordpress.

    Unless bbpress some day decides to have its own tables, and re-architect specifically for forum performance, were stuck with this. That of course would break a ton of plugins with the whole “share everything via the posts table architecture”.

    May be worth it though. There is a big opportunity here to take over the forum world because its frankly is disarray. All the forum software out there is in a state of suck or dying and there is no clear winner. The integration with wordpress, and its zillion plugins, are what makes this performance sacrifice barely worth it.

    #183148
    5lions
    Participant

    Some feedback on beta 2.

    I run a forum with:
    20K topics
    216K replies
    9200 users

    I took the risk of running a beta in version in prod because performance was just killing me.

    Here is a graph of overall system load after I installed beta2.

    View post on imgur.com

    I had to stretch the graph so you can see the difference.
    It had a substantial effect. Wheeew. Really needed this.

    Been very unhappy with the wordpress platform for running a forum. Wrong architecture.

    I have come to realize Im just going to have to spend a lot more money to run a site on wordpress than forum software that was originally architected for forums. Frustrating how slow wordpress is and how bad their design is.

    #183147
    Pascal Casier
    Moderator

    Hi,
    That will need some programming probably. The starting point has nothing to see with bbPress, so you could refer to these examples as this is all about the WP admin bar: https://codex.wordpress.org/Function_Reference/add_node

Viewing 25 results - 4,576 through 4,600 (of 26,874 total)
Skip to toolbar