Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 226 through 250 (of 11,523 total)
  • Author
    Search Results
  • #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).

    #236197
    Robin W
    Moderator

    ok, no one else is reporting this, and I cannot replicate this error.

    This suggests it is site specific.

    If you are happy that you are getting this on a reply from you where you have definitely only hit the submit button once, then I can only suggest you do the standard fault finding

    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

    Otherwise maybe talk to your hosting provider about site speed

    #236174
    david8mali
    Participant

    Hello, is there any shortcode or other way to display exactly the same profile data on another subpage? I have created a subpage with some information on it, before it I want to put the profile of the user who logs in. His profile will be displayed

    currently i have it at this address /members/test_user. I want this data to be displayed elsewhere

    #235961
    Robin W
    Moderator

    bbpress has not had a release since November 2021, so what do you mean by ‘has lately’ – if after that, then suspect something else is now making that not work.

    You suggested cause (‘I suspect the code doing this is non-standard’) may be correct and something else is now causing this to show or it may not be bbpress causing this. Maybe look at what else has changed – wordpress, php versions, other plugins etc.

    Without knowing your set up or indeed your technical ability (although from you post this seems to be good!) I’d also initially suggest the standard fault finding :

    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

    #235927

    Topic: Forum Transfer

    in forum Installation
    loftus49
    Participant

    I finished populating the forum with topics and now (after typing finger therapy) need to know the following.

    1. How to insure the forum can only be added to or modified by “registered” users.
    2. How to facilitate user registration from the website and sign-in after they have been registered. Can someone who has previously registered be recognized thereby having to sign-in not necessary.
    3. Insure new topics and info entered via the website are added to the forum (Registry).
    4. How to transfer the bbpress database (and files ?) from the test.loftusweb.com to the final loftusweb.com site.

    I would also like to know the upcoming lotto numbers, but won’t ask for that now.

    Robin W
    Moderator

    that’s an interesting point.

    On email addresses, users do not know each others email addresses from the website, and emails addresses are not shown (unless you are using them as usernames). It is possible that registered user George with email abc@def.com wants to post an anonymous comment alongside his real one. He can post with a username of say Fred, but must enter an email address in the form, so does he use his real one (abc@def.com) or must he enter a made up one? And if you don’t permit a real one from a registered user being used, then as an anonymous poster if I try an email address and it rejects, I know that the user with that email address is already on the site. That user might not want it know that he uses the site, but by testing and telling people that email address exists you are publicizing who is using the site. It’s almost certainly doable, but might have undesired consequences.

    On usernames, it is equally possible for one anonymous user to pose as another anonymous user, so it is not just registered users who can get spoofed. Now you could add a test for registered users, and reject these, and that might be sensible, but it is beyond free help, as it would be a chunk of work to do.

    If interested in email or username checking, contact me via

    http://www.rewweb.co.uk/contact-me/ with a link bacjk to this thread.

    #235890
    kemmieg
    Participant

    I’ve tested the plugin and it had no affect on the forum.

    #235877
    Robin W
    Moderator

    Thanks.

    I’d suggest as as a test switch to a default theme such as twentytwenty or twentytwentyone (don’t use 2022 or 2023), and see if this fixes.

    If so, then you’ll need to raise it with the theme breakdance as it is a paid product

Viewing 25 results - 226 through 250 (of 11,523 total)
Skip to toolbar