Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 226 through 250 (of 6,773 total)
  • Author
    Search Results
  • #233827
    Robin W
    Moderator

    ok, based on that I have no idea what you mean by embedding.

    bbpress does not have a ‘login page’ it has shortcodes and widgets.

    the template used by bbpress for login is

    bbpress\templates\default\bbpress\form-user-login.php

    to customise :

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

    transfer this to your pc and edit as desired

    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-user-login.php

    bbPress will now use this template instead of the original

    #233748
    Cheryl
    Participant

    Hello,
    I’m not sure what to call them — on the forum here there are content tags with a green background that show on the forum page such as “installation,” “troubleshooting,” etc. to designat the type of post it is.

    I have “topic tags” enabled in bbpress — but the content tags I’m mentioning above seem to be a different thing and I cannot see where to set them up. Is this a default bbpress feature or is this coming from a separate plugin? How can I set that up?
    Thanks

    #233731
    Robin W
    Moderator

    yes

    $replies = bbp_has_replies( $args );

    in \bbpress\includes\replies\template.php

    it has these default args (some set by code above this section)

    $default = array(
    		'post_type'              => $default_post_type,         // Only replies
    		'post_parent'            => $default_post_parent,       // Of this topic
    		'posts_per_page'         => bbp_get_replies_per_page(), // This many
    		'paged'                  => bbp_get_paged(),            // On this page
    		'orderby'                => 'date',                     // Sorted by date
    		'order'                  => 'ASC',                      // Oldest to newest
    		'hierarchical'           => $default_thread_replies,    // Hierarchical replies
    		'ignore_sticky_posts'    => true,                       // Stickies not supported
    		'update_post_term_cache' => false,                      // No terms to cache

    but whatever you pass in $args will overwrite these

    #233430
    nomanattique
    Participant

    @robin-w I have added this code in the child theme but it’s not working…
    here is the complete code…kindly check and let me know..it’s correct?

    <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
    
    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:
    
    if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
        function chld_thm_cfg_locale_css( $uri ){
            if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
                $uri = get_template_directory_uri() . '/rtl.css';
            return $uri;
        }
    endif;
    add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );
    
    if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
        function chld_thm_cfg_parent_css() {
            wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'bbp-default','fontawesome','slick','disputo-bootstrap' ) );
        }
    endif;
    add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );
    
    // END ENQUEUE PARENT ACTION
    
    add_filter ('bbp_current_user_can_access_create_reply_form' , 'rew_limit_replies') ;
    
    function rew_limit_replies ($retval) {
    	//set limit
    	$limit = 2 ;
    	//get replies for today
    	$user_id = get_current_user_id() ;
    	$reply=bbp_get_reply_post_type() ;
    	$today = getdate();
    	$args = array(
    		'post_type'=> $reply,
    		'order'    => 'ASC',
    		'orderby' => 'ID',
    		'post_status' => 'publish',
    		'posts_per_page' => -1,
    		'post_author' => $user_id,
    		'date_query' => array(
    		array(
    			'year'  => $today['year'],
    			'month' => $today['mon'],
    			'day'   => $today['mday'],
    		),
    		),
    		
    		);              
    
    	$the_query = new WP_Query( $args );
    	$count = $the_query->found_posts;
    	if ($count>=$limit) $retval = 0 ;
    return $retval ;
    }
    #233410
    Eliyahna
    Participant

    @terriswiatekyahoocom What is method of placing the content-single-topic.php file in the child theme folder? I put it directly with no result. I created /childtheme/plugins/bbpress/templates/default/bbpress/ and placed it in there with no results also.

    I finally put it in the parent theme folder and it works but I know this will get overwritten with updates…

    #233400
    Robin W
    Moderator

    example for loop single repy:

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

    transfer this to your pc and edit

    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/loop-single-reply.php

    bbPress will now use this template instead of the original

    #233385
    ewd910
    Participant

    Yes it looks like the default behavior is that the “sticky” link on the forum topic super stickies it, based on the super=1 query param I’m seeing. Any way to default it to 0, or do I have to make a custom topic template?

    #233335
    principiante
    Participant

    Thank you Robin, but it didn’t work.
    I can see that first part of recaptcha text was moved on right side. Nothing else changes.
    Do you know how register page layout should looks like by default on mobile devices?
    Is it one column or two columns?

    #233333
    principiante
    Participant

    Dear friends,
    I don’t remember when and how did I manage to mess up with my forum register page.

    Register


    Layout is “broken” and on mobile devices looks very bad.
    After updating to last version of bbpress…problem still remain.
    Bbp style pack is installed and after resetting style settings, register page remain the same.
    Please, how can I manage that register page again have “default” layout and looks ok on mobile devices?
    Thank you!

    #233259
    Robin W
    Moderator

    In had a quick look at the code above and the call

    include get_theme_file_path( '/bbpress/templates/default/bbpress/user-subscriptions.php' );

    is looking for that file in your theme, not the bbpress plugin.

    as a test, create a directory in your child theme called ‘woo-bbpress’ (it can be called anything) and put a copy of the user-subscriptions in there

    then replace then above with

    include get_theme_file_path( '/woo-bbpress/user-subscriptions.php' );

    and see if that improves

    #233238
    kstormstudio
    Participant

    Im using the last bbPress version, and twenty-twenty theme. All fine!
    But I need to integrate bbpress with woocommerce in a custom woocommerce dashboard we made, so basically I have to link all bbpress profile links (Topic created, Replies, Engagement…) as Woocommerce Endpoints.

    All set up but the problem is the links not showng the correct user information but : “Oh Bother, no topics found here!”. Despite the user has created topics , followed or subscribed.

    This is the code I put for the Subscription Endpoint for instance:

    add_action( 'init', 'wpsh_subscriptions_endpoint' );
    function wpsh_subscriptions_endpoint() {
    	add_rewrite_endpoint( 'subscriptions', EP_ROOT | EP_PAGES );
    }
    add_action( 'woocommerce_account_subscriptions_endpoint', 'subscriptions_endpoint_content' );
    function subscriptions_endpoint_content() {
    	include get_theme_file_path( '/bbpress/templates/default/bbpress/user-subscriptions.php' );
    }

    so, any suggestions please? 🙂

    #233211
    jason_hayes
    Participant

    How do I create the basic installation so that it looks like the screenshot on the homepage. I just want a basic bbpress installation out of the box. Not sure how to do it. Do I need to create a specific homepage and add widgets?

    #233121
    Vivian E
    Participant

    @Robin-w A developer helped to look into it and found that the H1 tag is generated by this wordpress function https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/

    He also helped to temporarily edict the H1 tag to a H3 tag by editing the core files to temporarily solve the redundant H1 tag.

    We texted the site without the core files edicts and on trouble shoot mood using the Troubleshoot plugin you recommended. Leaving only the Bbpress plugin and wordpress default theme enabled. I noticed that the new Topic form does not have an editing tool bar even when I “enabled” the editing formatting tool bar” on Bbpress settings.

    When I proceeded to turn on 2 plugins in troubleshoot mode; Brizy page builder and Bbpress with the wordpress default theme. I placed the Bbpress “new Topic form short code” on a Gutenberg page on the site, then noticed the New Topic form still shows on the Gutenberg page but without the editor tool bar!

    When the Bbpress short code is placed on a Brizy page, the Bbpress editor tool bar appears but doesn’t function properly. For example; the insert/edict link form does not appear as a “pop up” when I am trying to create a link on a post, instead the insert/edict link form appears on the footer.

    I don’t know why this is happening. help!

    #233113
    MarkOlbert
    Participant

    Okay, I figured it out: turns out the default forum home page uses whatever you’ve defined for Posts Archive, at least if you’re using Elementor, like I am.

    So I updated my links to refer to the forums target, edited the Posts Archive template in Elementor to include the forum index short code, and everything appears to work.

    I also changed the Elementor display conditions for the template and restricted it to just Forum Archive (or Forum Posts, I don’t remember offhand), just in case I want to define a different template for other Posts Archives later on.

    #233069
    Robin W
    Moderator

    Doing anything involves finding out where and why this is happening.

    If we find that, then we can look at possible causes and potential solutions.

    I am yet to be convinced it is a bbpress issue at all. bbpress uses this element when a user inserts a link – that is true, but it is a generic piece of wordpress code. This is a bit like saying because Fred cuts his lawn, any lawn that is cut must have been cut by Fred.

    I am not seeing this form on any pages in my test site.

    The code is in some javascript in the footer, and could be loaded by anything, including a wordpress setting, theme or plugin.

    so can you

    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

    #233052
    Vivian E
    Participant

    @robin-w exactly it’s a WordPress element that’s only suppose to load on the backend! I use bbpress plugin and what BBpress does is that it causes this element to load on the front end! so that people who want to post a new topic or reply to an existing one can edict their texts and insert links. For example right now if you are tying something on bbpress and try to make word a link, you tap on the link in the editor menu and you will see “that wordpress element” pop out.

    I use Bbpress plugin and that elment shows up visibly when users want to link a text as well!
    BBpress causes that backend “wordpress element” to show up on the front end.

    The thing is even when the “wordpress element” is not visibly seen i.e when a user is trying to edict a link when typing a new Topic on the Forum. “The wordpress element” can still be seen hidden in “the source code” of the page and other pages even when not visibility seen. This doesn’t disrupt the user experience but here is the reason why I have a problem with this;

    SEO

    The “wordpress element” has a H1 tag. when it’s loading in the front end. My pages has it’s H1 tittle which I put there. So the H1 tag tittle tag on my page and the H1 tag on that “wordpress element” on the source code makes for redundant (2) H1 tags on my site page.

    Apparently search engines like Bing has a big issue with redundant H1 tags and shows it in my Bing webmaster report as a critical SEO error that need to be fixed. while search engines like Google have no problem with this.

    Is there a way that when BBpress pulls that “wordpress element” (that by default loads only at the backend) to the front end, it changes the tag on that “wordpress element” to a H3 tag??

    #233026
    Robin W
    Moderator

    ok, I cannot say why that is happening.

    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

    #232981
    cwgah22
    Participant

    I have followed the advice in the support documentation and created a “bbpress.php” copy of a working template. I have also verified using “What The File” that the page is correctly referencing the “bbpress.php” template. I have also installed “bbp style pack” and activated the FSE setting. Despite this, the header is only displaying some of the information correctly.

    This is how the page should be displayed
    But this is how it is actually displaying

    I am using a custom-made theme derived from the twentytwentytwo default, with modifications using Greenshift blocks. If anyone has any advice or ideas as to what could be causing the header to only be partially displayed correctly would be appreciated.

    WP version 6.1.1
    bbPress version 2.6.9

    #232940
    Robin W
    Moderator

    that’s great – thanks

    so on my test site, I hid a forum and logged in as a participant, and the index shows fine.

    so we need to work out what the difference between your site and my test site is.

    so initially let’s eliminate outside factors such as 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

    #232875
    Robin W
    Moderator

    on 2. previous advice applies

    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

    #232866
    veganishdotworld
    Participant

    Interesting, now I can see that apparently Keymaster was automatically populated for my 2 admin people, and participant was automatically populated for a couple of authors (ones who have submitted content). For 2 authors who have not yet submitted content, nothing was automatically populated.

    However, I went in to edit user and added them as participants. When I go back to edit user, it retains that I chose that for that user, it’s shown there, but when I look at “all users” it appears as if nothing has been selected for them yet, under the BBpress role. But perhaps that will start to appear once those authors have submitted a post?

    I’m going to experiment with logging in as different usernames to test this and see if it works. I have not uninstalled bbpress yet, as so far I’m thinking maybe it won’t be necessary. Perhaps, hopefully, it was only the issue of needing to switch from Default view to CLASSIC VIEW, under users, to see the proper user options for BBPress.

    #232865
    veganishdotworld
    Participant

    Robin, thanks once again for all of these tips.
    I’ve been logged in as admin / owner of site and when I go to users, all users, it has tabs at the top that say team, followers, email subscribers, invites.

    When I look at a user, it has the radio buttons with several options for roles, the wordpress standard ones, followed by the bbpress ones, and no distinction between the two, they are just in a running list, and you cannot pick more than one.

    Oh! I just remembered, there is a little white rectangle in the upper right corner that allows you to choose DEFAULT VIEW (what I’m seeing) or CLASSIC VIEW. I just changed that, and now I’m seeing “Side by Side” columns like what you are describing.

    Wow! That’s important.

    Robin W
    Moderator

    I suspect your theme is amending how forums display, as these are not in a grid by default, and the ‘all discussions’ is not what I woudl exoect [bbp-forum-index] to show.

    So I’d still need a link to this to see what is being downloaded.

    #232859
    Robin W
    Moderator

    It’s so odd that bbpress wouldn’t let people….

    you do need to accept that your site is unique – there is no other WordPress site that is ‘exactly’ the same, you have a combination of php versions, theme, plugins pages, posts and numerous settings that no-one else has.

    Therefore, please do not assume that what you are seeing is what everyone sees –

    setting wordpress and bbpress roles to both exist is normal, what you are seeing is not.

    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

    #232854
    Robin W
    Moderator

    there are wordpress roles – administrator, editor, author etc.
    and there are bbpress roles – keymaster, moderator, participant etc.

    The two exist side by side

    Private forums can only be accessed by people with a bbpress role.

    The default role given to wordpress users is set up in

    dashboard>settings>forums>role

    That way you can decide who sees what.

    If you have existing users, you can just allocate them the participant role (typically) in dashboard>users>all users> and edit each user.

Viewing 25 results - 226 through 250 (of 6,773 total)
Skip to toolbar