Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,026 through 4,050 (of 64,416 total)
  • Author
    Search Results
  • #214157
    Mike Witt
    Participant

    I am not an expert on this, but what I do it to make a css subdirectory in my child theme. In that directory, css files should override the css in plugins (if they provide for the possibility of overrides, which bbPress does).

    There are more details here: https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2

    And here: https://codex.bbpress.org/bbpress-styling-crib/

    And there are also some plugins that can do these things for you.

    #214156
    llaves
    Participant

    I’m sure this has been addressed the past, but I can’t find it anywhere – sorry.
    I want to edit the bbpress.css file, but I can’t find it.
    From the dashboard I select Appearance->Theme Editor, but I can’t find bbpress.css in the list of files, so this must not be the right place to look.
    So, how do I find the bbpress.css file to edit?

    #214149
    neon67
    Participant

    How to make one common page for blog and forum tags?
    Now tags lead to different pages
    BLOG: site / tag / tagname /
    BBPRESS: site / forums / topic-tag / tagname /

    tagname are the same

    Necessary: clicking the tag icon (in blog or forum)->> redirect to the general page of the tag (common for blog and forum)

    May be plugin?

    #214143
    Robin W
    Moderator

    hmmm… the code works fine on my test site.

    I can only suggest it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    #214118
    Robin W
    Moderator

    My original import instructions are from v2 bbpress 7years ago.

    #214117
    stefyonweb
    Participant

    Hi everyone, although 4 years have passed, I hope someone can help me ๐Ÿ™‚
    I’m trying to import a snitz database following these instructions, but I can only import users and “reply” table.
    Analyzing forum table configuration I noticed, comparing the snitz.php file with the other files, that

    ‘to_fieldname’ => ‘_bbp_forum_id’

    whereas in all the other files it’s

    ‘to_fieldname’ => ‘_bbp_old_forum_id’

    I tried changing the value but had no success, though.

    Maybe it depends on the fact that new bbPress version uses “post” and “postmeta” tables instead of custom bbPress tables?

    I searched for ad updated snitz.php file but didn’t find any.

    Thanks in advance ๐Ÿ™‚

    #214116
    Robin W
    Moderator
    #214112
    sblwp
    Participant

    Hello,
    Our association is using a bbpress forum to debate. Some responses are very long making it hard to have a general vue one a small screen. Do you know a plugin that could add a “read more” button after x characters, like an “excerpt” on a WP post ?
    Thanks for your help or suggestions ๐Ÿ™‚

    #214110
    Robin W
    Moderator

    your theme/elementor is doing this, not bbpress

    suggest you look in your theme colors to see if you can change

    background-color:#020413;

    #214102
    kikismedia
    Participant

    I saw a code on stackoverflow for bbpress annyomous (@robin-w it’s actually a good idea o but hard to code

    #214095
    Robin W
    Moderator

    has been asked before an JJJ who wrote most of bbpress says it would be really hard to code.

    #214092
    Robin W
    Moderator

    These are all issues with your theme, not bbpress.

    However in the spirit of helpfulness, I’ll do this last one, but after that you need to refer to your theme’s support channels.

    So the best I can do without spending considerable time is :

    @media only screen and (max-width: 480px) {
    
    #bbpress-forums div.bbp-reply-author img.avatar {
    	position: relative !important ;
    }
    
    #bbpress-forums .bbp-body div.bbp-reply-author {
    	padding-left: 0px !important;
    }

    Which puts it on then left, but is not perfect

    #214061

    Topic: Auto Moderator

    in forum Plugins
    nayanboost
    Participant

    Hello, I want to know is there any settings in bbpress where a user could be a moderator automatically? I have faced such an issue. I want to deactivate that settings. This is urgent, please help.

    #214060
    smith512
    Participant

    I am worried about that “GD Power Search for bbPress” is not verified my wordpress version.
    Do you intend to update this?

    #214056
    Robin W
    Moderator

    yes this seems to be a bug.

    in

    \bbpress\includes\forums\functions.php

    line 197 has

    // No forum parent was passed (should never happen)
    	if ( empty( $forum_parent_id ) ) {
    		bbp_add_error( 'bbp_new_forum_missing_parent', __( '<strong>ERROR</strong>: Your forum must have a parent.', 'bbpress' ) );

    but a top level forum will have zero so empty !

    (I’m not a bbpress author, I just help moderate here, so not under my direct powers to change)

    To correct this for another user, I did the following :

    created a hidden forum – then noted the ID (in this case 4537)

    then in

    \bbpress\templates\default\bbpress\form-forum.php

    changed line 138 etc. from

    <p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>

    to

    <?php
    					//the code in incudes/forums/functions won't let post parent be blank.
    					//to get this to work, we have created a hidden forum in the site.  This forums ID is 4537
    					//if the hidden forum exists, then use this forums id 
    					//otherwise show the post parent section
    					$forum_parent_id = bbp_get_forum_id( 4537 );
    					if (!empty( $forum_parent_id )) { ?>
    					 <input type="hidden" id="bbp_forum_parent_id" name="bbp_forum_parent_id" value="4537">
    					 <?php
    					}
    					else {
    					?>
    					<p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>
    					<?php } ?>

    This template then gets saved to your child themes directory as

    wp-content/themes/%your-theme-name%/bbpress/form-forum.php

    bbPress will now use this template instead of the original

    Finally, add an action to re-write the parent forum from 4537 to zero post forum creation

    add_action( 'bbp_new_forum_post_extras', 'ltc_limit_forum', 10 ,1  );
    
    function ltc_limit_forum ($forum_id) {
    	//this function is fired when a forum is created
    	//set post parent to zero
    	wp_update_post(
    		array(
    			'ID' => $forum_id, 
    			'post_parent' => 0
    			)
    	);
    }

    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

    You could amend that function to have an if statement so if forum parent is 4537 then create forum parent as 0, but in this case there were no times when a sub forum was being created, so it was not needed.

    I know this is quite convoluted, but it worked !!

    There is a trac ticket for this issue somewhere, so the authors are aware

    #214054
    deandimarzo
    Participant

    I’m using the [bbp-forum-form] shortcode to allow forum moderators to add subforums on our site (is there a better way to do this?) and when submitting the form I get the error “ERROR: Your forum must have a parent.”

    I’ve dug through the source code thoroughly to figure out what would be causing this and I just can’t track it down. Any ideas?

    #214049
    Milan Petrovic
    Participant

    Your code doesn’t look complete. You posted ‘my_bbp_filter_search_results’, but there is no filter it is tied into. Which filter did you use to hook this function too?

    I can recommend you trying my advanced search plugin: GD Power Search for bbPress – https://wordpress.org/plugins/gd-power-search-for-bbpress/ it allows you to select forums to search through and other things.

    Milan

    #214048
    smith512
    Participant

    After user searched key wards in one of the parent forums, I want to suggest topics that are a member of the parent forum.
    For example,
    Forum Top |- Forum B |-topic A
    | |-topic F
    |
    |- Forum C |-topic A
    |-topic Z

    If an user now in Forum B searches topic A, only show topic A in Forum B, not Forum C’s topic A.

    What I tried
    First, I add this cord to my child theme’s function.php.
    `function my_bbp_search_form(){
    ?>
    <div class=”bbp-search-form”>

    <?php bbp_get_template_part( ‘form’, ‘search’ ); ?>

    </div>
    <?php
    }
    add_action( ‘bbp_template_before_single_forum’, ‘my_bbp_search_form’ );`

    Next, Add a field to the search form. I override form-search.php in my child themeโ€™s /bbpress directory.

    if ( bbp_allow_search() ) : ?>
    <?php $forum_id = bbp_get_forum_id(); ?>
    <div class="bbp-search-form">
    	<form role="search" id="bbp-search-form" method="get" action="">
    		<input type="text" value="" placeholder="Search <?php the_title(); ?> Topics"  name="s"/>
    		<input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>"/>
    		<input type="submit"/>
    	</form>
    </div>

    Finally, I filter the search query to only search a specific forum. I add this code to my functions.php.

    
    <?php 
    function my_bbp_filter_search_results( $r ){
    	$s=htmlspecialchars($_GET['s'], ENT_QUOTES, 'UTF-8');
    	$forum_id = htmlspecialchars($_GET['forum_id'], ENT_QUOTES, 'UTF-8');
    if(isset($s)){
    	$args=array(
    	's'->$s,
    	'post_parent'->$forum_id,
    	);
            }
            return $r;
    }
    ?>

    However, it didn’t work so I want to know how to achieve this.

    In addition, I challenged another way like this.

    if(bbp_has_topics(array('s'->$s, 'post_parent'->$forum_id)))
            bbp_get_template_part('bbpress/loop', 'topics');

    This code is that I edited above last additional functon “my_bbp_filter_search_results()” in function.php.
    However, I can’t get search’s value(name=’s’) in the first place. I tried to use “echo $s;”, $s didn’t output the value. Where is the search results file of bbpress?

    Please advise me. Thanks for reading.

    #214047

    In reply to: Delete Plugin

    Robin W
    Moderator

    ok, bbpress does not create it’s own tables.

    anyway glad you are sorted

    #214045
    Robin W
    Moderator
    #214040
    ricks03
    Participant

    I have bbPress installed and configured.

    If I create a page, with the shortlink: [bbp-forum-index]
    then I can go to the page attributes, and change the Template from the Default Template to “Full Width Page (no sidebar)”, which is a template available from my Theme (Responsive by Cyberchimps), and it looks great.

    When I attempt to browse any of my forums from there I, of course, leave that Page, and enter the normal forum pages, which use the Default Template again. What I’d like to do is change what theme Template is used for all of bbPress. Possible?

    I don’t have any need to edit the template itself, I just want to change which template the bbPress pages use.

    Thanks!

    Rick

    #214034
    BJ_Bundy
    Participant

    Hi

    I have three issues when it comes to replies to a topic.

    Screenshot

    As one can see there is a blue square around the avatar. How comes and how can I remove it?

    Furthermore the size of the fonts is suddenly too big. The username beneath the avatar as well as the links in the signature.

    Can you please help to fix these issues.

    Thanks a lot in advance.

    WP 5.4.2
    bbPress 2.6.5
    Theme: Blog Diary Pro

    #214030
    uksentinel
    Participant

    If it is a direct copy, then I am not surprised it was rejected – thank you for spending your time with this challenge, but unless the code / design is unique, bbpress will keep rejecting.

    FYI – I have got around the problem by using a widget that works and created a short code from that and placed that shortcode in the top menu on my page, a bit of a fudge but it will do for now.

    Thanks for trying ๐Ÿ˜‰

    #214027
    hellojesse
    Participant

    My plugin is rejeceted, here is their reply:
    Your plugin has been rejected because it is a duplicate of another plugin, already hosted on WordPress.org

    My answer was this:
    The reason why I did it is because, I do have client and he checked your plugin and he said that "This plugin hasnโ€™t been tested with the latest 3 major releases of WordPress." So he feels insecure. I have tested with WordPress and bbPress and it works fine.

    #214020

    In reply to: Delete Plugin

    Robin W
    Moderator

    first – dashboard>tools>forums>reset forums
    then dashboard>plugins>bbpress>decativate and delete

Viewing 25 results - 4,026 through 4,050 (of 64,416 total)
Skip to toolbar