Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,026 through 9,050 (of 64,495 total)
  • Author
    Search Results
  • #183816

    Topic: Catchable Error

    in forum Installation
    codyrauh
    Participant

    WILD ORIGIN
    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/a2pewpnas01_data03/66/3912866/html/wp-content/themes/simplenotes/functions.php on line 118

    I know it is to do with something in my template that bbpress doesn’t like, is there a simple fix for this without removing my theme?

    DragoWeb
    Participant

    Hi, the apostrophe (simple quote) was displayed as &#039 ; in the email subject so I fixed this by adding this line:

    $topic_title = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES');

    in myrsite\wp-content\plugins\bbpress\includes\common\functions.php, lines 1094 and 1252 (bbpress 2.5.12). Between these 2 lines:

    $topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    $topic_title   = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES');
    $topic_content = strip_tags( bbp_get_topic_content( $topic_id ) );

    I’m a beginner with php so maybe there is a better way to achieve this, but worked great for me 🙂

    #183813

    Topic: Forum Problem

    in forum Installation
    datboi
    Participant

    Hello,

    First of all i am using 4.7.4 version of WordPress and 2.5.12 version of bbpress.
    The problem is when i click “Forums” button (on WordPress Admin) i get HTTP 500 error
    this happens when i click “New Forum” or “All Forums” too.

    The weird part is that i can open a topic without no forum.

    My WordPress site: forums.the-rvo.com

    enquirer32
    Participant

    So. All of my forums have disappeared so its not surprising I can’t see them! Is there some kind of self-destruct button in bbpress?

    bigt11
    Participant

    @welshdemon did you ever figure this out, I am pretty much doing – stuck exactly where you are. I am going for older bbpress to newer bbpress that is part of a full site update and just want to bring everything in cleanly. It does bring in my replies, and they seem to be connected properly in the backend, but frontend, they do not show.

    If i edit a reply, and just hit the update button, it will then show. I want to avoid doing that 1000 times.

    Even if I export the topics from the new site, that show properly after I did the update trick mentioned above, then bring it back in (wordpress import) to test if it will import properly, it does not, has same symptoms a you mentioned.

    #183796
    abkrim
    Participant

    Hi.

    According Enable visual editor I put on my child theme’s functions.php code

    `// Additional Functions
    // =============================================================================

    // bbPress Visual Editor
    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    $args[‘teeny’] = false;
    return $args;
    }
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );`

    But not work.

    Also I try to install plugin TinyMCE Advanced but not work.

    I’m using X Theme (Theme.co)

    #183790
    danaroo
    Participant

    Hi Robin, yes! I am happy to try to provide more clarity.

    When I click on a Forum Topic in my sidebar/widget (bbPress widget)

    Adverse Impacts

    it (correctly) takes me to that Forum Topic/List of forums. BUT..when I click on the breadcrumb (Home › Community Forum › Adverse Impacts at top of forum list) it takes me back to a BLOG Page called ‘Community Forums’,

    https://nolaportegravel.org/community-forum/

    which I don’t even know where this Blog is coming from! I intend for it to be going to my PAGE called ‘Community Forum’

    #183780
    danaroo
    Participant

    I am running WordPress 4.7.4 and using bbPress v 2.5.12

    I have a ‘Forum Topics’ widget set up in the sidebar and the breadcrumbs is linking to a Blog page. I want this to link to a PAGE in my site instead. I cannot figure out how to do this.

    My site is;

    and the breadcrumb that I want to re-direct is this;

    Any assistance here is appreciated.
    Dana

    #183778

    In reply to: Login widget

    Robin W
    Moderator

    yes bbpress just uses the wp login, so as ling as logged in then it will work.

    #183773

    Topic: Login widget

    in forum Installation
    ctuxboy
    Participant

    Hello,

    Has the bbpress login widget the same functionality as the wp-admin login?
    The reason i’m asking this, that my theme (Divi) has a nice login form option layout.
    So can i use the themes login form widget instead of bbpress login form widget?

    #183772
    Robin W
    Moderator

    that text is in

    \templates\default\bbpress\form-topic.php

    and you’ll probably also want

    \templates\default\bbpress\form-reply.php

    for replies

    you’ll probably want to put revised versions in your child theme

    Functions files and child themes – explained !

    You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.

    so if you wanted to amend form-topic.php you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php
    bbPress will now use this template instead of the original
    and you can amend this

    #183769
    ico33
    Participant

    Latest News: I restored WordPress to a few weeks ago, but still with the latest release.

    Rstoring, the issue disappeared. And some plugins asked me to make an upgrade because of the restore to a few weeks ago. Due to the problem “solved”, I tried to update one plugin by one, and see if the problem comes back. Yes! It came back after the update of “Custom Sidebars”.

    “ok” – I thought – “now deactivate it and see if the problem disappears”. Well, deactivating Custom Sidebars, the issue remains! And the only way to make it disappear is, now, deactivating BBpress.

    What a confusion!

    What do you think?

    #183766
    ctuxboy
    Participant

    Hello,

    In a previous topic asking for ‘Moderate Topics’ https://bbpress.org/forums/topic/moderate-topics/ (thanks to Robin W. for the answers)

    So i do some research and see if a topic started there are a status option (open, close, pending,…)

    How can i setting the ‘register_post_status’ automatic to pending for new topics, and disable/ hide this option below the textbox?

    Regards,
    Christophe

    #183761
    timsilva_
    Participant

    I was considering Tapatalk for bbPress (after migrating from SMF which has Tapatalk support) a while back in an effort to compete with Slack.

    I did bookmark this URL: https://tapatalk.com/download_bbpress.php – but it is no longer active, it just redirects. Here is the archive.org version: https://web-beta.archive.org/web/20150911232515/https://tapatalk.com/download_bbpress.php

    There also was this plugin, but I haven’t tested it or confirmed that it is actually meant for bbPress specifically (it looks like it is for blog comments): https://wordpress.org/plugins/tapatalk/

    If anyone is currently using Tapatalk with bbPress, let us know how. 🙂

    mysugarfreejourney
    Participant

    I have been running a challenge in a FaceBook Group that involves a nightly live video from me. I would like to start monetizing these challenges by charging a monthly fee to access them. Is there a way to use bbPress where only people with a current paid account can access it AND it can also support a live video every night just like the FB page does? I’d like for it to also be able to hold PDF’s the members can download. I’m not technically savvy at all so if someone has a better idea for how to do this, I’m all ears. Thanks!

    #183754
    aminazadi
    Participant

    Is it possible for AJAX to be transmitted on BBpress Topics?

    #183752
    joyking
    Participant

    Looks like you know about the error and the fix is coming in bbpress 2.6 installed the beta and it worked

    #183749
    joyking
    Participant

    hi
    i have now tried to install bbpress in 3 different places and not one works
    one is my main site im working on and one for my friend and tried on localhost and all 3 gives me the same error when i click on forums tab on the admin dashboard.

    here is debug from the localhost. i get the same error on the other 2

    Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\wordpress\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\htdocs\wordpress\wp-includes\class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\htdocs\wordpress\wp-includes\class-wp-query.php(3238): WP_Query->get_posts() #5 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\htdocs\wordpress\wp-includes\functions.php(955): WP->main(Array) #8 C:\xampp\htdocs\wordpress\wp-admin\includes\post.php(1072): wp(Array) #9 C:\xampp\htdocs\wordpress\wp-admin\includ in C:\xampp\htdocs\wordpress\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800

    #183747

    In reply to: Moderate topics

    ctuxboy
    Participant

    Robin,

    Thanks for the fast reply, but this plugin is 4 years old.
    Is this not a problem?
    Is it full compatible with the lastest bbpress plugin?
    No security issues?

    #183746

    In reply to: Moderate topics

    Robin W
    Moderator
    #183745

    Topic: Moderate topics

    in forum Plugins
    ctuxboy
    Participant

    Hello,

    I’m new with bbpress.
    My first question: is there a moderate option for starting new topics?

    Regards,
    Christophe

    Scott N
    Participant

    @talkedtv — I know it’s been three years, but if you can remember and describe here how your theme caused this problem and how you fixed it, I’d be most appreciative! My forum search is exhibiting the exact same behavior, and I am using a highly customized theme, including custom bbPress templates.

    EDIT: I did come up with a workaround, but it’s clunky as it requires creating a blank placeholder page with the slug search. In my page.php template, right after the_post() is called, I added this:

    if ( strpos($_SERVER['REQUEST_URI'], '/search/') === 0 ) {
        $post = get_page_by_path('search');
    }
    nomadickings
    Participant

    I have just set up bbPress on my website and am about to launch my forum.

    I want to have an App that users can utilize to make it super easy for them to access the forum – most of the community currently uses Facebook Groups (with lots of complaints) so I want to make it as easy as possible for them to move across to my forum.

    I was initially thinking that I’d have a Tapatalk App built however I’ve now been informed it doesn’t work with bbPress.

    Is there an app that anyone knows of that will work?

    Or, another option?

    #183742

    In reply to: TTFB problem

    newz12
    Participant

    I have hired someone to look at the database and this is his comments:

    ==========================================

    so, basically your query is processing too many records in a couple of tables wp_posts(1’980’935 records) and wp_postmeta(10’818’678). It matches and returns 57’639 records.

    The core query is:
    select SQL_NO_CACHE wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125);

    which returns 399’291 record for 2.1s
    which is a huge join

    Then the extra “where” conditions add extra time. The query bellow:

    select SQL_NO_CACHE wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125) AND wp_postmeta.meta_key = ‘_bbp_forum_id’;

    reduces the returned records to: 57’639 and in fact the rest of the where statements do not change the final result but are only adding more time for processing.
    The query takes about 3s.

    Both queries above are well indexed and are execucuted in the optimal way.
    With this amount of returned records matched against the 2 big tables (~11mln and ~2mln records in each) executon time of less than 3s can not be achieved.

    is this forum using a custom php code developed in house?

    ME: It is using bbPress, which runs on WordPress

    the thing is, this code is not optimal in term of database design
    because it’s using a couple of wordpress general storage tables
    to store the forum posts and threads
    as you can guess this 2 tables have a lot more data in it along the forum data
    from other hand the query you sent has too many “where” conditions
    which are not relevant at all

    AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) )
    AND wp_posts.post_type IN (‘topic’, ‘reply’)
    AND (
    (wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘pending’ AND wp_posts.post_author = 0) OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘hidden’)
    OR
    (wp_posts.post_author = 0 AND (wp_posts.post_status = ‘private’))
    )

    non of this are changing the final result at all, but are slowing the core query with extra time

    in short – there is not an easy “magic” fix in the database side
    as I said the core query is well indexed and runs optimal by the SQL engine
    the only thing can be done is to change the query a bit
    but we can hardly get it under 2.5s
    and this will require PHP code changes

    ME: What would be your suggestion to achieve a similar performance with database?

    get rid of the WP
    the WP pluggin you use is a forum implementation on top of WP
    understand that, but you are expecting something by this WP pluggin that it can’t provide

    with storring everyhing in a couple of tables – that can’t be done

    won’t even comment:
    AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) )

    this part
    wp_postmeta | CREATE TABLE wp_postmeta (
    meta_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    post_id bigint(20) unsigned NOT NULL DEFAULT ‘0’,
    meta_key varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    meta_value longtext COLLATE utf8mb4_unicode_ci,
    PRIMARY KEY (meta_id
    )

    as you can see meta_value field is a longtext!!!
    you can imagine how can you filter by this field
    without index
    scanning millions of records by a field that holds huge strings
    in same table wp stores all sessions, etc..

    just to imagine how much extra data is stored in wp_postmeta table
    here is a some stats by meta_key and the number of records (top 20 or so):

    | external_image_id | 100828 |
    | external_place_lat | 100845 |
    | external_place_lng | 100862 |
    | external_upload_batch | 110848 |
    | amazonS3_cache | 121546 |
    | _bbp_activity_id | 199233 |
    | filter | 239951 |
    | id_field | 239952 |
    | __defaults_set | 239974 |
    | _bbp_post_id | 1418227 |
    | _bbp_topic_id | 1426899 |
    | _bbp_author_ip | 1426899 |
    | _bbp_forum_id | 1426909 |
    | _barcelona_vote_up | 1732202 |
    | _barcelona_views | 1732206 |

    in fact this WP pluggin is using mysql as a simple storage and not as a relational DB
    as I said above it’s a bad DB design problem
    because it’s a just a pluggin/extension of a CMS system

    ==========================================================

    Basically he is telling me that we won’t be able to achieve good loading time, because it is running on WordPress and the database design is a problem.

    What do you think, is there hope?

    We run a forum with 1.4 million posts and almost 100k members, if it can give you an idea.

Viewing 25 results - 9,026 through 9,050 (of 64,495 total)
Skip to toolbar