Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 76 through 100 (of 6,789 total)
  • Author
    Search Results
  • #240378
    getfree
    Participant

    most likely. I asked for a live preview from our developers and got one.

    Is there some other way to get a live preview? Longer posts, especially with photos, are quite difficult to write with just the default editor. Which is great for shorter posts though.

    #240376
    Chris Ostmo
    Participant

    Thank you for your time and input. It is very much appreciated!

    As a very long-time WordPress developer, I can state with confidence that a function that returns trashed posts by default is abnormal and unexpected, and not having a way to override such behavior is practically unheard-of in well-used, public plugins. I can’t think of another example.

    I’ve made attempts in the past to gain employment from WordPress/Automattic because of issues like this that I’d really like to dig into, not to mention some pieces of Jetpack that I’d love to tweak. I haven’t had any luck getting a response from them through their very odd job application process.

    That trac link you provided is probably the link I needed when I posted here instead. Thanks again.

    #240368
    farooqayubi
    Participant

    I have created a custom plugin, to do customization in BBPRESS templates, & Paid Membership Pro.. Everything other customization is working fine, But the template i want to show instead of bbpress default loop-topics.php template is not showing it /wp-content/plugins/pharmacy-membership-forum/pharmacy-membership-forum.php – Mian Plugin File /wp-content/plugins/pharmacy-membership-forum/includes/templates.php – the file where we are connecting loop-topics.php /wp-content/plugins/pharmacy-membership-forum/templates/bbpress/loop-topics.php – new template for loop-topics.php templates.php Code it appears that bbPress is not prioritizing your custom templates, or something else might be going wrong during the template loading process.

    <?php
    // Prevent direct access
    if ( ! defined( 'ABSPATH' ) ) {
        exit;
    }
    
    // Hook into plugins_loaded to ensure bbPress is loaded
    add_action('plugins_loaded', 'cmp_override_bbpress_templates');
    
    /**
     * Function to override bbPress templates.
     */
    function cmp_override_bbpress_templates() {
        // Add filter to override bbPress template parts
        add_filter('bbp_get_template_part', 'cmp_custom_template_parts', 10, 3);
    }
    
    /**
     * Filter to override bbPress templates.
     *
     * @param array  $templates Array of template paths.
     * @param string $slug      Template slug.
     * @param string $name      Template name.
     * @return array Modified array of template paths.
     */
    function cmp_custom_template_parts($templates, $slug, $name) {
        $plugin_template_path = plugin_dir_path(dirname(__FILE__)) . 'templates/bbpress/';
    
        // Check for various templates and override them
        if ($slug === 'loop' && $name === 'topics') {
            $custom_template_path = $plugin_template_path . 'loop-topics.php';
            array_unshift($templates, $custom_template_path);
            
        }
    
        if ($slug === 'content' && $name === 'single-forum') {
            $custom_template_path = $plugin_template_path . 'content-single-forum.php';
            array_unshift($templates, $custom_template_path);
        }
    
        if ($slug === 'loop' && $name === 'single-topic') {
            $custom_template_path = $plugin_template_path . 'loop-single-topic.php';
            array_unshift($templates, $custom_template_path);
        }
        
        return $templates;
        
    }
    #240322
    Robert
    Participant

    Hi
    We’re getting strange PHP Error messages relating to forum posts that don’t exist like this one. Should we be concerned?
    Many thanks
    Robert

    WordPress database error Duplicate entry ‘8702-67865’ for key ‘PRIMARY’ for query INSERT INTO ggx_gdbbx_tracker (user_id, topic_id, forum_id, reply_id, latest) VALUES (8702, ‘67865’, ‘11504’, ‘72638’, ‘2024-05-15 06:40:25’) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), apply_filters(‘template_include’), WP_Hook->apply_filters, bbp_template_include, apply_filters(‘bbp_template_include’), WP_Hook->apply_filters, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp_get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/bbpress/content-single-topic.php’), do_action(‘bbp_template_after_single_topic’), WP_Hook->do_action, WP_Hook->apply_filters, Dev4Press\Plugin\GDBBX\Features\ActivityTracking->latest_users_topic, Dev4Press\Plugin\GDBBX\Database\Main->track_topic_visit, Dev4Press\v47\Core\Plugins\DBLite->__call, call_user_func_array

    Chris Ostmo
    Participant

    The bbp_get_all_child_ids() function in bbpress/includes/common/functions.php is returning Trashed posts, which should objectively not be the case. There’s no world in which trashed posts should appear unless someone is intentionally digging in the trash.

    Line 1997 is currently this:
    $not_in = array( 'draft', 'future' );
    It should be this instead:
    $not_in = array( 'draft', 'future', 'trash' );

    I have tested that as a manual change, but obviously, this needs to be bbpress’ default behavior, not my locally-hacked override.

    Alternatively, you could add a third argument for overrides, but I think this is just an oversight.

    Thank you.

    #240106

    In reply to: Remove BBPress Login

    neofilm
    Participant

    I do not want BBPress login anywhere, nowhere at all, because I’m already handling login:

    https://veganlinked.com/forums/forum/welcome/ see login at the bottom? That comes from BBPress, that is a BBPress forum. BBPress is a forum that has a login by default. I do not want their login.

    lmstearn
    Participant

    Take that back, working when put in the following file:

    wp-content/plugins/bp-classic/themes/bp-default/functions.php

    Thanks.

    #240067

    In reply to: Help with error

    Robin W
    Moderator

    ok you doing the equivalent of sending me an image of your car engine and expecting me to tell you what the noise it is making is caused by. 🙂 🙂

    I would suspect it is theme related, and menus and scroll are theme related.

    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

    #240049
    itsmifred
    Participant

    I said something about email error but forget it, emails are well working.

    Problem is to go to default page after login instead of URL link include in the email.
    Not appropriate. People want to open the page they asked for from the email. This is the way with public forum or already logged in. But we can’t expect users to be connected all the time. Right ?

    jpsws
    Participant

    Right now, my forums seem to be formatted according to my theme’s single post template, which uses a cover style layout in my theme. This doesn’t suit the pages generated by bbPress (see forum, topic compared to forum index).

    How can I tell bbPress to use a default page template rather than post?

    Thanks very much!

    #239987
    Avinash Patel
    Participant

    Hello, we are facing issue of replay not working on admin side, while adding new replay is working correctly, we have deactivated all plugins and switch to WordPress default theme still there is problem.

    Error:
    URL: SITE-URL/wp-admin/edit.php?post_type=reply
    https://prnt.sc/IeBiZTUV9ID4

    Thanks in advance

    #239984
    skystover
    Participant

    Hello there,

    I am using WordPress version 6.5 and bbPress version 2.6.9. This problem has been persisting for us for a while and isn’t an issue with the latest version of WP.

    The pagination on our forums is not working. Clicking page 2 on the home page of the forum takes you to the page 2 URL but displays the results from page 1. The same thing happens if you view a topic – it shows only the most recent replies, even when going to page 2, 3, and so on.

    Our forums are at https://pharmapreneuracademy.com/groups/the-academy-forum/forum/ but are hidden. Please let us know how we can provide credentials.

    What I have tried:

    – Checked error logs both in the site back-end and in the console and did not see anything relevant.
    – Flushed & disabled the cache
    – I disabled all plug-ins and changed the theme to default. This did not fix the issue. This means it isn’t a plug-in/theme conflict.
    – Added custom post types to the cache exception rules
    – Flushed the permalinks
    – Deleted the .htaccess file manually and allowed it to regenerate.
    – “Resetting forum slugs to default” in BBpress Forum Tools.

    Can you please advise on what the issue might be?

    Thanks,
    Sky

    Robin W
    Moderator

    you would need to add this to your additional/custom css

    /*topic titles*/
    .bbpress .forum-titles {
    	overflow: hidden;
    }
    .bbpress .forum-titles .bbp-topic-voice-count::before,
    .bbpress .forum-titles .bbp-topic-reply-count::before {
    	font: 400 16px/1 dashicons;
    	margin-right: 100px;
    	-moz-osx-font-smoothing: grayscale;
    	-webkit-font-smoothing: antialiased;
    }
    
    	.bbpress .forum-titles .bbp-topic-voice-count::before,
    	.bbpress .forum-titles .bbp-topic-reply-count::before {
    		font: 400 21px/1 dashicons;
    		margin-left: 20px;
    	}
    
    .bbp-topic-voice-count {
    	display: none;
    }
    
    .bbpress .forum-titles .bbp-topic-voice-count::before {
    	content: "\f307";
    }
    .bbpress .forum-titles .bbp-topic-reply-count::before {
    	content: "\f125";
    }
    
    .bbpress li.bbp-header li.bbp-forum-info,
    .bbpress li.bbp-header li.bbp-topic-title {
    	text-align: left !important;
    }

    and then amend loop-topics.php as foillows

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

    transfer this to your pc and edit

    <li class="bbp-topic-voice-count"><?php esc_html_e( 'Voices', 'bbpress' ); ?></li>
    			<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic()
    				? esc_html_e( 'Replies', 'bbpress' )
    				: esc_html_e( 'Posts',   'bbpress' );
    			?></li>

    to

    <li class="bbp-topic-voice-count"></li>
    <li class="bbp-topic-reply-count"></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/loop-topics.php.php

    bbPress will now use this template instead of the original

    #239899
    itsmifred
    Participant

    HI Robin,
    in fact, sorry I didn’t pay enough attention, but when Yousify is not activated the warning is else :

    Forums

    Warning: Undefined array key “forum_count” in /home/clients/3db470ac3c186374a924a94534df90ab/sites/testXXXX.com/wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php on line 27

    uksentinel
    Participant

    Is there any way to change the BBPRESS Topics and Posts default menu listing to show an icon/image instead ?

    I have seen a couple of BBPRESS forums (https://wordpress.org/support/view/all-topics/) that achieve this, but no idea how ?

    Thanks

    #239739

    In reply to: Forum reply timestamps

    Robin W
    Moderator

    ok, not much i can do without seeing it, but 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

    #239723

    In reply to: No forum sidebar

    Robin W
    Moderator

    so set a global sidebar and make this the default

    https://wpastra.com/docs/sidebar-free/

    and bbpress should use this.

    #239688
    Robin W
    Moderator

    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

    #239679
    Robin W
    Moderator

    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

    #239649

    In reply to: Forum styling

    Robin W
    Moderator

    just a final thought. Your theme should have a default template – you might be able to change this in dashboard>appearance>customize to one that doe not have a sidebar.

    #239534
    Tim Codex
    Participant

    Thank you so much for the reply. This really helps me show the forum. The only problem is the styles for the blocks are not included along with the forum page. I think the default hooks for block themes are not included in the plugin.

    Hope to receive your confirmation. Thank you very much.

    #239484
    webcreations907
    Participant

    You could try the below

    
    .bbpress.topic-template-default .cs-entry__header{
      display: none;
    }
    
    #239441
    biblewithbelle
    Participant

    Hi,

    My theme is creating a featured image on the Topics which I can’t seem to change so I just have a large grey blob square at the top of every topic.

    Introduce Yourself

    I tried multiple default image wordpress themes and none of them worked.

    I can’t add code to display: none because then it takes away the featured posts from the blog section.

    Help?

    #239331
    mikeraine11
    Participant

    I’ve read that WordPress’s new FSE themes such a Twenty Twenty Four can be an issue with bbPress because bbPress is so out of date (hasn’t been updated in over 2 years, which is very concerning).

    However, I am VERY reluctant to change themes. We JUST went through a lot of time and work to rebuild the site after migrating from the old host to WordPress.com because the old custom theme was not compatible with Jetpack. I chose Twenty Twenty-Four because I assumed, as the newest WordPress default theme, that it was the most future-proof and would avoid compatibility issues.

    Is there just no way around this issue while keeping the Twenty Twenty Four 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

Viewing 25 results - 76 through 100 (of 6,789 total)
Skip to toolbar