Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 326 through 350 (of 11,508 total)
  • Author
    Search Results
  • #234107
    Félix Martínez
    Participant

    Hi there.
    I’m trying to install bbPress in a WP new enviroment.
    Plugin is activated as usual, but when I create a new forum, topic or debate, all front-end pages associated are blank.
    I have tried to replicate the problem in two different servers and it persists.

    
    ### wp-core ###
    
    version: 6.1.1
    site_language: es_ES
    user_language: es_ES
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 1
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /usr/home/almazendesign.com/web/testing
    wordpress_size: 849,97 MB (891255109 bytes)
    uploads_path: /usr/home/almazendesign.com/web/testing/wp-content/uploads
    uploads_size: 110,55 MB (115924400 bytes)
    themes_path: /usr/home/almazendesign.com/web/testing/wp-content/themes
    themes_size: 2,51 MB (2629926 bytes)
    plugins_path: /usr/home/almazendesign.com/web/testing/wp-content/plugins
    plugins_size: 4,73 MB (4962753 bytes)
    database_size: 2,13 MB (2228224 bytes)
    total_size: 969,89 MB (1017000412 bytes)
    
    ### wp-active-theme ###
    
    name: Twenty Twenty-Three (twentytwentythree)
    version: 1.0
    author: el equipo de WordPress
    author_website: https://es.wordpress.org
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor
    theme_path: /usr/home/almazendesign.com/web/testing/wp-content/themes/twentytwentythree
    auto_update: Desactivado
    
    ### wp-plugins-active (2) ###
    
    bbPress: version: 2.6.9, author: The bbPress Contributors, Actualizaciones automáticas desactivadas
    WP Reset: version: 1.97, author: WebFactory Ltd, Actualizaciones automáticas desactivadas
    
    ### wp-plugins-inactive (4) ###
    
    BJA VLE Virtual Learning Enviroment - Bjäland: version: 1.0.0, author: Bjäland, Actualizaciones automáticas desactivadas
    My trades - WordPress Heroes: version: 1.0.0, author: WordPress Heroes - Félix Martínez, Actualizaciones automáticas desactivadas
    WPH Base Plugin - Bjäland: version: 1.0.0, author: Bjäland - Félix Martínez, Actualizaciones automáticas desactivadas
    WPH Chat: version: 1.0.0, author: WordPress Heroes - Félix Martínez, Actualizaciones automáticas desactivadas
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: 1691
    imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
    imagick_version: @PACKAGE_VERSION@
    file_uploads: File uploads is turned off
    post_max_size: 35M
    upload_max_filesize: 35M
    max_effective_size: 35 MB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown
    
    ### wp-server ###
    
    server_architecture: Linux 5.10.0-19-amd64 x86_64
    httpd_software: Apache
    php_version: 8.2.1 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 30
    memory_limit: 192M
    max_input_time: 60
    upload_max_filesize: 35M
    php_post_max_size: 35M
    curl_version: 7.74.0 OpenSSL/1.1.1n
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.5.17-MariaDB-1:10.5.17+maria~deb11-log
    client_version: mysqlnd 8.2.1
    max_allowed_packet: 134217728
    max_connections: 500
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /usr/home/almazendesign.com/web/testing/wp-content
    WP_PLUGIN_DIR: /usr/home/almazendesign.com/web/testing/wp-content/plugins
    WP_MEMORY_LIMIT: 192M
    WP_MAX_MEMORY_LIMIT: 192M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Sin definir
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    

    Thanks in advance.

    #234093
    confusedneedhelp
    Participant

    Screenshot

    Screenshot-2023-01-30-114930

    If you can add to my topic on the Astra support it may help things.

    https://wordpress.org/support/topic/bbpress-user-profile-broken-on-latest-update/

    #234092
    sflwa
    Participant

    @confusedneedhelp

    As a matter of fact I am running astra – I didn’t think to try the page with a default theme.

    I have the pro version so I’ll test that again and reach out to them

    #234090
    confusedneedhelp
    Participant

    Hi,

    I have the same problem. I am using the Astra theme and since the latest update to 4.0.2 the user page enters a constant loop trying to load the profile info until the server cannot cope.

    Are you using the Astra theme? I tried their support but they were not helpful. If I go back to the previous version of Astra it works ok.

    I am using the default Astra theme with only BBpress activated. I can provide a link to a staging site if anyone wants to see it.

    #234028
    Verdant Studio
    Participant

    With troubleshooting mode you mean debug mode? https://wordpress.org/documentation/article/debugging-in-wordpress/

    That would be a good way to start yes, if you have a local or test setup in which you can reproduce the exact same error, I would try turning plugins off one by one there, to see if it is being caused by any of them.

    Errors like these can have many causes but the template for this particular page is at
    /bbpress/templates/default/bbpress/user-profile.php

    #233986
    Robin W
    Moderator

    so did you do the test above with just a default theme and bbpress ?

    #233967
    billco
    Participant

    Hi,
    I have setup a Forum, actually many forums.
    I also setup bbp Private Groups.

    I made a test registrant, and I set them up as a “Private group member” and as a “Participant”. When they log in, they can see the forums, but when they click on any forum title, they go to my website homepage.

    I set a forum to “Public” and it does the same thing.

    I cannot see what setting will allow my Private users to access the forums.

    By the way, I made a Topic in one of the forums (from backend admin), and it shows as the “Last Post” and when the user clicks the “Last Post” they go to the topic.

    #233961

    In reply to: User email management

    Robin W
    Moderator

    Just installed bbpress digest – nothing critical has changed in bbpress since it was written.

    This adds a section to the bbpress user profile edit page which lets each user specify how often and when they get the digest.

    I’ve not tested, but might be worth you taking a second look at this.

    #233957
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #233854
    enkoes
    Participant

    Now all CSS working great!

    The 2nd & 3rd CSS showing results in a much delay manner, that’s why I thought they are not working initially. I have to test run a reply to a topic then only can “push” the CSS to work. 🙂

    Thanks a lot!

    #233793
    Robin W
    Moderator

    if title is unique then

    get_page_by_title()

    untested but something like :

    function rew_find_topic_id ($title) {
    	$topic = get_page_by_title($title, OBJECT, bbp_get_topic_post_type());
    	if (!empty ($topic) {
    		$topic_id = $topic->ID ;
    		return $topic_id ;
    	}
    	else {
    		return 'empty' ;
    	}
    }
    #233651
    leon1912
    Participant

    Hello!
    I used the code from @robin-w and pasted it into a code snippet but it does not seem to work. That is my code:

    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$topic_date = strtotime( get_post( $topic_id, 'post_date', true ) );
                    $forum_id = bbp_get_topic_forum_id($topic_id);
                    if ($topic_date < strtotime( '-2 hours') ) // && $forum_id == 1276 )
                        bbp_close_topic( $topic_id );
    		}
    }

    The auto close time is set to 2 hours to test it and I created a comment after 2 hours because it should happen in every forum.

    Have I done anything wrong? Thanks in advance! 🙂

    #233638
    enkoes
    Participant

    After tested multiple times, I think most probably problem due to Widget Logic plugin. I have now uninstalled this plugin and shifted to Custom Sidebars plugin, problem solved and widgets now can be displayed in every sidebar. Thanks for your help. Happy New Year 2023!

    #233630
    room34
    Participant

    I’m just setting up bbPress on my site (WordPress 6.1.1, custom theme non-Block Editor/Gutenberg).

    I found interior forum pages are working but the main landing page was not. I was able to work around that by setting up a regular page and using the [bbp-forum-index] shortcode, but I see the user profile pages are still not working (and they are doing exactly what the forum index page was doing before).

    Here’s an example:
    https://icscalendar.com/forums-home/users/room34/

    It’s possible this is a problem with my theme, but I’m not immediately sure what might be wrong (and I’d like to fix this without having to test for plugin/theme conflicts because this is my live site and I don’t have a staging environment set up… yet).

    I’m guessing it may be a routing issue… I do have some code in my theme that uses the template_include filter.

    #233622
    Robin W
    Moderator

    that seems to be ok in my test site.

    it might be a conflict between certain widgets

    can you tell me what widgets you are using?

    #233620
    Milan Petrovic
    Participant

    Hey,

    The new version of the Toolbox Pro does contain a feature called Booster, and it does add new DB tables for indexing, but it does not make any changes to how the data is stored by bbPress. If you use Toolbox and disable it later on, there will not be any negative impact because the plugin is not changing how bbPress works with data. When Booster works, it intercepts some bbPress queries and modifies them to use index tables, and that’s it. When the plugin is not working, or Booster feature is disabled, bbPress works as it always does. But, modified queries are much faster than normal ones because Booster removes postmeta from the query and instead adds joins to the index tables (3 tables added for forums, topics and replies).

    Tests I did so far, for queries that Booster can modify, new queries are 20 times faster (on average). But, for large forums (1 million posts or more), queries can be 30-40 times faster. Yeah, I know, that is a huge change, and it might sound unreal, but the postmeta tables in WordPress are never meant to be used for queries the way they are used right now, because the data in postmeta can’t be indexed, and all data is stored in TEXT column, which is the worst column in MySQL for any kind of query.

    Anyone who follows my work knows that I have been proposing multiple times to make core changes to bbPress to stop using postmeta; I even have a GitHub repository with transformation queries and other information about changes needed, and I know that that is a huge thing to implement, but the only way to make bbPress fast, is to stop depending on postmeta for queries. What I did in GD bbPress Toolbox Pro 7.0 is just a small change for now, and I plan to expand index tables with more data and affect more queries (right now it affects 6-7 query types). Again, what my plugin does, doesn’t have any negative effect on bbPress, and if my plugin is disabled, the bbPress works just fine, no data is destroyed by my plugin.

    Finally, query speed is irrelevant for small forums (under 10000-20000 posts). Yes, queries will be much faster with my plugin, but the database size for queries is not that big, but as soon as the forums grow and have more posts, these postmeta queries will get exponentially slower, and my plugin will make it much faster.

    The plugin is now in the Beta stage, with a stable release planned for mid-January 2023.

    Regards,
    Milan

    #233606
    Robin W
    Moderator

    note tested but possibly

    #bbpress-forums .bbp-parent-forum-12345 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #328C00;
    }
    
    #bbpress-forums .bbp-parent-forum-12346 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #ff4b33;
    }
    #233447

    In reply to: bbPress + Elementor

    DeepBlue
    Participant

    For those who would look for this here is the best solution for Elementor theme builder (after lots of testing) :

    include : Forums > all

    and then you just need to add your categories (not forums, just categories, as forums belong to categories)
    include : Any child of > category 1
    include : Any child of > category 2
    include : Any child of > category 3

    that’s it, your theme builder template will now apply to your bbpress forum

    #233445
    DeepBlue
    Participant

    Hi Robin

    Oh great nice 🙂

    i tested it, good to have the counts on users list

    on topics and replies dashboard pages, i can see the author filter, but actually when you have + 100K members a dropdown list might not be the right choice (it’s ok when limited options like 20) or am i missing something ?

    In the forums dashboard page, when i click directly on a user link in the forums lists, then it automatically filters to show only the forums that have been created by this user

    would it be possible to do the same for topics and replies dashboard pages ? i am ok for a paid job of course

    Let me know that would be a great addition to bbp style pack 🙂

    Thank you

    #233314
    Robin W
    Moderator

    ok, it just shows as an underlined link in both cases on my test site.

    May be related to theme or another plugin.

    do you have a link to an example on your site please

    #233273

    In reply to: Topic Count

    bobjgarrett
    Participant

    Thanks for your help on this. Like me you obviously relish a challenge.
    To answer your question, I believe the topic count number has been reset wrongly when new topics I added as that is all other members of the forum could do and I have seen the number change and this is what led me to try to sort this out. I do not want to add a topic myself as the site is live and >400 members would then be alerted. However, there were a few topics which were imported added when I was setting it up which I did not want. I had set these to “hidden”. I just deleted one of these and the topic count immediately changed to the wrong number. So if you have a test site you could just try deleting a topic.
    So it must be whatever function which updates the topic count which is causing the issue but I have not found this.

    #233271

    In reply to: Topic Count

    Robin W
    Moderator

    Interestingly I also tried using the shortcode [bbp-stats] in a test page and that reported the correct number of topics despite the individual forum count being incorrect! How can that be?

    I should start by saying that I am not a bbpress author, just someone trying to help 🙂

    the [bbp-stats] shortcode does the wordpress function
    wp_count_posts( bbp_get_topic_post_type())

    so actually counts the number of topics in the database.

    the forums page calls a function bbp_get_forum_topic_count in \bbpress\includes\forums\template.php

    This looks up the number held in the forum’s post meta under _bbp_topic_count (which you had already worked out)

    so how did you delete the post which caused the numnber to fail back?

    #233269

    In reply to: Topic Count

    bobjgarrett
    Participant

    Thanks for your reply.
    I have looked at this in a bit more detail but not got anywhere!
    As you suggested I compared two topics for a topic imported vs one entered and the differences don’t seem relevant (e.g. no ip address for the imported ones etc.). I also looked at the records from the postmeta table for the two topics and again don’t think there are relevant differences though again no ip address for the imported, 0 for _bbp_reply_count for the imported.
    So no luck there.
    I tried looking at the code of bbpress.php but could not work out how it picked up the count or incremented it.
    Interestingly I also tried using the shortcode [bbp-stats] in a test page and that reported the correct number of topics despite the individual forum count being incorrect! How can that be?

    #233259
    Robin W
    Moderator

    In had a quick look at the code above and the call

    include get_theme_file_path( '/bbpress/templates/default/bbpress/user-subscriptions.php' );

    is looking for that file in your theme, not the bbpress plugin.

    as a test, create a directory in your child theme called ‘woo-bbpress’ (it can be called anything) and put a copy of the user-subscriptions in there

    then replace then above with

    include get_theme_file_path( '/woo-bbpress/user-subscriptions.php' );

    and see if that improves

    #233233

    Topic: Topic Count

    in forum Troubleshooting
    bobjgarrett
    Participant

    Having imported thousands of topics from another system the topic count was incorrect for one of my forums.
    I tried the Repair Forums tool to correct this but it made no difference.
    I then edited the postmeta table for the relevant forum setting _bbp_topic_count and _bbp_total_topic_count to the correct topic number. This worked in that the forum then showed the correct number.
    However, when I then deleted a post (which had been a test topic) the number went back down to only counting those that were actually added rather than those imported.
    So the numbering system is clearly more complex than I thought.
    Can anyone advise how to get the right number to be there and be updated correctly?

Viewing 25 results - 326 through 350 (of 11,508 total)
Skip to toolbar