Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 5,301 through 5,325 (of 64,297 total)
  • Author
    Search Results
  • #205816

    Pending content is a funny thing.

    If you tell someone why it’s pending, they’ll post again to try and skirt the filter.

    If you tell them nothing, they’ll post again thinking something is wrong.

    If we can come up with some verbiage, that’s step one.

    Step 2, is where to redirect them. If a topic is pending, you can’t really show them their own pending topic, because it’s not visible to them, at least not the way bbPress works currently.

    #205815
    Robin W
    Moderator

    ok, the message in red show what I think is fine on my browser – can you say if you still have an issue with that part.

    On the mobile, you could have

    @media only screen and (max-width: 600px) {
    
    #bbpress-forums .bbp-reply-author {
    	display	: none ;
    }
    
    }

    which would take the author part out for mobiles

    #205814
    Clivesmith
    Participant

    I am sorry to ask this now as I know you are busy with a great update but I do have a bit of a problem.

    I managed to sort most of it out with the old version but am struggling with the new update.

    What I did was remove from the header on the replies page all the headings except “author” and change the “posts” to text I want with some formatting.

    in my childtheme style.css
    I included this to remove most of the headings from everywhere.

    #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    border-top: 3px solid #0a9ed3;
    overflow: hidden;
    padding: 8px;
    }

    li.bbp-forum-freshness, li.bbp-forum-freshness {
    display: none;
    }

    li.bbp-forum-freshness, li.bbp-topic-freshness {
    display: none;
    }

    li.bbp-forum-info, li.bbp-topic-title { width:100%; }

    li.bbp-forum-topic-count, li.bbp-forum-topic-count {
    display: none;
    }
    li.bbp-forum-reply-count, li.bbp-forum-reply-count {
    display: none;
    }
    li.bbp-topic-title { width:100%; }

    li.bbp-topic-voice-count, li.bbp-topic-voice-count {
    display: none;
    }

    li.bbp-topic-reply-count, li.bbp-topic-reply-count {
    display: none;
    }

    I know this next bit was a dirty way to do it but…
    in wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
    I changed line 24 from
    <?php _e( ‘Posts’, ‘bbpress’ ); ?>
    to
    <?php _e( ‘<div align=”center” style =”color:#ff0000″>Please check out all the replies below,<br> if you find a post helpful please vote using the arrows</div>’, ‘bbpress’ ); ?>

    which put in my text in red centered with a carriage return in the middle.

    If I do the same now, I cannot put formatting in. But also I realized that the “author” label is not needed, in fact it looks totally wrong with a mobile.
    You can see what I mean if you look at this page https://wateratairports.com/topic/london-gatwick-lgw/ with both a large screen and a mobile
    Could someone help please ?

    #205808
    mrmillercoach
    Participant

    After applying the latest BuddyPress plugin update to bbPress 2.6.0 the Forums List Widget now displays the forums in reverse order on the dashboard.

    I updated the bbPress to 2.6.1 but this did nothing.

    https://community.careerpivot.com

    #205807
    Chuckie
    Participant

    I had a look at the code in 2.6.1.

    Lines 618 – 622 in functions.php in replies folder:

    /** Reply Bad Words *******************************************************/
    
    if ( ! bbp_check_for_moderation( $anonymous_data, $reply_author, $reply_title, $reply_content, true ) ) {
    	bbp_add_error( 'bbp_reply_moderation', __( '<strong>ERROR</strong>: Your reply cannot be edited at this time.', 'bbpress' ) );
    }

    Notice that it makes use of the bbp_add_error call to notify the user? Well, look at lines 624 – 636:

    /** Reply Status **********************************************************/

    // Maybe put into moderation
    if ( ! bbp_check_for_moderation( $anonymous_data, $reply_author, $reply_title, $reply_content ) ) {
    
    	// Set post status to pending if public
    	if ( bbp_get_public_status_id() === $reply->post_status ) {
    		$reply_status = bbp_get_pending_status_id();
    	}
    
    // Use existing post_status
    } else {
    	$reply_status = $reply->post_status;
    }

    There does not appear to be any code to flag the user. Either way, if a “reply” is flagged as pending (for example, I insert 3 images) it just vanishes with no feedback to the user. This also happens here in this forum.

    I confess I don’t know the code enough and could be barking up the wrong tree.

    #205796

    Hello, and thanks for the feedback.

    bbPress does not use iconography in the forums or topics lists. Typically images in those locations are used to denote new activity since the user last visited, which is a feature bbPress does not have.

    Looking at your screenshot, bbPress default styling looks nearly identical to it.

    The avatar styling in that screenshot looks custom which forum and site owners are encouraged to do. Customizing communities is super fun.

    The default styling should be refreshed, or a new template pack could be introduced. Either way, it would be nice to have things be a bit prettier.

    #205795

    In your category and forum tree, which areas is freshness not updated correctly? Can you repeat the problem 100% of the time? If so, what are the steps to replicate? (For example, that problem isn’t happening here on bbPress.org, so we need to figure out why not.)

    #205791
    tapiohuuhaa
    Participant

    IMO small icons among text looks very bad. IMO it would be better, if icons are on left like in XenForo forus.

    See
    https://www.sanaristikkofoorumi.net/wordpress/2019-11-16-13-40-47-www-sanaristikkofoorumi-net-58b4f9888eb8/

    On the right side is a sidebar, where small icon is on the left like here in the freshness list ( I just don’t like that the position is not always the same.

    It would be nice, if bbPress fourums could look as default more professional.

    #205788
    Milan Petrovic
    Participant

    I think this is custom built widget for the forums. My plugin GD bbPress Toolbox Pro adds similar widget: https://plugins.dev4press.com/gd-bbpress-toolbox/.

    thomei
    Participant

    Hello

    I try to change the font-family in the frontend visual editor of bbpress.

    I’m able to style the buttons and the frame around the editor. But since the content is in a iframe, I’m not able to style it with normal css. How to style the content of this inframe? Where can I style #tinymce.

    The backend editor styling is working with editor-style.css.

    In tried the following: https://bbpress.org/forums/topic/styling-the-visual-editor/ Not working.

    Any idea?

    #205783
    cantoostinato8989
    Participant

    Hello,

    I’m interested, which widget are you using on this web-site on the page – https://bbpress.org/forums/? Title – Forums and only 2 columns – Forum and Posts.

    Widjet in left top corner. Only list of Forums and quantity of posts.

    Thank you.

    cassel
    Participant

    Trying to figure out what has happened.
    I know I have updated a handful of other plugins after upgrading to 2.6.1 so I deactivated all the plugins that I had upgraded and nothing changed.

    What I find strange is that the section called “Showroom” does show the topics inside on the forum index but not the Lobby or the Let’s talk section, so it would not be something affecting all the forums/topics like a plugin conflict.

    I have BuddyPress and bbpress style pack active, but even if I deactivate them, those topics still don’t show on the index page.

    What else should I look into as POSSIBLE culprit?

    #205766
    Chris Taylor
    Participant

    I don’t believe it’s another plugin changing this, as it was working before the bbPress update.

    The “site_name” thing was me obfuscating my database name, sorry if it confused matters. Thanks.

    #205758
    me2brett
    Participant

    I’m currently having this issue on one of my forum. I’m an administrator. I can’t type a reply in Visual, but I can type in the Text tab. Running bbPress 2.6.1 and WordPress 5.2.4 (bbPress updated automatically but the sysadmin has to get involved to update WP)

    #205757
    Chris Taylor
    Participant

    I upgraded to 2.6.1 and my topic replies are not being displayed. Debug toolbar shows that there are two database errors being thrown, both like this:

    SELECT COUNT(wp_posts.ID)
    FROM wp_posts FORCE INDEX (PRIMARY, post_parent)
    LEFT JOIN wp_postmeta ON wp_postmeta.post_id = wp_posts.ID AND wp_postmeta.meta_key = '_bbp_reply_to'
    WHERE 1=1 AND (wp_posts.ID = 76 OR wp_posts.post_parent = 76)
    AND wp_posts.post_type IN ('topic', 'reply')
    AND wp_postmeta.meta_key IS NULL
    AND (wp_posts.post_status = 'publish')
    ORDER BY wp_posts.post_date ASC
    
    Table 'site_name.wp_posts' doesn't exist

    The list of forums and topics works fine.

    Like many WordPress installations I have a custom prefix for my database tables (“wp_****_”) and it appears that bbPress 2.6.1 is using that for some queries and not others.

    #205755
    Danishsard
    Participant

    Hardly any other forums have anything like that in their structures, only bbpress has something like this exposed

    Danishsard
    Participant

    Hello, maybe it would be worth to add voices to the settings panel in the bbpress options. Most people do not want to use it, why impose it. At home I turned it off by cutting out in the code of the page https://infomiasto.eu/forum/tematy/rozmowy/ but it is a solution that you need to repeat when updating, and maybe it would be such a setting

    #205728
    scabbrox
    Participant

    I think I may have found it….

    It’s in the bbpress.php file (of the pre-update version). Is this it?

    ———–
    /**
    * The main function responsible for returning the one true bbPress Instance
    * to functions everywhere.
    *
    * Use this function like you would a global variable, except without needing
    * to declare the global.
    *
    * Example: <?php $bbp = bbpress(); ?>
    *
    * @return The one true bbPress Instance
    */
    function bbpress() {
    return bbpress::instance();
    }

    /**
    * Hook bbPress early onto the ‘plugins_loaded’ action.
    *
    * This gives all other plugins the chance to load before bbPress, to get their
    * actions, filters, and overrides setup without bbPress being in the way.
    */
    if ( defined( ‘BBPRESS_LATE_LOAD’ ) ) {
    add_action( ‘plugins_loaded’, ‘bbpress’, (int) BBPRESS_LATE_LOAD );

    // “And now here’s something we hope you’ll really like!”
    } else {
    bbpress();
    }

    endif; // class_exists check

    function add_new_roles( $bbp_roles )
    {
    $bbp_roles[‘bbp_trial’] = array(
    ‘name’ => ‘Trial’,
    ‘capabilities’ => custom_capabilities( ‘bbp_trial’ )
    );

    $bbp_roles[‘bbp_warlord’] = array(
    ‘name’ => ‘Warlord’,
    ‘capabilities’ => custom_capabilities( ‘bbp_warlord’ )
    );

    $bbp_roles[‘bbp_general’] = array(
    ‘name’ => ‘General’,
    ‘capabilities’ => custom_capabilities( ‘bbp_general’ )
    );

    $bbp_roles[‘bbp_member’] = array(
    ‘name’ => ‘Member’,
    ‘capabilities’ => custom_capabilities( ‘bbp_member’ )
    );

    $bbp_roles[‘bbp_council_member’] = array(
    ‘name’ => ‘Council Member’,
    ‘capabilities’ => custom_capabilities( ‘bbp_council_member’ )
    );

    return $bbp_roles;
    }

    add_filter( ‘bbp_get_dynamic_roles’, ‘add_new_roles’, 1 );

    function add_role_caps_filter( $caps, $role )
    {
    if( $role == ‘bbp_trial’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_warlord’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_general’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_member’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_council_member’ )
    $caps = custom_capabilities( $role );

    return $caps;
    }

    add_filter( ‘bbp_get_caps_for_role’, ‘add_role_caps_filter’, 10, 2 );

    function custom_capabilities( $role )
    {
    switch ( $role )
    {

    /* Capabilities for ‘councilmember’ role */
    case ‘bbp_council_member’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘member’ role */
    case ‘bbp_member’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => false,
    ‘throttle’ => false,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => false,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => false,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => false,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘warlord’ role */
    case ‘bbp_warlord’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => true,

    // Forum caps
    ‘publish_forums’ => true,
    ‘edit_forums’ => true,
    ‘edit_others_forums’ => true,
    ‘delete_forums’ => true,
    ‘delete_others_forums’ => true,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘general’ role */
    case ‘bbp_general’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => true,

    // Forum caps
    ‘publish_forums’ => true,
    ‘edit_forums’ => true,
    ‘edit_others_forums’ => true,
    ‘delete_forums’ => true,
    ‘delete_others_forums’ => true,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘trial’ role */
    case ‘bbp_trial’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => false,
    ‘throttle’ => false,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => false,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => false,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => false,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => true,
    );

    break;

    default :
    return $role;
    }
    }

    #205727
    boberry
    Participant

    Users and an Admin are not able to post replies to posts in the forums. Is anyone else experiencing that issue?

    WordPress 5.3 running Boss. Child Theme theme.
    bbPress 2.6.1
    https://members.lockeinyoursuccess.com/

    #205725
    scabbrox
    Participant

    Hi there and thanks for the reply.

    The trouble is I’m not entirely sure how we did it as it was a while ago and the person that did it is no longer with us.

    I’m not seeing anything in functions.php which is where I understand that code is normally put for this so I’m assuming it’s in the capabilities.php file that the update is overriding as this does refer to treating wp_roles as bbpress roles.

    I can send a copy of the capabilities file (not seeing an upload button) or perhaps you can give me an idea where else to look?

    Sorry to be so vague, but it works fine with the previous version of bbpress so I’m guessing it’s something that gets overwritten when I update.

    The roles were created by clicking duplicate on a bbpress role and then changing the name, but if I try that now it just created a wp-role and not a forum role.

    #205724

    In reply to: Child CSS

    raydelvec
    Participant

    Yes, I can also confirm that renaming to bbpress.min.css brings back the styles.

    LucasHilty
    Participant

    First, thanks very much to the team for your work on bbPress. Our educational community has benefited.

    We use a combination of SearchWP and FacetWP to power search on our site. This is set up to pull in forums, topics, and replies, along with other post types. With the update to 2.6, the forum content disappeared from search results. I have rolled back to 2.5.14 and search results are working again.

    I’m wondering if you have any suggestions for what change in 2.6 might have altered this behavior.

    Thanks!

    #205720
    Robin W
    Moderator

    the bit you have altered is in my style pack plugin :

    dashboard>settings>bbp style pack>topic/reply display>item 20.

    However as bbpress now wraps this part in a <ul> you can’t use a <table> in that part.

    However the new template gives you the login part below it which the old did not, so it gets you most of the way there.

    Alternatively you could amend the template which is

    templates/default/bbpress/form-topic.php if you know how to FTP files

    #205709
    thierrytregaro
    Participant

    As every post with picture/link or quote is now waiting for approval, this new moderation thing is just a nightmare.

    So far, using GD Toolbox Report function to let users report posts in need of moderation (and a very secure anti-spam^^). And this was perfect for my needs.

    Now, forum is almost unusable with dozens posts per hour to approve only because some member quoted another. Or added a picture. Discussions are a nightmare to follow with posts validated too late, with many other answers in between. And, of course, users posting many times in a row because their posts wasn’t added to discussion.

    My community is too active to ask for moderators to validate posts. This is a non-sens for my usage : posts are legit until proven not.

    So : is there any way to remove this moderation option ?
    Or i’ll have to remove bbpress. After many years of service and so much time to improve my forums, time may have come to make that switch to Discourse… And, yes, it may be a conflict with Toolbox tools. But there’s no way I use bbpress without GD addon.

    #205705
    willysbd
    Participant

    Hi John!
    Thanks for the quick response!
    I modified your code to:

    /* wp customer -> bbp block */
    add_filter( 'bbp_get_user_role_map', function( $roles = array() ) {
        $roles['customer'] = 'bbp_blocked';
        return $roles;
    } );
    
    /* wp suscriber -> bbp participant */
    add_filter( 'bbp_get_user_role_map', function( $roles = array() ) {
        $roles['subscriber'] = 'bbp_participant';
        return $roles;
    } );
    

    But doesn’t works fine… when I change a Wp user role they lost any user role at bbpress.. (I put the code in functions in my child theme, is correct?)

    Thanks again!

Viewing 25 results - 5,301 through 5,325 (of 64,297 total)
Skip to toolbar