Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 301 through 325 (of 11,598 total)
  • Author
    Search Results
  • #236898

    In reply to: Is bbpress dead?

    Robin W
    Moderator

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

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

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

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

    I currently have my test site running WordPress 6.3 and php 8.1 with no issues.

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

    However my bbp style pack plugin has fixes for this

    bbp style pack

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

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

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

    But with open software you make your choices….

    #236749
    Robin W
    Moderator

    on holiday at the moment, so untested solution !!

    But try

    add_filter( 'bbp_topic_admin_links' , 'rew_no_close', 10 , 1) ;
    
    function rew_no_close ($r) {
    	if (!bbp_is_user_keymaster() && bbp_is_topic_open()) {
    		unset ($r['close']) ;
    	}
    return $r ;
    }

    This should ensure that only keymasters can close topics (assumes moderators have no backend access)

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236632
    itsmifred
    Participant

    Yes Robin, this is working.

    So : I tried again you first add and it is working fine !

    the html space code is still visible in TEXTE mode but not in the email.

    I am very sorry because of still in the TEXTE mode visible I didn’t even tried first time to send a test subject and make you loosing time !

    thank you for your perseverance and kindness.

    I tried on the staging clone but I am going to use it on the production one. Thanks again.

    Fred

    #236629
    Robin W
    Moderator

    ok, just tried that in my test site and the code above seems to work.

    1. can you give me a exactly what you have put into your functions file, with a few lines above and below

    2. are you using any other bbpress related plugins?

    3. are you using any mail related plugins?

    #236609
    Robin W
    Moderator

    ok, not sure how to help further, maybe try

    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

    #236594
    enkoes
    Participant

    Thanks for the code! I tested and it basically works well.


    @ph59
    if you found not working, try change
    ('12345,34567,78945')
    to
    ('12345','34567','78945')

    Regards.

    #236592
    Robin W
    Moderator

    If the tests above proved nothing, then I can only suggest you have some form of corruption on either database or more likely software.

    But can you confirm that this does not happen every time, and if so how often (eg 1 in 3 posts, 1 in 10, 1 in 100)?

    Are you able to clone your site?

    #236573
    Robin W
    Moderator

    ok, again untested but this

    add_filter ('bbp_topic_admin_links' , 'surpress_moderator_links', 10 , 2) ;
    add_filter ('bbp_reply_admin_links' , 'surpress_moderator_links', 10 , 2) ;
    
    function surpress_moderator_links ($links , $id) {
    	
    	if (bbp_is_topic( $id)) $forum = bbp_get_topic_forum_id( $id ) ;
    	if (bbp_is_reply( $id)) $forum = bbp_get_reply_forum_id( $id) ;
    	if (!in_array($forum, array ('12345','34567','78945'))) return $links ;
    	//if user is moderator but not a keymaster...
    	$user_id = wp_get_current_user()->ID ;
    	if (bbp_is_user_keymaster($user_id)) return $links ;
    	if (current_user_can( 'moderate')) {
    		//check if the topic/reply is posted by another moderator, and if so unset the links
    		if (bbp_is_topic( $id)) $author_id = bbp_get_topic_author_id( $id ) ;
    		if (bbp_is_reply( $id)) $author_id = bbp_get_reply_author_id( $id ) ;
    		if (bbp_get_user_role( $author_id)  == 'bbp_moderator') {
    			 unset ( $links ['approve'] );
    			 unset ( $links ['spam'] );
    			 unset ( $links ['trash'] );
    			 unset ( $links ['move'] );
    			 unset ( $links ['split'] );
    			 unset ( $links ['edit'] );
    			 unset ( $links ['move'] );
    			unset ( $links ['merge'] );
    			unset ( $links ['close'] );
    			unset ( $links ['stick'] );
    		
    		}
    	}
    return $links ;
    }

    just change ‘array (‘12345′,’34567′,’78945′))’ to have a list of the forum ID’s you want to check against

    #236567
    Robin W
    Moderator

    maybe …not one the bbpress authors allowed for 🙂

    anyway, totally untested as I need to be doing other things, but this might do it
    revised code below

    of course if moderators are allowed into the backend, then this becomes pointless, but I would argue that only admins should be backend access 🙂

    #236556
    Robin W
    Moderator

    probably – maybe set up a test moderator and try

    Robin W
    Moderator

    hmmmm… not sure it would be that, as bbpress is loading ok.

    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

    Ronny Kreuzberg
    Participant

    Hello, i am using this code Part to show latest Topics in certain Forums. It is giving the correct Topic ids but wont show them except of original Language even if i opened it in a different language first.

    <section class=”topics”>

    <div id=”bbpress-forums” class=”bbpress-wrapper”>

    <h3><?php echo __(‘Recent Topics’, ‘WordPress’); ?></h3>

    <?php

    $topic_parents = array();

    foreach ($match_parent_ids as $match_parent_id) {

    $match_ids = get_children(array(
    ‘post_parent’ => $match_parent_id,
    ‘post_type’ => ‘forum’,
    ‘fields’ => ‘ids’,
    ));

    foreach ($match_ids as $match_id) {

    $topic_ids = get_children(array(
    ‘post_parent’ => $match_id,
    ‘post_type’ => ‘topic’,
    ‘fields’ =>’ids’,
    ));

    foreach ($topic_ids as $topic_id) {
    echo $topic_id;
    }

    $topic_parents = array_merge($topic_parents, $topic_ids);

    }

    }

    $args3 = array(
    ‘post__in’ => $topic_parents,
    ‘post_type’ => ‘topic’,
    ‘post_status’ => bbp_get_public_status_id(),
    ‘posts_per_page’ => 10,
    ‘orderby’ => ‘freshness’,
    ‘order’ => ‘DESC’,
    );

    if (bbp_has_topics($args3)) :

    bbp_get_template_part(‘loop’, ‘topics’);

    else :

    bbp_get_template_part( ‘feedback’, ‘no-topics’ );

    endif;?>

    </div>

    </section>

    Thanks for helping

    #236489
    ibnat
    Participant

    I am testing the WPMobile app plugin and am finding it pretty hard going to be honest. It does now seem obligatory to have this as 80 percent of my visitors are now on mobile and hardly anyone goes home and turns on the desktop anymore.

    Has anyone here used this plugin? I would love to see some examples of any BBPress forums using it.

    Thanks in advance

    #236482
    fearless359
    Participant

    There is a css setting, if-no-js, that is setting display none before the button bar. This stops the button bar to no display. How do I cause the “no js” test to be false to allow the button bar to display?

    #236427
    Darryl
    Participant

    Hey Robin, while the best answer would have been “There’s a new fancy version about to be released” 🙂 I truly appreciate your response.
    You make a lot of sense.
    I’m setting up a test site right now and I’m going to try bbPress again with your plugin.
    thanks bud.

    #236419
    Robin W
    Moderator

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

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

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

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

    I currently have my test site running 8.1 with no issues.

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

    However my bbp style pack plugin has fixes for this

    bbp style pack

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

    All plugins are subject to the authors commitment so other options offer the same amount of certainty.

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

    But yes, with open software you make your choices….

    #236416
    Darryl
    Participant

    I’m looking at the latest update being over 2 years ago, maybe one of the example sites listed are even running WP at all.

    Is bbPress still a viable solution for a WP forum?

    #236365
    nathan13
    Participant

    Reply*test

    #236354

    In reply to: Is bbPress alive?

    Robin W
    Moderator

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

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

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

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

    I currently have my test site running 8.1 with no issues.

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

    However my bbp style pack plugin has fixes for this

    bbp style pack

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

    All plugins are subject to the authors commitment, and I would not count on ANY plugin having a 10 year support timescale, so other options offer the same amount of certainty.

    As @terresquall says the main WordPress support forums use bbpress, and it would be mega work to move those over to some other product.

    But yes, with open software you make your choices….

    tronn
    Participant

    which latest releases?

    I’ve tried both from here https://bbpress.org/download/

    In the meantime I have switched from Elementor to Avada (largest WP template), same issue. The index is fine but viewing a forum or topic the root dir setup is gone, i.e. forum stretches the entire content area and no sidebar or containers.

    Since the bbPress install was 9 years ago also used the tools to reset everything.

    The problem appears to be that bbPress (or the latest WordPress 6.2.2) is not considering the root dir setup.

    May be related https://core.trac.wordpress.org/ticket/58366

    Robin W
    Moderator

    which latest releases?

    tronn
    Participant

    With the latest releases when navigating to a forum (not the forum index), any Elementor code is gone. Same when using just a sidebar or blocks.

    I found an old advice here https://kriesi.at/support/topic/bbpres-no-sidebar-in-topics/ but unclear where the mentioned sidebar.php is located (perhaps theme specific).

      Other things I’ve tried

    • Configured to use the same forum slug (forum, no root)
    • Disabled the main theme, use the latest WordPress default theme.
    • Disabled a redirection add-on.
    #236282
    grownow
    Participant

    bbPress is a popular forum software that is designed to integrate seamlessly with WordPress. While it is primarily intended to be used as a WordPress plugin, it is technically possible to install bbPress without WordPress. However, this is not a recommended or officially supported use case.

    bbPress relies on various WordPress functions, libraries, and database tables to function properly. Therefore, attempting to install bbPress as a standalone application without WordPress may lead to compatibility issues and limited functionality.

    Regarding the documentation for setting up bbPress without WordPress, it’s important to note that the official bbPress documentation primarily focuses on its usage as a WordPress plugin. Since installing bbPress without WordPress is not the recommended approach, there may not be official documentation specifically addressing this scenario.

    If you still want to proceed with installing bbPress without WordPress, you can try the following general steps:

    Download bbPress: Visit the official bbPress website (https://bbpress.org/) and download the latest version of bbPress.

    Set up a web server: Install and configure a web server (such as Apache or Nginx) on your server or local machine.

    Set up PHP: Install PHP and configure it to work with your web server.

    Set up a MySQL database: Install and configure a MySQL database server. You will need to create a new database for bbPress and a user with appropriate privileges.

    Create the necessary directories: Create a directory on your server or local machine where you want to install bbPress.

    Extract bbPress: Extract the contents of the bbPress download package into the directory you created.

    Configure bbPress: Open the config.php file located in the bbPress directory and modify the database connection settings to match your MySQL setup.

    Set up the necessary tables: bbPress requires specific database tables to function correctly. You may need to manually create these tables using MySQL commands or import an existing schema if available.

    Configure your web server: Set up the necessary configuration directives in your web server to point to the bbPress installation directory.

    Access bbPress: Once you’ve completed the above steps, you should be able to access bbPress by visiting the appropriate URL in your web browser.

    It’s important to note that this process may require advanced technical knowledge and troubleshooting skills. Since this is not the intended use case for bbPress, you may encounter various compatibility issues or limitations along the way.

    If you’re looking to create a standalone forum application, there are other forum software options available that are specifically designed to work independently without relying on WordPress, such as phpBB or Discourse. It may be more suitable to explore those alternatives for your needs.

    #236232
    codejp3
    Participant

    @tealcfr – what Robin W suggested is probably your best bet if you need it done immediately.

    Considering that there are plenty of other topics on this very same thing and there’s been a 9 year old ticket for this very thing (https://bbpress.trac.wordpress.org/ticket/2605), your options are limited. A simple and logical approach without any code like Robin suggested above, or custom queries and perhaps some custom code like I suggested before that.

    I’ve taken a look at /includes/converters/bbPress1.php and /includes/classes/class-bbp-converter-base and I think it’s realistic to make a bbPress2.php converter to use within the default bbPress importer (and would also solve the outstanding ticket #2605). If you don’t have the skills to do that, I’d consider doing it as an addition to the bbPress community, but I’d want you (and others) to test it before it gets submitted as a patch. I could have it ready for testing within a week or two. Not a good option if you’re in a rush.

    #236221

    In reply to: TinyMCE for guests?

    codejp3
    Participant

    Follow-up:

    Apparently this is only a problem on some sites with misconfiguration/other issues, and also for certain browsers.

    I am able to get the TinyMCE editor control buttons to display properly on a fresh test site, and it works well on every common browser.

    The issue at hand is on a specific site with specific issues that need to be dug into a little deeper. It is not an overall bbPress/TinyMCE issue. You can ignore this topic and not post any suggestions (unless you really want to).

Viewing 25 results - 301 through 325 (of 11,598 total)
Skip to toolbar