Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,101 through 9,125 (of 64,454 total)
  • Author
    Search Results
  • #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.

    #183360
    jaroslawistok
    Participant

    Since are buddypress and bbpress now cooperating I thing there is more compatibility in their Plugins. When I put a media Link to buddypress wall it shows in player (Video and audio).

    But bbpress only has an option to embed media which maybe even mostly work but on buddypress the media link than appears as code (Video scr = ….and so).

    Why doesn’t bbpress use just mediaelements.js script as core from WP and maybe ads oEmbed instead?

    There is no possible to have similar design in both.

    eather buddypress shows links in Player or bbpres.
    Any Idea?

    Also there is a problem to have this also in comments.

    jetpack makes also codes. It shows it in player but in buddypress stream again (video src=…)

    Is there any solution to have media Links and embedded elements in the same way on buddypress, bbpress and comments?

    Thankfully for any Idea :o)

    #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!

    #183341
    stratman82
    Participant

    I found that my bbpress forum had been spammed with about 3000 posts so I edited the forum and deleted it from the admin menu, but now my entire website is unavailable:

    The page you are looking for is temporarily unavailable.
    Please try again later.
    6c3c50bccd07516bcb39191096de0569 764d287ec9b0ed3349cd919dc56c049b fd108eaf5ae67f1a0e8a48d6dc69ca87

    Any help?

    #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);
    
    #183330
    tananaev
    Participant

    Thanks for suggestion, but I have actually already implemented it myself. Basically I took original bbpress methods and modified them slightly to split messages by 50 subscribers.

    #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 ?

    #183304
    giobby
    Participant

    Hi,

    It just says “Version 2.6-alpha”.

    I’ll try to download the beta version to check the improvements. Thanks.

    Concerning the feedbacks, I don’t really get anything useful from the users and I start believing they are just lazy.
    Even though, stats speak more than words: before bbpress I had about 11K sessions per month, now I have 800.

    #183302
    Michał
    Participant

    Really no one can help me? I am very interested in it, I am writing in the help forum, but I did not get it. After all, the people who wrote all the converters will certainly be able to modify one of them. It’s only been a few days since I created the topic, maybe too soon I would like the forum to work on bbpress script …. However, I hope that there will be a person willing to help. Regards, Michal sorry for my english 🙂

    #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/

    #183296

    In reply to: Language

    Pascal Casier
    Moderator

    Hi,
    I see you downloaded from the 2.4.x branch. You have a bbPress 2.4 installation ?

    #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.

    #183291

    In reply to: Language

    Roman Matovsky
    Participant

    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/

    Thank you! That’s what I need.

    #183282
    Pascal Casier
    Moderator

    So it’s display only ? But the input of the topics and replies is happening somewhere in a ‘normal’ bbPress forum, right ?

    I think you need to create a theme that only displays what you need. It will be easier then just displaying everything with the shortcodes.

    Step-by-Step Guide to Creating a Custom bbPress Theme

    #183280
    Pascal Casier
    Moderator

    Hi,
    It’s a bit difficult to understand where this is coming from (it might be part of your theme), so if the site is publically availalble, a link to it might be nice.

    It might be that following point 3 of this codex page will help you: https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/

    #183278

    In reply to: bbp_reply_admin_links

    theredeclipse
    Participant

    Thanks a lot, it works now! I’ve removed “class=”bbp-author-” and rest of the code doesn’t display so its suits perfectly for me.

    Now I trying to change args of bbp_get_reply_admin_links (stored in bbpress/includes/replies/template.php)

    Thats my hook

    function hw_get_reply_admin_links ($args) {
    $args = array (
    			'before' => '<div class="list">',
    			'after'  => '</div>',
    );
    return $args;
    }
    add_filter ('bbp_get_reply_admin_links', 'hw_get_reply_admin_links' );

    What’s wrong here?

    #183277
    DessertGuru
    Participant

    I’m going to use bbPress but via shortcodes so that only topics and posts within the topics are displayed on pages. I don’t want the full Forum Root, Forums, Topics etc., displayed on a page. so I’m going to create individual pages for each topic assign the bbpress shortcode for the topic and posts. So is it really necessary to do page/slug assignments in bbpress setup and have the full thing displayed even though I’m not going to use the full bbpress forum display structure and I certainly don’t want to the public to see it.

    or does anyone have any other suggestions on how to accomplish this?

    The “forum” will the individual Page, the Topic will be the posts from users on the assigned page. there won’t be an actual “topic” for each forum since the forum is the topic.

    #183275
    drbgaijin
    Participant

    Further clarification.
    If I reply to a Topic, and have selected “email me replies to this Topic”, the email I get has an active link.
    But what I wanted to achieve, and could do with bbPress Notify, was to automatically send a notification to members when a new topic or new forum was created.
    Regards
    Douglas

    #183274
    drbgaijin
    Participant

    Thanks for the reply. I had installed “bbPress Notify(No-Spam)”. I have deactivated it now to see what happens. Now there are no notifications being sent at all!
    I have been unable to get the barebones bbPress send notifications from the start. So I found the Notify plugin and could get notifications to work – but with no active links.
    Does bbPress have a basic setting to send notifications when a new topic is started? Or can you recommmend a plugin that integrates better with bbPress and can do this?
    Regards
    Douglas

    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!

    #183271

    In reply to: Migration from xenForo

    Pascal Casier
    Moderator

    Did you try importing in the latest bbPress 2.6-beta 2 ?

    Download

Viewing 25 results - 9,101 through 9,125 (of 64,454 total)
Skip to toolbar