Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 6,876 through 6,900 (of 64,452 total)
  • Author
    Search Results
  • #194624
    Robin W
    Moderator
    #194610
    Prashant Chaudhari
    Participant

    Hi!

    I want to hide all the columns (Posts, Topics, Voices, Freshness) except the Forum and Topic.
    Everything is working fine except the column size of Forum column is not changing. Here is the css:

    /* To hide VOICE, REPLY, POSTS and FRESHNESS columns in bbPress */
    
    li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-forum-freshness {
        display: none !important;
    }
    
    li.bbp-topic-voice-count, li.bbp-topic-reply-count, li.bbp-topic-freshness {
        display: none !important;
    }
    
    li.bbp-forum-info,
    li.bbp-topic-title {
    	float: left;
    	text-align: left;
    	width: 100%;
    }
    
    /* End */
    

    Please help.

    #194609

    In reply to: Forum Topic Loop

    Babblebey
    Participant

    Well just incase other people finds this thread.. My Template Part had bugs too.. Here is the one that worked:

    <?php
    
    /**
     * Single Thread
     *
     * @package bbPress
     * @subpackage Theme
     */
    
      // $threadURL = bbp_topic_permalink(); // Deprecated ////
      // $threadTitle = bbp_topic_title(); // Deprecated ////
      // $threadTIme = bbp_topic_post_date(); // Deprecated ////
      ///////////////// Thread Author Avatar URL ////////////////////////
      $user_id = bbp_get_user_id( $user_id );
      $authorAvatarURL = get_avatar_url( $user_id, 300 );
      ///////////////////////////////////////////////////////////////////
      // $threadVoiceCount = bbp_topic_voice_count(); // Deprecated ////
    
    ?>
    
    <div class="swiper-slide-item">
        <div class="icon-author" style="background-image: url('<?php echo $authorAvatarURL; ?>'); background-image: -webkit-image-set(url('<?php echo $authorAvatarURL; ?>') 1x, url('<?php echo $authorAvatarURL; ?>') 2x);"></div>
        <a href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a></h2>
        <time class="data" datetime="<?php bbp_topic_post_date(); ?>"><?php bbp_topic_post_date(); ?></time>
        <span class="views"><i class="fa fa-comment-alt"></i><?php bbp_topic_reply_count(); ?></span>
    </div>

    The bbPress Functions does not want to be assigned to variable as Unlike the GET_ they do not return values, they echo.

    Thanks.

    #194606

    In reply to: Forum Topic Loop

    Robin W
    Moderator

    bbp_get_template_part( 'bbpress/omna', 'forumthreads' )
    should read
    bbp_get_template_part( 'bbpress/omna', 'forumthreads' ) ;

    you missed a ‘;’ !

    #194605

    Topic: Forum Topic Loop

    in forum Installation
    Babblebey
    Participant

    Hello there,

    Firstly thank you for viewing this thread, really appreciate.

    I am trying to create a topic loop to display in my in development theme. I have created a template part in my theme-directory/bbpress/omna-forumthreads see below:

    <?php
    
    /**
     * Single Thread
     *
     * @package bbPress
     * @subpackage Theme
     */
    
      $threadURL = bbp_topic_permalink();
      $threadTitle = bbp_topic_title();
      $threadTIme = bbp_topic_post_date();
      ///////////////// Thread Author Avatar URL ////////////////////////
      $user_id = bbp_get_user_id( $user_id );
      $authorAvatarURL = get_avatar_url( $user_id, 300 );
      ///////////////////////////////////////////////////////////////////
      $threadVoiceCount = bbp_topic_voice_count();
    
    ?>
    
    <div class="swiper-slide-item">
        <div class="icon-author" style="background-image: url('<?php echo $authorAvatarURL; ?>'); background-image: -webkit-image-set(url('<?php echo $authorAvatarURL; ?>') 1x, url('<?php echo $authorAvatarURL; ?>') 2x);">
        </div><<?php echo $threadURL; ?>"><?php echo $threadTitle; ?></a></h2>
            <time class="data" datetime="<?php echo $threadTIme; ?>"><?php echo $threadTIme; ?></time>
            <span class="views"><i class="fa fa-comment-alt"></i><?php echo $threadVoiceCount; ?></span>
        </div>
    </div>
    

    And i believe this should work, But currently i have issues with the loop that should display it by driving the content from the template part. Here is my loops:

    <div class="swiper-wrapper">
        <div class="swiper-slide">
           <div class="swiper-slide-container">
              <?php
                 if ( bbp_has_topics() ):
                    while ( bbp_topics() ) : bbp_the_topic();
                       bbp_get_template_part( 'bbpress/omna', 'forumthreads' )
                    endwhile;
                 endif;
              ?>
           </div>
        </div>
     </div>

    Now i get a pass error:

    Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in C:\wamp\www\omna\wp-content\themes\omna\page-home.php on line 143

    I have also tried the curly brace {} type of IF & WHILE expressions, still a parse error..

    Please Help.

    Randall Camacho
    Participant
    #194600
    alriknijdam
    Participant

    I seem to have an error with the page previews as you can see over here. As you can see in the first reply in this link, page preview for WP pages works fine, the problem only occurs with BBpress related urls (second post). In the image below I marked it with red:

    page preview error

    When I disable the GP Premium plugin the preview dissapears and it only shows the title as an url inside a blockquote. BUT looking at the source code the wrong preview is still there. Changing class wp-embedded-content position: absolute; to position: relative; makes it visable again.

    Disabling all plugins, switching to another theme or deleting all custom css is of no influence. WordPress and all plugins are up to date.

    What is the best support ticket plugin or service available for WordPress that integrates well with bbPress

    #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

    #194574
    eigodeasobo
    Participant

    Hi,

    I added Customfields to BBpress reply form by this code:

    //Input on BBP reply form
    function bbp_extra_reply_fields() {
    $custom = get_post_meta( bbp_get_reply_id(), 'bbp_custom', true);
    echo '<fieldset class="bbp-form bbp-form-add">';
    echo "<p><input id='bbp_reply_custom' type='text' name='bbp_custom' value='".$custom."'></p>";
    echo '</fieldset>';
    }
    add_action ( 'bbp_theme_before_reply_form_content', 'bbp_extra_reply_fields');
    
    //Register to Detabase
    add_action( 'bbp_new_reply', 'bbp_save_reply_extra_fields', 10, 1 );
    add_action( 'bbp_edit_reply', 'bbp_save_reply_extra_fields', 10, 1 );
    function bbp_save_reply_extra_fields( $reply_id ) {
    if (isset($_POST) && $_POST['bbp_custom']!='') {
    update_post_meta( $reply_id, 'bbp_custom', $_POST['bbp_custom'] );
    }
    }
    
    //Output to BBP reply
    function inputBBPreply_outputBBPreply() {
    $reply_id = bbp_get_reply_id();
    $reply_custom = get_post_meta( $reply_id, 'reply_custom', true);
    return '<div>'.$reply_custom.'</div>';
    }
    
    //Output to Buddypress activity
    function inputBBPreply_outputBPactivity() {
    //What should I write?
    }

    But this code dose not show at BuddyPress activity.

    What should I write?

    Thanks

    #194554
    ketanco
    Participant

    I just started using bbpress for the first time.
    i created one category and a post under it. i also made 2 posts without putting under any category.
    on the forum main page only the category i created is visible.
    where are the posts i created without assigning category? how can i see them?
    and later can i assign them a category? how?

    #194550
    elawrenc01
    Participant

    Just an update, I was able to successfully import a PHPBB 3.22 database into Bbpress, including users. I hope to try it again with a bigger database, but so far, so good.

    #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

    #194535
    timmoser
    Participant

    Ahoy,
    I am using

    bbPress 2.5.14-6684
    BuddyPress 3.1.0
    bbp style pack 3.9.6
    WordPress 4.9.8
    running Bento (Child) theme
    on this page bomb.bio/forum

    I am having a problem with the insert/edit image button (in the text version the img button) not working. Image links added this way do not display.
    Posting the same link without the tag automaticaly added when using this button works fine as long as they are in a new line.

    Does anyone have any idea how I can get this to work? Even removing the misleading button or changing the button functionality so it wont add the tag which seems to make the link not work would be better than the current situation.

    I can’t code. I am only able to copy paste and to some degree alter code that i am given. I do have a working child theme if that helps.

    Thank you very much!!!
    Tim

    #194533
    duroe5698
    Participant

    I am getting a 404 error on all of my forum reply RSS feeds like this one: https://appletoolbox.com/forums/reply/reply-to-ipod-setting/feed/ and I am not sure why.

    My normal topic RSS feeds work just fine: https://appletoolbox.com/forums/topic/ipod-setting/feed/

    Is there any way to fix these 404 errors OR is there a way to disable RSS feeds for the replies and/or bbpress as a whole?

    Thank you in advance for any guidance!

    #194532
    Robin W
    Moderator

    bbpress just uses wordpress registration, so this is not really a bbpress issue.

    I’d look at what registration plugins you may have running

    #194527
    macsgv
    Participant

    Solved 🙂 had a display: none;

    #bbpress-forums .bbp-user-edit, .bSe h3 {
    display: none;
    }

    #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?

    #194507
    james4477
    Participant

    I have been looking through he forums, google and others but most answers I have found are for old outdated plugins, broken links and so on unless I have missed anything.

    Having installed bbpress I’m looking for a working solution to simply add an “accept terms and conditions” checkbox to the bbpress registration page.

    #194506
    Robin W
    Moderator
    #194501
    jarhead33127
    Participant

    thanks anyway.

    I find it a pity that on a forum like bbpress we can not use and modify our roles on the forum part by adding and edit some.

    If anyone has any info or help to integrate 1 additional role with the same rights as participant I am a taker.

    #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

Viewing 25 results - 6,876 through 6,900 (of 64,452 total)
Skip to toolbar