Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for ' . default . '

Viewing 25 results - 126 through 150 (of 6,760 total)
  • Author
    Search Results
  • #236994
    waprothero
    Participant

    Robin:
    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.

    newtech1
    Participant

    I 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.

    waprothero
    Participant

    I 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.

    #236956
    Robin W
    Moderator

    ok, not quite sure why, but in that case

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php

    transfer 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%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    #236953

    In reply to: Prevent topic replies

    Robin W
    Moderator

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php

    transfer 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%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    #236951
    Robin W
    Moderator

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    transfer 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%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    #236947

    In reply to: a user login problem

    Robin W
    Moderator

    thanks,

    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

    you might also try

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>login failures

    #236904
    Robin W
    Moderator

    This 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.php

    transfer this to your pc and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    #236860
    Robin W
    Moderator

    If you know enough to FTP a file, then

    find
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    transfer 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%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    #236806
    newtech1
    Participant

    I 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/

    #236786
    Robin W
    Moderator

    No 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.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form

    and look at item 9.

    #236609
    Robin W
    Moderator

    ok, 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

    Health Check & Troubleshooting

    Then come back

    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

    #236444
    tapiohuuhaa
    Participant

    If 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.

    #236387
    Neha wilas
    Participant

    Here’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.RegistrationMagic

    These plugins offer alternative options to the default WordPress form and provide customization features for registration and login forms.

    #236386
    tapiohuuhaa
    Participant

    Hi
    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

    #236308
    Masahiko Kawai
    Participant

    I 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.

    #236291
    giggioman00
    Participant

    btw 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

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

    #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

    #236016
    eluyawi
    Participant

    Hi!, I am using Learndash + bbPress, and I have LearnDash bbPress addon also. I have two courses where each of them have its forums configured.
    Example:

    CourseA
    ForumA
    ForumB

    CourseB
    ForumC
    ForumD

    If there is a student in courseB and he wants its forums, he can see all of them
    ForumA
    Associated Courses and Groups
    CourseA
    GroupA

    ForumB
    Associated Courses and Groups
    CourseA
    GroupA

    ForumC
    Associated Courses and Groups
    CourseB
    GroupB

    ForumD
    Associated Courses and Groups
    CourseB
    GroupB

    So, if the student of CourseB, can NOT access ForumA and ForumB when clicks on them, but he can access to the ForumC and ForumD.

    My question is: How can I make that when he sutdent of CourseB, if he wants to see his forums, only ForumC and ForumD appear and ForumA and ForumB remain hidden for this case?

    All the forums is showed by default

    #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

    #235930

    Topic: Child theme questions

    in forum Themes
    Scordisian
    Participant

    I am finishing a Bootstrap 5 theme and I have some questions about the child theme structure.
    From what I can asses using BBpress theme as a child theme is by doing the following:

    Copy all the template/default/bbpress files into my /childtheme/bbpress folder. This works smoothly and I am happily converting and theming.

    But, the class “bbp-breadcrumb” is located in the /includes/common/template.php file.
    And the class “bbp-template-notice info” is located in the /includes/forumss/template.php file.

    How would I go about to move this behavior to my childtheme? Copy those files there or add code to the functions.php file or something similar?

    Any pointers are appreciated!

    #235926
    nikdow
    Participant

    We have ~30 WP sites on a server.
    We store plugins in a central directory and slink to them from each website that uses that plugin.
    (Reason: saves a lot of memory in OPCache & saves compiling the code more than once.)
    This relies on plugins being well-behaved. bbpress used to work but has lately broken.
    We are seeing this error:
    Loading failed for the <script> with source https://www.otu.asn.au/home/lamp/wordpress/plugins/bbpress/templates/default/js/editor.min.js?ver=2.6.9
    What it should be trying to load:
    https://www.otu.asn.au/wp-content/plugins/bbpress/templates/default/js/editor.min.js?ver=2.6.9
    Obviously the plugin is using the filepath to construct the loading URL, I suspect the code doing this is non-standard, causing the problem.

    Temporary solution is to load the plugin into the wp-content directory of the site, rather than using the slink. This has been implemented but means that the plugin won’t update. (We do updates outside of WP using python/SVN, and apache doesn’t have write access to any directories that contain PHP files – more secure). Fortunately we don’t use the plugin on any other sites.

Viewing 25 results - 126 through 150 (of 6,760 total)
Skip to toolbar