Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 201 through 225 (of 11,582 total)
  • Author
    Search Results
  • #239506

    In reply to: Subscribe to Forum

    webcreations907
    Participant

    If you’re using the style pack to edit your email template, add the below as a test to your email template.

    
    Catch Time: {catch_date_time}
    Anglers: {anglers}
    
    

    Then add this function to your functions.php file or code snippets plugin which ever your using.

    
    
    if( !function_exists('afc_email_bbp_subscription_mail') ){
    	function afc_email_bbp_subscription_mail( $message, $reply_id, $topic_id ) {
    		if ( function_exists( 'get_field' ) && $topic_id != 0 ) {
    
    			$afc_replace = array(
    				'{catch_date_time}' => get_field( 'catch_date_time', $topic_id),
    				'{anglers}'         => get_field( 'anglers', $topic_id )
    				);
    
    			$message = strtr( $message , $afc_replace);
    		}
    		return $message;
    	}
    	add_filter( 'bbp_forum_subscription_mail_message' , 'afc_email_bbp_subscription_mail', 100 , 3 );
    }
    
    

    Then test it out by creating a topic in a forum that has subscribers you can test with, and make sure to set those values when creating your topic.

    #239501

    In reply to: Subscribe to Forum

    newtech1
    Participant

    Whoops. I am wrong. IT IS NOW WORKING! I need to test auto login and some other features since this is a private forum.

    One issue that I do not think can be solved is I am using ACF plugin for Custom fields within topics. The email notification only has the topic text, it does not include any of the custom field results. Assume no one know how to resolve this. ACF plugin support will not help because they know nothing about bbpress.

    The reason I have forum users posting in the backend is because I could never get the ACF plugin to work properly on the frontend.

    Thanks!

    #239494

    In reply to: Subscribe to Forum

    webcreations907
    Participant

    Will try posting again..

    You can try the below code, either add it to your theme’s functions.php file, or use the code snippets plugin.

    Make sure to select your “Forum” when creating a topic and make sure the forum has subscribers to test it out on.

    
    if( function_exists( 'bbp_get_topic_post_type' ) ){
    	function newtech1_bbpress_new_topic( $post ) {
    		if( isset( $post->post_type ) && $post->post_type == bbp_get_topic_post_type() ){
    			do_action( 'bbp_new_'.bbp_get_topic_post_type(), $post->ID , $post->post_parent, [] , $post->post_author );
    		}
    	}
    	add_action(  'draft_to_publish' ,  'newtech1_bbpress_new_topic', 10 );
    }
    
    #239482

    In reply to: Subscribe to Forum

    newtech1
    Participant

    I should mention I installed the style pack. I have verified users that are subscribed to the forum.
    I went into Subscription Emails and ran ‘Sent Test Topic Email’. The test email was sent out with no problem. I then posted a topic in the forum. No email notification was sent out.

    I am thinking if topics are posted from the backend, or maybe from moderators, that email notifications do not work. Can someone test this? I cannot test it because we do not have topic creation on the front end. (We have customized fields that we could never get to work on the frontend so made topic creation via backend.)

    #239474
    Robin W
    Moderator

    Yes that would be a good explanation , let me test

    #239454
    bastizim
    Participant

    Thanks for your reply, Robin. I have used the repair functions and the gaps are still there.

    I have installed a local test system and a script, that iterates through the replies and fix the menu_order in wp_posts of every reply with a simple counter.

    It works at the test system, but I’m not sure, if there could be any side effects.

    #239361
    Robin W
    Moderator

    ok, the code is probably ok, but chat gpt has a long way to go !

    A function needs something to call it, otherwise it just sits there.

    Not tested, but add these 2 lines before or after (doesn’t matter which) the function

    add_filter( 'bbp_get_reply_content', 'replace_suit_symbols' ) ;
    add_filter( 'bbp_get_topic_content', 'replace_suit_symbols' ) ;
    #239334
    Robin W
    Moderator

    ok, so we are back to the fault finding

    It’s not twenty twenty four as I’ve just double checked that, so I’d suspect another plugin if you are happy that your role has keymaster.

    so use the healthcheck tool to test you site with just bbpress and your theme, and then add back plugins until you get the problem

    #239332
    Robin W
    Moderator

    I’m not suggesting you change themes, simply that you do this as a test. This just lets us see where the problem lies so that we can fix it.

    bbpress works fine with 2024 as long as you fixed it at the theme support tab in style pack settings to enable it for FSE theme.

    #239330
    Robin W
    Moderator

    ok, so you definitely have bbpress enabled 🙂

    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. don’t use twenty twenty four, as it is an FSE theme

    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

    #239239
    enkoes
    Participant

    I cleared the cache but no luck. I tested with iPad (safari & chrome) even with desktop, all appears overlapping. But other widgets (from Bbp Style Pack) like recent topics & recent reply has no overlapping issues.

    Robin W
    Moderator

    probably (untested)

    add_action ('plugins_loaded' , 'rew_move_reply_button' ) ;
    
    function rew_move_reply_button () {
    	remove_action ( 'bbp_template_before_single_topic', 'bsp_display_reply_button' );
    	add_action ( 'bbp_theme_after_topic_content', 'bsp_display_reply_button' );
    }

    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

    #239177
    enkoes
    Participant

    Thanks for your reply!

    I only found three widgets in your plugin, ie, Latest Activity, Single Forum Information & Single Topic Information. But they are not the widget I’m looking for. The widget I mean should look like the one used in bbPress support forum (located top left).

    Regards.

    #239148
    Robin W
    Moderator

    I can only suggest the basic fault finding

    viz :

    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

    #239125

    In reply to: Admin Login Isuue

    Robin W
    Moderator

    ok it is probably a combination of plugins/theme, you’ll need to work out which.

    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

    #239122
    wagganation
    Participant

    while bbpress is active, when i log in to admin the side bar is missing, luckily i have the top bar. i deactivated bbpress and the problem goes away. so obviously this plugin causing it!.have the latest version of wordpress.

    #239110
    ahillmortons
    Participant

    Hi @flamuren

    Did you find the cause of this? I have the same issue.

    When going to Profile>Forums>Replies Created – pressing on anything other than page 1 gives a 404.

    The URL format of: /members/(member)/forums/replies/

    Changes to: /members/(member)/page/2/

    So the /forums/replies/ appears to be missing

    Trying to correct this by changing the URL to: /members/(member)/forums/replies/page/2/

    That simply shows the content from the first link, so only the latest few replies show.

    I can’t seem to find a fix in the settings or overcome it with plugin testing.

    Any advice pointing me in the right direction would be greatly appreciated.

    Many Thanks,

    Andy

    #239055

    In reply to: Expired Version ?

    Robin W
    Moderator

    they are correct that it has not been updated for a couple of years.

    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.4.x and php 8.2 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.

    #239006
    kagunda
    Participant

    Hi Robin, I also noticed that on my staging site.

    The Forum, which is available to members only shows the entry page. When you try to get into the forum, the elements do not show. My site is: https://tayfamilyhistg.wpenginepowered.com/forum/

    I am using the Oxygen Builder WordPress plugin. When I switch back to a different theme it shows but I don’t understand why the forum is not showing with Oxygen Builder. I am using all the latest versions.

    #238959
    aballagh
    Participant

    Hello.

    I would like a forum index that is separate from the archives page, but haven’t been able to get that working.

    I’ve changed the slug in the settings, created a page with that slug, but it redirects to the posts archives every time.

    If I include the shortcode on the archives page it works fine, but then it’s available to the general public, and I’d like it to be on its own, and available to members only.

    Any help would be appreciated.

    WP and BBP are latest versions. Archives page is here: https://simcoecountygreenbelt.ca/our-work/ and the Forum Index is supposed to be here: https://simcoecountygreenbelt.ca/community/

    #238921
    Tory
    Participant

    I just tested on a different site with only the Yoast SEO plugin installed and running Twenty Twelve theme, and the same issue – the page title (in the <title> tag) is “Forums Archive” and the breadcrumb is “Forums”. SO, maybe that’s just default behavior? Is there any way to change “Forums” to “Community”? Thanks

    #238914
    Robin W
    Moderator

    Thanks, I’ve just tested your scenario above, and yes that is a bug.

    I am not a bbpress author, just someone who helps out here.

    Strangely that metabox doesn’t actually let you change the subscribers, it simply lists them, not sure why 🙂

    if you are using

    bbp style pack


    then I’ve included a fix for this in version 5.7.8.

    You can also add comprehensive subscription management functionality for the backend from the ‘subscriptions management’ tab.

    Otherwise you could add this code:

    
    add_action ('bbp_subscriptions_metabox' , 'rew_set_hidden_subscribers' ) ;
    add_action ('bbp_topic_attributes_metabox_save' , 'rew_save_subscriptions', 10 , 2) ;
    
    function rew_set_hidden_subscribers ($post) {
    	// Get user IDs
    	$user_ids = bbp_get_subscribers( $post->ID );
    	$list = implode(",",$user_ids); 
    
    	// Output
    	?>
    	<input name="rew_topic_subscription" id="rew_topic_subscription" type="hidden" value="<?php echo $list; ?>" />
    	<?php
    }
    
    function rew_save_subscriptions ( $topic_id, $forum_id ) {
    	// Handle Subscriptions
    	if ( bbp_is_subscriptions_active() && ! empty( $_POST['rew_topic_subscription'] )) {
    		//update_option ($subscriptions)
    		$subscriptions = explode(",", $_POST['rew_topic_subscription']);
    		foreach ($subscriptions as $subscription_id ) {
    			// Check if subscribed and if so do nothing
    			if (bbp_is_user_subscribed( $subscription_id, $topic_id )) continue;
    			else {
    			bbp_add_user_subscription( $subscription_id, $topic_id );
    			}
    		}
    	}
    }

    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

    #238906
    Tory
    Participant

    Hello, I am using the latest version of bbPress along with the generatepress theme. I used Method 2 on the getting started instructions and set the forum root slug to “community”, and created a page titled “Community”, with the slug “community”. I used [bbp-forum-index] on the page.

    My only issues are the page title (in the <title> tag) is “Forums Archive”, and I can’t seem to change it. And my breadcrumb trail is Home >> Forums. Somewhere, my site is pulling the term “Forums” for the <title> and breadcrumb (it’s a Rankmath breadcrumb).

    Any ideas?

    #238904

    In reply to: Abandoned?

    Robin W
    Moderator

    To understand that you need to understand that bbpress is a sister project to WordPress.

    Wordpress development (and therefore bbpress development) is funded by

    1. the commercial arm of wordpress – Automattic
    2. Donations and sponsorship from paid plugins and theme organizations who have a commercial interest in ensuring that WordPress continues

    At the moment no-one is sponsoring bbpress development, so no developer is currently being paid to maintain it.

    Hence no-one is updating even the tested to value.

    You could write to the board of wordpress.org, but beyond that not much we can do – I have tried !

    #238899

    In reply to: Abandoned?

    Chuckie
    Participant

    Prevention is better than cure. Why cant the authors simply address the tested up to values etc in the text files and push an update? This will stop those warnings.

Viewing 25 results - 201 through 225 (of 11,582 total)
Skip to toolbar