Search Results for 'test'
-
AuthorSearch Results
-
February 27, 2024 at 12:02 am #239506
In reply to: Subscribe to Forum
webcreations907
ParticipantIf 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.
February 26, 2024 at 9:40 pm #239501In reply to: Subscribe to Forum
newtech1
ParticipantWhoops. 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!
February 26, 2024 at 6:47 pm #239494In reply to: Subscribe to Forum
webcreations907
ParticipantWill 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 ); }
February 25, 2024 at 4:53 pm #239482In reply to: Subscribe to Forum
newtech1
ParticipantI 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.)
February 24, 2024 at 2:08 am #239474In reply to: Reply order with menu_order has gaps
Robin W
ModeratorYes that would be a good explanation , let me test
February 22, 2024 at 1:41 pm #239454In reply to: Reply order with menu_order has gaps
bastizim
ParticipantThanks 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.
February 14, 2024 at 11:27 am #239361In reply to: :diamond: –> ♦? possible solutions not working
Robin W
Moderatorok, 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' ) ;
February 12, 2024 at 3:47 pm #239334Robin W
Moderatorok, 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
February 12, 2024 at 1:25 pm #239332Robin W
ModeratorI’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.
February 12, 2024 at 12:57 pm #239330Robin W
Moderatorok, 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
Then come back
February 7, 2024 at 11:00 am #239239In reply to: Forum summary with total posts
enkoes
ParticipantI 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.
February 3, 2024 at 4:43 pm #239201Robin W
Moderatorprobably (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
February 1, 2024 at 5:20 am #239177In reply to: Forum summary with total posts
enkoes
ParticipantThanks 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.
January 30, 2024 at 11:27 am #239148In reply to: Adding new reply crashes WordPress
Robin W
ModeratorI 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
Then come back
January 28, 2024 at 4:46 am #239125In reply to: Admin Login Isuue
Robin W
Moderatorok 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
Then come back
January 27, 2024 at 5:42 pm #239122Topic: Admin Login Isuue
in forum Installationwagganation
Participantwhile 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.
January 26, 2024 at 10:19 am #239110In reply to: “topics started” & “replies created” not working
ahillmortons
ParticipantHi @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
January 23, 2024 at 6:15 pm #239055In reply to: Expired Version ?
Robin W
Moderatorthey 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
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.
January 18, 2024 at 1:25 pm #239006In reply to: when clicking on a forum/topic a blank screen shows
kagunda
ParticipantHi 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.
January 16, 2024 at 4:56 pm #238959Topic: Index redirects to post archive page
in forum Installationaballagh
ParticipantHello.
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/
January 12, 2024 at 10:50 am #238921In reply to: Forum Index Page Titile
Tory
ParticipantI 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
January 11, 2024 at 1:57 pm #238914In reply to: Subscriptions to topics are deleted
Robin W
ModeratorThanks, 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
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
January 10, 2024 at 6:38 pm #238906Topic: Forum Index Page Titile
in forum TroubleshootingTory
ParticipantHello, 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?
January 10, 2024 at 1:24 pm #238904In reply to: Abandoned?
Robin W
ModeratorTo 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 continuesAt 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 !
January 10, 2024 at 1:18 am #238899In reply to: Abandoned?
Chuckie
ParticipantPrevention 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.
-
AuthorSearch Results