Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 126 through 150 (of 6,773 total)
  • Author
    Search Results
  • #237298
    Ricsca2
    Participant

    @robin-w let’s hope not, without you we are all lost 😀

    The one key thing that BBpress lacks by default is image uploading in posta.

    #237244
    Robin W
    Moderator

    ok, so yes you could change the default template for that page in bbpress, but your theme is not using that template, so that is pointless.

    You need to amend the template your theme is using, so need to contact the theme support.

    #237215
    newtech1
    Participant

    I am using [bbp-topic-tags] on various pages. I understand the concept of more a tag is chosen the larger it is. But all the tags overall display very large on my pages Where can I control the default size of all tags?

    #237183
    Steve Manes
    Participant

    One thing I noticed as I was using CSS to re-style BBPress is that the CSS classes don’t carry over to individual discussions. That is, if I create a bunch of class overrides for the main page, in my test case /alpha-site, they go away under /forums/topic/. In Inspector it looks like the page defaults back to bbpress.min.css, overriding those class overrides.

    Any way around this?

    #237174
    Steve Manes
    Participant

    I’m confused. Does BBPress get its CSS and template support from the active WordPress theme or are there optional plug-in themes one can install that only apply to styling your BBPress implementation?

    I’ve been asked to add forums to an existing Elementor-built site running the Astra Pro theme which apparently has no support for BBPress. Because the web site is already built, approved by the bosses and currently live I can’t change the WordPress theme. But the default styling in BBPress doesn’t work for them either (we have an approved font family, size, color, etc too).

    I’m fairly adept with CSS and WordPress but I’d rather use a design by someone who actually knows the software. That, and I’m a bit graphically challenged.

    I noticed that there’s a dropdown for “Forum Theme Packages” in Forum settings and was hoping that such BBPress-specific child theme plug-ins exist which allow WordPress to use another parent theme. Do such plug-ins exist and is there a repository of them somewhere on the net?

    #237173
    Robin W
    Moderator

    untested, but this should work

    add_filter( 'bbp_get_topics_per_page', 'rew_amend_topics', 10 , 2) ;
    
    function rew_amend_topics ($retval, $default ) {
    	$forum = bbp_get_forum_id() ;
    	if ($forum == 123) $retval = 10 ;
    	if ($forum == 456) $retval = 5 ;
    return $retval ;
    }

    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

    Code Snippets

    #237145
    newtech1
    Participant

    I want to remove the moderation links that appear within a topic post.

    moderator links

    I believe this is controlled by the following in bbpress/includes/topics/template.php. What edit would I do if this is the correct area to edit:

    function bbp_get_topic_admin_links( $args = array() ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'     => bbp_get_topic_id(),
    			'before' => '<span class="bbp-admin-links">',
    			'after'  => '</span>',
    			'sep'    => ' | ',
    			'links'  => array()
    		), 'get_topic_admin_links' );
    
    		if ( empty( $r['links'] ) ) {
    			$r['links'] = apply_filters( 'bbp_topic_admin_links', array(
    				'edit'    => bbp_get_topic_edit_link   ( $r ),
    				'merge'   => bbp_get_topic_merge_link  ( $r ),
    				'close'   => bbp_get_topic_close_link  ( $r ),
    				'stick'   => bbp_get_topic_stick_link  ( $r ),
    				'trash'   => bbp_get_topic_trash_link  ( $r ),
    				'spam'    => bbp_get_topic_spam_link   ( $r ),
    				'approve' => bbp_get_topic_approve_link( $r ),
    				'reply'   => bbp_get_topic_reply_link  ( $r )
    			), $r['id'] );
    		}
    
    #237070
    TreeTrail
    Participant

    It may be 8 years later, but this is extremely valuable to me @devyncjohnson. Thank you!

    //Subscribe by default
    function subscribed_by_default(){
    echo ‘<script type=”text/javascript”>jQuery(“#bbp_topic_subscription”).prop(“checked”,”checked”);</script>’;
    }
    add_filter(‘bbp_theme_after_topic_form_subscriptions’,’subscribed_by_default’);
    add_filter(‘bbp_theme_after_reply_form_subscription’,’subscribed_by_default’);

    #237046
    Robin W
    Moderator

    ok, let’s try the standard fault finding :

    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, starting with wpforms, and then style pack.

    Then come back

    #237045

    Topic: Forum default

    in forum Installation
    newtech1
    Participant

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

    #237037
    eefkedigibitch
    Participant

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

    #237034
    eefkedigibitch
    Participant

    Uh 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!

    #236996
    waprothero
    Participant

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

    #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

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