Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 801 through 825 (of 11,571 total)
  • Author
    Search Results
  • #220618
    Robin W
    Moderator

    ok, this thread was for version 1 of the plugin.

    If you have an issue, 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

    #220590
    Robin W
    Moderator

    my test site with just twentytwenty and bbpress works both with or without the prefix – I just make sure the landing page has the same permalink as the forum slug.

    Every site is unique, so if that is not working for you, I’m not sure what to suggest next – sorry 🙁

    #220575
    Robin W
    Moderator

    However 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

    #220573
    Robin W
    Moderator

    ok so are you seeing these topics in

    dashboard>topics ?

    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

    #220571
    lolataylor1
    Participant

    If you go to my website, this is the path I am taking on my website to get to the topic, which gives me the error.

    https://authorready.com/forum
    From here, I click on the Announcement forum and see two topics: Test Topic Creation and Monthly Calls. When you click on either, it sends me to the 404 page.

    #220563
    Robin W
    Moderator

    can you explain

    Forum > Announcements > Test Topic Creation

    the form is usually at the bottom of the forum listing, what are you selecting in ‘test topic creation’ ?

    #220560
    lolataylor1
    Participant

    WP version 5.7.2
    bbPress Version: 2.6.6
    Astra Theme Version: 3.4.2
    Website: https://authorready.com/forum

    I did a new install of bbPress on my existing site with the Astra LearnDash theme with no child theme. I followed the instructions on the step-by-step page (https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/) to set up the forum and am using the shortcode [bbp-forum-index] to display the forum on my page.

    When I navigate to a topic from the forum (i.e., Forum > Announcements > Test Topic Creation), it shows my 404 page instead of the topic. The same thing happens if I go into the topic from the admin panel and try to preview the page. I have tried to following from other topic support tickets with no success:

    1. Dashboard > Settings > Permalinks and clicked save. No change.
    2. Installed Health Check & Troubleshooting. Health Check was good.
    3. Entered troubleshooting mode and deactivated all but the bbPress plugin with the Twenty Twenty theme. Still no topics, but redirected to the home page instead of the 404.
    4. Installed bbPress WP Tweaks and tried all of the .php page settings with no change.

    Is there something I’m missing? I’m at a loss of what else to try or why it may not be working.

    #220519
    Robin W
    Moderator

    dashboard>settings>discussion is a default wordpress option, so if you don’t have this, then something is wrong outside of bbpress !!

    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

    #220510
    Robin W
    Moderator

    ok, so as a test can you deactivate elementor to see if that resolves – trying to work out what combination causes the issue

    #220507
    nicolaboscolo
    Participant

    To reproduce the problem I installed a clean wordpress 5.7.1. Then Elementor, bbPress and the test plugin. Then I activated them in the same order. At the moment that I activate the test plugin bbPress menu items literally disappear.
    PS: in this configuration I am able access the forum as a user. But when i discovered it on my working site the first time, forum pages were blocked as i described before.

    #220504
    Robin W
    Moderator

    ok, I installed the test plugin, and have not been able to find an issue.

    For instance you say ‘bbPress admin menu items disappear.’ – I can still see all admin items, can you specify an exact example of one that goes eg ‘in this I no longer see that’

    #220492
    wleanadev
    Participant

    I am having exactly the same issue, I set the minute number to be 9999, which should be more than enough. When tested, the edit still requires approval! First time edit, and second time edit had the same issue.

    #220451
    webmasterfreya
    Participant

    Hi Back to Front,

    I also have buddypress installed. As admin you have for each member a page wich among other things shows topics started and replies made by the member. The replies did not show up (and there were definitly replies).

    As buddypress makes use of bbpress for fora i expected your code to work but it did not (is the culprit then buddypress or bbpress or your code? I haven’t the faintest idea).

    Maybe : if( $bbPress_post_type ==’topic’ ){

    /** TOPIC **/
    $query[‘order’]=’DESC’;
    return $query;

    should have an } else {return $query}

    #220447
    nicolaboscolo
    Participant

    The problem is that sometimes with a combination of some plugins (firstly started with Acy Mailing)

    • bbPress admin menu items disappear.
    • Keymasters are able to access the pages but can’t reply.
    • Participants can’t access the forum pages at all.

    Acy Mailing did some investigation and it turned out that this issue comes out when bbPress is calling the function wp_roles. WordPress version 5.7.1
    Here is their comment:

    After some investigations and tests, it appears the issue is coming from the BBPress plugin.
    In AcyMailing we are calling a WordPress core function (wp_roles) which gives the user roles.
    AcyMailing is called before BBPress and this is what creates the issue. It seems that whenever an other plugin is calling this function before BBPress, its role system is not working properly and doesn’t give access to its content.
    Whichever plugin who calls this WordPress function before them will create the problem.
    As an example we created a test plugin which only call this function and does nothing else and it also prevent BBPress from working properly (I have attached this test plugin).

    sino27
    Participant

    Hi there. Sorry for reviving this thread. But I had to as this is some serious privacy issue.

    A code from “bjornwebdesign” is definitely working but not completely. I mean on this code posted in his “Ok, last time, I promise :p…”

    /*
     * Do stuff when the user's xprofile is updated
    */	
    function xprofile_updated ( $user_id, $posted_field_ids, $errors, $old_values, $new_values) {
    	/*
    	 * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
    	 * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
    	 * Altough this should run AFTER updating profile fields (saving to DB), the nicename is only updated after a second save. So we need to check from $new_values
    	 */
    	$new_display_name = '';
    	foreach ( $new_values as $key => $value ) {
    		if ( is_array($value) && $key == 1 ) { // field display_name = 1, make sure this is correct
    			foreach ( $value as $k => $v ) {
    				if ( $k == 'value' ) {
    					$new_display_name = $v;
    				}
    			}
    		}
    	}
    	//error_log('******** xprofile_updated: '.$user_id.' | NEW DISPLAY_NAME: '.$new_display_name.' *********');
    	$search = array( ' ', '.' ); 
    	$replace = array( '_', '' );
    	$user = get_user_by( 'ID', $user_id );		
    	if ( $user ) {
    		if ( $user->data->user_status == 0 && $new_display_name ) {
    			$new_user_nicename = strtolower(str_replace( $search, $replace, $new_display_name) );
    			if ( strlen ( $new_user_nicename ) > 50 ) {
    				$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    			}				
    			if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    				$args = array(
    					'ID'            => $user->ID,
    					'user_nicename' => $new_user_nicename
    				);
    				wp_update_user( $args );
    				//error_log('******** updated user_nicename: '.$user->ID.' | NEW USER_NICENAME: '.$new_user_nicename.' *********');
    				wp_redirect( get_site_url().'/leden/'.$new_user_nicename.'/profile/edit/group/1/' ); // we cant use bp_core_get_user_domain() here, because it still uses the old user_nicename
    				exit;					
    			}
    		}
    	}
    }
    add_action( 'xprofile_updated_profile',  'xprofile_updated', 100, 5 );

    – but there is one critical flaw. After code is applied, user can not update their profile anymore. Like you can go to (example) update name or nickname. You press save and nothing changes. Profile is not updated.

    If I apply “bjornwebdesign” previous code (meaning code he posted just before his latest code) –

    
    /*
     * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
     * This runs allways (with init hook), we should only do this once and then on user register & profile update..
     * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
     * And offcourse allways use something like: 'bp_core_get_user_domain( $user_id )' when you want to get the user's profile url.
     */
    $search = array( ' ', '.' ); 
    $replace = array( '_', '' );
    $all_users = get_users();		
    foreach ( $all_users as $user ) {
    	$display_name = $user->data->display_name;
    	if ( $user->data->user_status == 0 && $display_name ) {
    		$new_user_nicename = strtolower(str_replace( $search, $replace, $display_name) );
    		if ( strlen ( $new_user_nicename ) > 50 ) {
    			$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    		}				
    		if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    			$args = array(
    				'ID'            => $user->ID,
    				'user_nicename' => $new_user_nicename
    			);
    			wp_update_user( $args );					
    		}
    	}
    }
    

    then updating of profile is working. User can update profile but after pressing “Save” there is 404 error. Even 404 is acceptable as at least user can update their profile. However performance is severely degraded on a website with many members.

    So basically only his latest code is working in a way that their profile URL is hidden, performance is not degraded but user profiles can not be saved or updated. Can anyone help and update his code so that user are able to update their profiles?

    deborah86
    Participant

    @robin-w

    buddyboss is a private development that includes bbpress and buddypress in it, buddyboss has its own theme, and is designed to work with that. it is really designed as a paid solution with its own theme. https://www.buddyboss.com/

    Buddyboss is not a replacement for buddypress and/or bbpress – these free plugins are just used by it.

    I understand.

    As the twenty twenty support says in their first post ‘I used the steps above to try and reproduce the issue you described, but I was unable to. When testing, I see the list of forums available as expected.’

    bbpress works fine with twentytwenty, as indeed does bbpress and buddypress work with twentytwenty.

    Neither bbpress or BuddyBoss are working correctly on my website with the Twenty Twenty theme. That is why I am contacting both bbPress and BuddyBoss for support. I have tried both plugins.

    I first had the issue with bbPress. I installed BuddyBoss to see if I would have the same issue. I still had the same issue.

    I contacted BuddyBoss. They told me to contact the twentytwenty theme developers because it is an issue with the theme. I contacted them. They told me it is an issue with BuddyBoss and bbPress since I experience the same issue with both plugins. Now, I am contacting bbPress and BuddyBoss for additional help.

    I have had the website since November and I am unable to replicate the issue on a brand new WordPress install. I don’t know if the age of the website makes a difference.

    I suspect this issue is with using Buddyboss with the twentytwenty theme, and buddyboss may well consider that to be an issue with twentytwenty and not their problem, just as Ford might consider you using a Chevolet gearbox on a Ford and not working to be a Chevrolet issue. Since buddyboss is a paid solution, I cannot test to find out what is wrong.

    I suspect the issue is with the default template that something is trying to use, and might be quite simple to fix, but as I don’t have access to Buddyboss without buying it, I can’t say.

    I understand this is also an issue with Buddyboss and the twentytwenty theme. I have also contacted their support. I am contacting you for help with the bbPress plugin.

    The BuddyBoss platform is opensource. You can download it on their website without paying.

    Please explain to me why I am having the same issue with bbPress. Why is bbPress not working correctly with the twentytwenty theme but it works fine with the other themes?

    Robin W
    Moderator

    hmmm..

    ok, let me try and unpick this to help you.

    buddyboss is a private development that includes bbpress and buddypress in it, buddyboss has its own theme, and is designed to work with that. it is really designed as a paid solution with its own theme. https://www.buddyboss.com/

    Buddyboss is not a replacement for buddypress and/or bbpress – these free plugins are just used by it.

    As the twenty twenty support says in their first post ‘I used the steps above to try and reproduce the issue you described, but I was unable to. When testing, I see the list of forums available as expected.’

    bbpress works fine with twentytwenty, as indeed does bbpress and buddypress work with twentytwenty.

    I suspect this issue is with using Buddyboss with the twentytwenty theme, and buddyboss may well consider that to be an issue with twentytwenty and not their problem, just as Ford might consider you using a Chevolet gearbox on a Ford and not working to be a Chevrolet issue. Since buddyboss is a paid solution, I cannot test to find out what is wrong.

    I suspect the issue is with the default template that something is trying to use, and might be quite simple to fix, but as I don’t have access to Buddyboss without buying it, I can’t say.

    Robin W
    Moderator

    untested, but try

    add_filter( 'bbp_get_view_query_args', 'rew_limit') ;
    
    function rew_limit ($args) {
    $args['posts_per_page'] = -1 ;
    $args['posts_per_page'= 10 ;
    return $args ;
    }

    not sure which 10 it will show!!

    #220345
    maxx203
    Participant

    Hello ,

    i dont know if this is a feature inside bbpress i can set anywhere. Thats why iam creating this topic.

    My problem is that inside the bbpress forum it does show all authors. Even the authors which does not have a valid posting inside the Last Post column. Because of that the forum does also show the name of the authors of posts which are moved to pending or spam queue. Is there any setting to hide such authors from the lastest post column?

    Regards
    Maxx

    #220331
    webmasterfreya
    Participant

    Thanks for your work ‘Back to Front’.

    Did you also test for the right links to the right page (so when having multiple pages of replies, after adding a new reply one should end up at the first page not the last?

    Robin W
    Moderator

    ok, yes that should give you the forum button on the dashboard.

    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

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

    #220180
    Robin W
    Moderator

    not sure, but try this (untested)

    add_filter ('bbp_get_user_edit_profile_url' , 'rew_remove_edit' ) ;
    
    function rew_remove_edit () {
    return ;
    }

    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

    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

    #220065
    franklinss
    Participant

    Thanks for your answers!

    I do not have a lot of experience. I see the following notice for BBpress messages: This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    Do you know if its safe to use?

Viewing 25 results - 801 through 825 (of 11,571 total)
Skip to toolbar