Search Results for ' . default . '
-
AuthorSearch Results
-
August 24, 2023 at 12:02 am #237045
Topic: Forum default
in forum Installationnewtech1
ParticipantIn the backend when creating a new topic, on the right side under Topic Attributes, you choose what forum the topic is going to be under. How do I make it so that my only forum is the default forum, or the only forum. Right now the default is ‘no forum’ with the option of choosing Fishing Report Forum.
I would like it that Fishing Report Forum is the default forum, or better yet, no other choice.
August 23, 2023 at 2:14 pm #237037In reply to: bbPress Specific Sidebar – theme salient
eefkedigibitch
ParticipantWe have a placeholder live, but I’ll deactivate it for now.
This is the link to follow; https://pedantic-lamport.85-17-55-175.plesk.page/forum/I just set the page template back to default, so the sidebar isn’t visible.
August 23, 2023 at 1:28 pm #237034In reply to: bbPress Specific Sidebar – theme salient
eefkedigibitch
ParticipantUh Yes I did the steps you mentioned, so I’m not stuck haha.
But I also don’t have a sidebar on my page…I created a regular page, because I need some info above the forum. I didn’t set a page template or anything. If I do chose the page template left-sidebar, then I do have a sidebar. But that looks the same then when I just add the bbpress widgets to the default left sidebar and don’t do the specific sidebar steps.
I thought if I use the specific sidebar it would look more like the rest of the forum. Thats why I tried that. Was I wrong?
So when should someone use the specific sidebar?Thanks for your help again!
August 21, 2023 at 2:53 pm #236996In reply to: bbPress interferes with wpForms User Registration
waprothero
ParticipantBy the way, it did set the bbPress role to “Participant”, which is what I wanted for that person. However, for the main wp user role, which is essential for other parts of the web site, it left it blank.
I can set the wordpress user role to the “Subscriber” role, manually in the dashboard. Unfortunately, after the user logs in, they will not be able to see other content that requires the “Subscriber” role to be set in the wordpress default role assignment system.
August 21, 2023 at 1:49 pm #236994In reply to: bbPress interferes with wpForms User Registration
waprothero
ParticipantRobin:
I did the test, several times, clearing caches, etc, etc.
No change. The default role is still blank. No change.At the top of the page, I see the snippet, so it’s running.
August 20, 2023 at 6:17 pm #236981newtech1
ParticipantI thought another solution was to just put the shortcodes in the wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php file but the shortcodes do not work.
August 18, 2023 at 5:03 pm #236969Topic: bbPress interferes with wpForms User Registration
in forum Troubleshootingwaprothero
ParticipantI use wpForms “User Registration”,version 2.2.0 for user registration for my site. However, I found that wpForms user registration form is no longer setting the role that I have specified in wpForms. I found that if I deactivated the bbPress plugin, then the new user’s default role was set as specified in wpForms. So, something in bbPress is interfering with the wpForms setting.
I am using bbPress version 2.6.9
This is a critical error. Any help solving this would be MUCH appreciated.
August 18, 2023 at 1:17 pm #236956In reply to: Remove topic creation in frontend
Robin W
Moderatorok, not quite sure why, but in that case
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.phptransfer this to your pc and edit
take out the line
<?php bbp_get_template_part( 'form', 'topic' ); ?>which is in twice, so remove 2 times
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-forum.phpbbPress will now use this template instead of the original
August 18, 2023 at 12:13 pm #236953In reply to: Prevent topic replies
Robin W
Moderatorfind
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit reply * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit;and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-reply.phpbbPress will now use this template instead of the original
August 18, 2023 at 12:08 pm #236951In reply to: Remove topic creation in frontend
Robin W
Moderatorfind
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit Topic * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! bbp_is_single_forum() ) : ?> <div id="bbpress-forums" class="bbpress-wrapper"> </div> <?php endif;and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-topic.phpbbPress will now use this template instead of the original
August 18, 2023 at 3:21 am #236947In reply to: a user login problem
Robin W
Moderatorthanks,
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
you might also try
once activated go to
dashboard>settings>bbp style pack>login failures
August 15, 2023 at 10:20 am #236904In reply to: Search Results not links???
Robin W
ModeratorThis is possibly because in the bbPress default theme package, there is a template called content-search.php. In some newer themes there is also a template of the same name. And since the bbPress templates don’t necessarily need to be in a bbPress folder, the bbPress plugin is choosing the template from your theme before the template that is actually in bbPress.
so if you have access to FTP, find
wp-content/plugins/bbpress/templates/default/bbpress/content-search.phptransfer this to your pc and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-search.phpbbPress will now use this template instead of the original
August 11, 2023 at 4:38 pm #236860In reply to: Disable “edit” link and function on user´s page
Robin W
ModeratorIf you know enough to FTP a file, then
find
wp-content/plugins/bbpress/templates/default/bbpress/user-details.phptransfer this to your pc and edit
remove lines 72-76 ie these :
<li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>"> <span class="bbp-user-edit-link"> <a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Edit', 'bbpress' ); ?></a> </span> </li>and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/user-details.phpbbPress will now use this template instead of the original
August 7, 2023 at 7:16 pm #236806In reply to: ACF shortcode in topic post frontend
newtech1
ParticipantI found a code that works when inserted into …/wp-content/plugins/bbpress/templates/default/bbpress
<h6>Date: <?php the_field( ‘date’ ) ; ?></h6>
<h6>Fish Caught: <?php the_field( ‘fish_caught’ ) ; ?></h6>
<h6>Speed: <?php the_field( ‘speed’ ) ; ?></h6>But it only displays if put in certain areas. Here is the closet area it displays to the topic content.
<?php bbp_single_topic_description(); ?>
<h6>Date: <?php the_field( ‘date’ ) ; ?></h6>
<h6>Fish Caught: <?php the_field( ‘fish_caught’ ) ; ?></h6>
<h6>Speed: <?php the_field( ‘speed’ ) ; ?></h6>
<h6>Water Features: <?php the_field( ‘water_features’ ) ; ?></h6>
<h6>Lure & Color: <?php the_field( ‘lure_color’ ) ; ?></h6><?php if ( bbp_show_lead_topic() ) : ?>
<?php bbp_get_template_part( ‘content’, ‘single-topic-lead’ ); ?>
I have tried putting it below either of these items and it will not dislay in the frontend.
<?php if ( bbp_show_lead_topic() ) : ?>
<?php bbp_get_template_part( ‘content’, ‘single-topic-lead’ ); ?
From what I can tell the code actually needs to be inserted in the single-topic-lead. I have tired inserting it everywhere within the single-topic-lead.php page but no matter where I put it, it does not show up. Here is where I think it needs to go:
<?php bbp_topic_author_link( array( ‘show_role’ => true ) ); ?>
<?php if ( current_user_can( ‘moderate’, bbp_get_reply_id() ) ) : ?>
<?php do_action( ‘bbp_theme_before_topic_author_admin_details’ ); ?>
<div class=”bbp-topic-ip”><?php bbp_author_ip( bbp_get_topic_id() ); ?></div>
<?php do_action( ‘bbp_theme_after_topic_author_admin_details’ ); ?>
<?php endif; ?>
<?php do_action( ‘bbp_theme_after_topic_author_details’ ); ?>
</div><!– .bbp-topic-author –>
<div class=”bbp-topic-content”>
<?php do_action( ‘bbp_theme_before_topic_content’ ); ?>
<?php bbp_topic_content(); ?>
<h6>Date: <?php the_field( ‘date’ ) ; ?></h6>
<h6>Fish Caught: <?php the_field( ‘fish_caught’ ) ; ?></h6>
<h6>Speed: <?php the_field( ‘speed’ ) ; ?></h6>
<h6>Water Features: <?php the_field( ‘water_features’ ) ; ?></h6>
<h6>Lure & Color: <?php the_field( ‘lure_color’ ) ; ?></h6>
<?php do_action( ‘bbp_theme_after_topic_content’ ); ?>
</div><!– .bbp-topic-content –>
</div><!– #post-<?php bbp_topic_id(); ?> –>NOTE: What is strange is that if I delete the content-single-topic-lead.php file to make sure the page is not cached, it does not break the topic post which makes no sense to me.
Here is the actual topics page:https://thedoverfamily.com/gfwc/forums/topic/last-try/
August 6, 2023 at 6:00 am #236786In reply to: Modify Topic Reply section
Robin W
ModeratorNo that’s fine, I now understand.
Nothing I know of that does this – sorry !
you can have a visual editor that looks better than the default.
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form
and look at item 9.
July 23, 2023 at 7:11 am #236609In reply to: Space characters appear in subscription mail
Robin W
Moderatorok, 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
Then come back
July 18, 2023 at 10:41 am #236529Robin W
Moderatorhmmmm… 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
Then come back
July 11, 2023 at 12:40 am #236444In reply to: Adding and removung buttons of front-end editors
tapiohuuhaa
ParticipantIf the extension works on backend, it is is useless for me. I would need extensions only frontend. I have site for solving crosswords. Honoring other peoples all hints should give as default hided.
I tried to find the button definitions for text editor. My idea is just replace
DEL or CODE with SPOILER. If I would find the source code, maybe I could add some codes. That apparently needs alo finding filter code, which defines, which codes are allowed.I though also that I could replace some code and related texts and icons of TinyMCE with another code, texts an icons.
So I would not need to add anything. But I didn’t find, where buttons have been defined for the text editor s d TinyMCE.
BTW. I didn’t get frontend texts translated in your GD bbPress Tools. I deleted entire translation, which I made for it because filtering worked better, but filtering works only for texts, which don’t have dynamic texts (%s etc). I get with “My WP Translate” translated “WP Sitemap Page”, so the translation tool works. I have another issue here https://wordpress.org/support/topic/translating-into-finnish/. So could you answer there.
July 5, 2023 at 1:22 pm #236387In reply to: Registration/login form
Neha wilas
ParticipantHere’s a concise list of plugins you can associate with bbPress for registration and login forms:
1.Ultimate Member
2.Profile Builder
3.WPForms
4.RegistrationMagicThese plugins offer alternative options to the default WordPress form and provide customization features for registration and login forms.
July 5, 2023 at 1:08 pm #236386Topic: Adding and removung buttons of front-end editors
in forum Pluginstapiohuuhaa
ParticipantHi
It is easy to customize backend buttons with the pugin “Post Editor Buttons Fork”, but it does work only in the backend. How I could add and remove buttons in front-end. I would like to add at least [SPOILER][/SPOILER] tag and i would lke to use [CODE][/CODE] insteaf of the default code button.Where is the code, which defines editor? Could I hardcode changes, which I want?
Controlling the graphic editor TinyMCE Advanced might be more difficult. Is the alternatives for TinyMCE andvanced in the front-end. I would be nice to get.
I have a temporary solution by using an additional menu. See https://www.sanaristikkofoorumi.net/wordpress/forums/topic/uusia-ominaisuuksia/?view=all#post-28829
June 24, 2023 at 1:45 am #236308In reply to: disable email Email (required) config ?
Masahiko Kawai
ParticipantI have eliminated the need to enter my email address by doing the following
function bbp_set_default_email( $post_author_email ) { if ( empty( $post_author_email ) ) { $post_author_email = 'anonymous@example.com'; } return $post_author_email; } add_filter( 'bbp_pre_anonymous_post_author_email', 'bbp_set_default_email', 10, 1 ); function bbp_remove_default_email( $r, $args ) { if ( $r['bbp_anonymous_email'] == 'anonymous@example.com' ) { $r['bbp_anonymous_email'] = ''; } return $r; } add_filter( 'bbp_filter_anonymous_post_data', 'bbp_remove_default_email', 10, 2 );First, use the filter hook “bbp_pre_anonymous_post_author_email” to set the default email address if the email address is blank.
This avoids the “Invalid email address.” error.Second, if the return value “$r[‘bbp_anonymous_email’]” is set to the email address set earlier, return it blank.
This way, if an email address is entered, its value is returned, if it is blank, it is returned blank.
June 22, 2023 at 11:09 am #236291In reply to: bbPress pages redirect to homepage
giggioman00
Participantbtw now the /forums/ shows my forum correctly, the problem now is that if I open one of those forum for example “Updates & Announcements” I get nothing in result except for the title. While on the default theme I get messages and the form for sending a topic
June 22, 2023 at 8:50 am #236288tronn
ParticipantWith 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.
June 17, 2023 at 12:42 pm #236232In reply to: Export / Import through wp-cli for massive forum
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.
June 15, 2023 at 11:52 am #236197In reply to: Multiple replies being created
Robin W
Moderatorok, 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
Then come back
Otherwise maybe talk to your hosting provider about site speed
-
AuthorSearch Results