Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,076 through 1,100 (of 6,788 total)
  • Author
    Search Results
  • Robin W
    Moderator

    ok, so not my plugin, but I cannot replicate the error

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194700

    In reply to: How add Class on list

    puniler
    Participant

    Thanks for getting back to me.

    Break down the code in question into three.

    (1)
    I found the following code in this directory,
    wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php

    <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies">
    
    	<li class="bbp-header">
    		<!-- various -->
    	</li>
    
    	<li class="bbp-body">
    		<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    	</li>
    		
    	<li class="bbp-footer">
    		<!-- various -->
    	</li>
    
    </ul>

    (2)
    And the template called in the above code is below.
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php

    	
    		<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    			<div class="bbp-meta">
    				<!-- various -->
    			</div>
    		</div>
    		<div <?php bbp_reply_class(); ?>>
    			<!-- various -->
    		</div>
    		
    		<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    			<div class="bbp-meta">
    				<!-- various -->
    			</div>
    		</div>
    		<div <?php bbp_reply_class(); ?>>
    			<!-- various -->
    		</div>	

    (3)
    But I could not find the code for the part of the list below.

    	<li class="★">
    
    	</li>
    
    	<li class="★">
    
    	</li>

    In the output HTML, this list is included, but the PHP template does not show the part of the list.

    Where is the list, how can I rewrite it?

    Thanks.

    #194696

    Thanks for the reply
    yes i know it’s default
    but I put to all the forums, the topics that I created public.
    and nothing has changed

    #194630
    scmsteve
    Participant

    Noticed when migrating from 2.5.12 to 2.6 beta 2 (and also in RC1 and RC3), that my custom CSS file in mytheme/css/bbpress.css is no longer being detected.

    I am seeing that here as well… Since your post was never commented on, I don’t know if it was ignored or simply thought irrelevant. Or maybe missed. 🙂

    Looking at the HTML between the old site and a test site running the SVN pull of 2.6, it seems that previously as part of the enqueue_styles() call, it generated:

    <link data-asynced="1" as="style" onload="this.rel=&quot;stylesheet&quot;" rel="stylesheet" id="bbp-default-css" href="https://siteurl/wp-content/themes/mythemename/css/bbpress.css" type="text/css" media="screen">

    Now it is generating:

    <link data-asynced="1" as="style" onload="this.rel=&quot;stylesheet&quot;" rel="stylesheet" id="bbp-default-css" href="https://siteurl/wp-content/plugins/bbpress/templates/default/css/bbpress.min.css" type="text/css" media="all">

    So, it is not looking in the site css folder, but instead pulling from the plugin folder.

    Is this intentional? If not, is there a fix/workaround?

    #194586
    bamadale
    Participant

    THANK YOU for this post!

    I cannot remember if this defaults to both being enable at the same time, but if they are, bbPress should consider adding some notes about this in the Settings.

    Thanks again! Dale

    #194569
    bjarvis
    Participant

    Thank you for your reply Robin. The issue turned out to be a conflict with the themes customization area for a “custom 404 page” instead of using the default 404 page. When I turn this off, and use the default 404 page, the issue resolved. The theme developer is working on a fix on their end. :o)

    #194560
    ketanco
    Participant

    Right now by default under a main forum category, the subforums appear together, only separated by comma. This is confusing for me. Is there a way to list each subforum one by one each on a separate line, under their main category forum, instead of them just separating by commas?

    #194538
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194536
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194513
    Helmuts
    Participant

    A quick update – ..this topic ranks in the top positions of Google on these keywords and needs updating.

    My suggestion: set up plugin “bbPress Advanced Statistics” https://wordpress.org/plugins/bbpress-improved-statistics-users-online/

    and use the shortcode: [bbpas-activity] (you have to enable it first in settings under “extra” tab”

    Sample (latest forum posts): https://www.lustjobs.com/latest-posts-custom-forum-view/

    There are 2 bbcodes on this page:
    [bbp-topic-index]
    [bbpas-activity]

    as for the default bb code: you have to use use [bbp-stats] not [bbp-statistics]

    #194511
    eigodeasobo
    Participant

    Hi bbpress

    I want to escape html in topic and reply output, but I want to Embede media.

    REPLACED this code which you can find inside[bbpress/templates/default/bbpress/content-single-topic-lead.php] file, opening via the editor.
    <?php bbp_topic_content(); ?>
    WITH THIS CODE

    <?php
    global $wp_embed;
    $inputTxt = bbp_get_topic_content();
    $escTxt = esc_html( $inputTxt );
    echo '<div class="test">'.$wp_embed->run_shortcode( '[embed]' . $escTxt . '[/embed]' ).'</div>';
    ?>

    But I can not it.

    How do I write it?

    #194495
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194494
    Robin W
    Moderator

    possibly a conflict, or maybe your site has been hacked.

    is this just one username or all ?

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194467
    Stephen Edgar
    Keymaster

    The translations are handled at https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/es/default, you should be able to search for the string and suggest a new translation

    #194455
    mrkoki10
    Participant

    It seems you’ve entered the password one time on front -end and it remembers.

    Please test it as guest and as other logged in user.
    Test it on new page
    Change the theme and test it with the default one. I think this is a theme problem 99%.
    Make sure “Use output buffer” option is “Yes” in Forums > Settings > Features admin page

    puniler
    Participant

    Hi all,

    I’m trying to integrate the BuddyPress favorite (aka like system) system with BBPress.

    But I can not implement ajax and the page will be reloaded.

    How do I write it?

    ▼【functions.php】

    function my_bp_activity_is_favorite($activity_id) { 
      global $bp, $activities_template;  
      return apply_filters( 'bp_get_activity_is_favorite', in_array( $activity_id, (array)$activities_template->my_favs ) );  
    }  
    function my_bp_activity_favorite_link($activity_id) {  
      global $activities_template;  
      echo apply_filters( 'bp_get_activity_favorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/favorite/' . $activity_id . '/' ), 'mark_favorite' ) );  
    }  
    function my_bp_activity_unfavorite_link($activity_id) { 
      global $activities_template;  
      echo apply_filters( 'bp_get_activity_unfavorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/unfavorite/' . $activity_id . '/' ), 'unmark_favorite' ) );  
    }  

    ▼【bbPress/templates/default/bbpress/loop-single.php】

    <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    
      <!--omission-->
    
        <div class="favorite-wrap">
            <?php $activity_id = get_post_meta( bbp_get_reply_id( $reply_id ), '_bbp_activity_id', true ); ?>  
            <?php if ( is_user_logged_in() ) : ?>  
                <?php bp_has_activities(); ?>   
                <?php if ( !my_bp_activity_is_favorite($activity_id) ) : ?>  
                    <a href="<?php my_bp_activity_favorite_link($activity_id) ?>" 
                    class="button fav bp-secondary-action bp-tooltip" data-bp-tooltip="add" aria-pressed="false">
                    <span class="bp-screen-reader-text">add</span>
                    </a> 
                <?php else : ?>  
                    <a href="<?php my_bp_activity_unfavorite_link($activity_id) ?>" 
                    class="button unfav bp-secondary-action bp-tooltip" data-bp-tooltip="remove" aria-pressed="false">
                    <span class="bp-screen-reader-text">remove</span>
                    </a>
                <?php endif; ?>  
            <?php endif;?>  
        </div>
    
      <!--omission-->
    
    </div><!-- #post-<?php bbp_reply_id(); ?> -->

    Help for figuring this one out is appreciated.
    Best regards

    #194399

    In reply to: BB Press login problem

    Robin W
    Moderator

    bbpress just us wordpress login, so the issue is probably outside bbpress.

    It could be a theme or plugin issue

    Plugins

    Deactivate all and see if this fixes. if it does, start with bbpress and re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    that is the definitive way, but you could start with any plugins that relate to logging in if you have any.

    #194320

    In reply to: Editing Out Content

    Robin W
    Moderator

    simplest way would be to use my bbp style pack plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>freshness display

    if you want to edit a file, then ensure you do this to a copy in a bbpress folder in your child theme.

    you’ll find the original template you want to alter in

    templates/default/bbpress/loop-forums.php

    #194281
    Chris
    Participant

    Hi. I am building my Online School and I installed bbpress to have a forum. I can’t give you a link now, because my website has coming soon mode active.
    I have a problem with breadcrumbs. First of all, they don’t show as I see them in others’ forums. They don’t show at all. I have enabled Page Title Bar to show breadcrumbs, but this is an option from my theme (I use Avada theme). This helped me to show breadcrumbs in the page title bar, but I would prefer to see default breadcrumbs from bbpress just above the forum.

    Another problem is that when I click on “Home” it takes me to my homepage, not to the Forum homepage, but this is understandable, since the breadcrums come from my theme, not from the bbpress.

    Why I can’t see that simple forum breadcumb trail just above the forum?

    View post on imgur.com

    #194261

    In reply to: TinyMCE Error

    Robin W
    Moderator

    that error suggests that your theme Stockholm and file js/plugins.js is the problem.

    So it initially looks like enabling tinymce within bbpress is calling the tinymce or other code within your theme – the bbpress code you are using just turns on the wordpress function.

    to prove, try switching as a test to a default theme, such as twentyseventeen and see if the error goes away

    #194207
    Robin W
    Moderator

    Looks like a conflict between your theme, bbpress and 4.9.8.

    It works fine with a default theme.

    what theme are you using?

    #194200
    Robin W
    Moderator

    rewrite rules
    This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    or

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194198
    Robin W
    Moderator

    suspect that @p30better is just posting spam.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194197
    Robin W
    Moderator

    you can do it by amending a template if you know how to do ftp

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    Make a copy of this file, 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
    and you can amend this

    so amend this template to read

    
    <?php
    
    /**
     * Single Forum Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <div id="bbpress-forums">
    
    	<div id="forum-intro">
    	
    	<?php if (bbp_get_forum_title() == 'technical' ) echo 'this is some content' ; ?>
    	
    	<?php if (bbp_get_forum_title() == 'leisure' ) 	echo 'this is some different content' ; ?>
    	
    	</div>
    
    	<?php bbp_breadcrumb(); ?>
    
    	<?php bbp_forum_subscription_link(); ?>
    
    	<?php do_action( 'bbp_template_before_single_forum' ); ?>
    
    	<?php if ( post_password_required() ) : ?>
    
    		<?php bbp_get_template_part( 'form', 'protected' ); ?>
    
    	<?php else : ?>
    
    		<?php bbp_single_forum_description(); ?>
    
    		<?php if ( bbp_has_forums() ) : ?>
    
    			<?php bbp_get_template_part( 'loop', 'forums' ); ?>
    
    		<?php endif; ?>
    
    		<?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>
    
    			<?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    		<?php elseif ( !bbp_is_forum_category() ) : ?>
    
    			<?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
    
    			<?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    		<?php endif; ?>
    
    	<?php endif; ?>
    
    	<?php do_action( 'bbp_template_after_single_forum' ); ?>
    
    </div>

    You will see I have added lines to change the content per forum

    so the line

    <?php if (bbp_get_forum_title() == 'technical' ) echo 'this is some content' ; ?>

    says that if the forum is called ‘technical’ then write ‘this is some content’ so you simply need to change the forum name and what you want that forum content to be.

    You can add additional lines for each forum, my example has two forums ‘technical’ and ‘leisure’

    #194094
    Robin W
    Moderator

    I would like to create a forum that is free for all to view but can only be contributed to by registered user of the website. So creating new topics and replying/commenting in the tread is only available to those who are registered. However anyone can read the thread and hopefully its contents will be searchable by google

    This is the default.

    If you set then forum to public, but ensure that anonymous posting is off

    dashboard>settings>forums>anonymous posting

    Then all can see, but only registered users can post

    bbpress just uses wordpress login, so any wordpress login will work, so logging onto the website also gives access to the forums

Viewing 25 results - 1,076 through 1,100 (of 6,788 total)
Skip to toolbar