Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 18,101 through 18,125 (of 64,516 total)
  • Author
    Search Results
  • #153585
    cryx
    Participant

    Hi, I’m having a big problem with a client’s site of mine.

    Last week there was no problems. His forums are set to be private so only users with the correct roles can read and write. New registered users get assigned to a role I’ve created called “webshop customer” and forum role is Spectator (I created this using a guide I found). So as you know with Private forums a Spectator shouldn’t even get access to it. This worked to maybe 3 days ago for no apparent reason. Now suddenly all users with Spectator role can read and even write(!) in the forums without any barriers.

    I fixed this yesterday by reinstalling BBPress and it worked. But the next day the problem was back… I don’t know how to fix this.

    If you want admin details or FTP I can send you them. The only file I’ve changed is the “feedback-no-forums.php” inside “bbpress/templates/default/bbpress” to show some info for the Spectator user. I have no idea…

    #153580
    kendorama
    Participant

    I’ve googled and searched the support forums and it seems the answers are outdated and don’t currently work on this version of bbPress.

    I’ve read https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ among other tips.

    Any help?

    #153568

    In reply to: Coloring answer

    CodingMachine
    Participant

    And if you want to hide your closed topic just do it in css

    #bbpress-forums .status-closed, #bbpress-forums .status-closed a {
    display:none;
    }

    CodingMachine
    Participant

    In the background without editing bbpress at wordpress template function, there

    Can you help me to understand your problem more Clearly

    #153563

    In reply to: 404 on Edit my post

    solosails
    Participant

    @robin-w Thanks for those, I will take a look and see if I can find anything obvious.

    I wonder if there is something as simple as using the phrase ‘reply’ that is having a clash with a post reply type?

    I tried changing the bbpress root slugs from reply to something else but it didn’t seem to solve it.

    Many thanks, A

    hanshilei
    Participant

    In the background without editing bbpress at wordpress template function, in the plug-in, bbpress at only. PHP and a few other files of the root directory, but there is no editable bbpress at template function at the bottom of the template?

    #153557
    jugoretz
    Participant

    Well, I think I’ve found a better workaround than the Network Activate Solution.

    Based on a lead from this topic from a year ago https://bbpress.org/forums/topic/missing-admin-menu-items/ , I tried activating Capability Manager Enhanced (https://wordpress.org/plugins/capability-manager-enhanced/) and surprise! There were the missing capabilities, not checked, not active, in the Capability Manager settings.

    So I just enabled all the forum-related capabilities for administrators (could do this for any role, I’m sure) in CME, and that made everything work again for the site administrators, even when bbPress is not activated network-wide.

    So that’s a much better solution (from my perspective, at least). If you want to use bbPress in multisite, just be sure to also use Capability Manager Enhanced on any site where you want the site admin to have the capability to add/edit/delete/manage forums.

    #153555

    In reply to: Change forum color

    DVDfever
    Participant

    I want to change the horrible green colour in the forum, but looking in bbpress.css, I’m getting nothing like the following which I saw on here. I’ve searched aplenty on this forum but just can’t find it. How do I change the colours, please?

    .forum a { color: white !important; }

    .bbp-forum-info { color: black !important; }

    .bbp-forum-topic-count { color: black !important; }

    .bbp-forum-reply-count { color: black !important; }

    .bbp-forum-freshness { color: black !important; }

    #153553
    jessy
    Participant

    @cubeacid: You want this: Do not allow users to publish new topics, just replies on your topics. Correct?

    1, Install plugin: WPFront User Role Editor
    2, Go to Roles => All roles => and choose Participant, it has 8 capabilities
    3, You need uncheck publish_topics and edit_topics and assign_topic_tags and delete_topic_tags
    4, with this plugin you can do it because it is built in role from plugin bbPress
    5, But, we can customize it with filter function pasted below
    6, Jast paste it into function.php and refresh the page in admin plugin WPFront User Role Editor in Participate role how magicaly capabilities are removed 🙂
    7, If the participant or regular registered user will go on topics, they will be message “You cannot create new topics.” and if user click on your own created topic, he can reply 🙂

    Paste it into functions.php

    function my_custom_get_caps_for_role_filter($caps, $role)
    {
        /* Only filter for roles we are interested in! */
        if ($role == 'bbp_participant' )
            $caps = my_custom_get_caps_for_role($role);
    
        return $caps;
    }
    add_filter('bbp_get_caps_for_role', 'my_custom_get_caps_for_role_filter', 10, 2);
    
    function my_custom_get_caps_for_role($role)
    {
        switch ($role) {
            case 'bbp_participant':
                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' => false,
                    'read_hidden_forums' => false,
                    
                    // Topic caps
                    'publish_topics' => false,
                    'edit_topics' => false,
                    'edit_others_topics' => false,
                    'delete_topics' => false,
                    'delete_others_topics' => false,
                    'read_private_topics' => false,
                    
                    // Reply caps
                    'publish_replies' => true,
                    'edit_replies' => true,
                    'edit_others_replies' => false,
                    'delete_replies' => false,
                    'delete_others_replies' => false,
                    'read_private_replies' => false,
                    
                    // Topic tag caps
                    'manage_topic_tags' => false,
                    'edit_topic_tags' => false,
                    'delete_topic_tags' => false,
                    'assign_topic_tags' => false
                );
                break;
            default:
                return $role;
        }
    }

    I have try that ad for me it works.

    #153551
    jessy
    Participant

    You are using WordPress 4 and there is a bug for bbPress forum posts.

    Install plugins:
    http://www.rewweb.co.uk/bbpress-wp4-fix
    http://www.rewweb.co.uk/bbpress-wp4-fix2/

    #153550
    jessy
    Participant

    Rewrite your theme styles with this, paste this on very bottom on style.css or into <head> tag section and wrap t with <style text/css></style>:

    #bbpress-forums p.bbp-topic-meta span {
       white-space: nowrap;
       background: none;
       border: none;
    }
    #153544
    jessy
    Participant

    Install plugin bbPress2 shortcode whitelist.

    just write string: video into that small text area

    #153543
    mannmithund
    Participant

    Awesome!

    Video is now embedded. However, if a bbpress post contains text followed by the video, the text is not displyed, only the video. In pure text posts, nothing is displayed at all…

    Any other ideas?

    – MannMitHund

    #153542
    jessy
    Participant

    Install plugin bbPress2 shortcode whitelist

    And to settings write video

    #153539
    jessy
    Participant

    Into your function.php paste this code, you will allow to Custom Post Type forum – bbPress have featured images in admin.

    add_theme_support( 'post-thumbnails', array( 'forum' ) );
    add_post_type_support('forum', 'thumbnail');
    #153536
    jessy
    Participant

    If your theme support this shortcode on posts and pages we can assume your shortcode is working fine, but bbPress is for security reasons blocking.

    Place this code into functions.php

    function jm_bbp_shortcodes( $content, $reply_id ) {
    	return video( $content );
    }
    add_filter('bbp_get_reply_content', 'jm_bbp_shortcodes', 10, 2);
    add_filter('bbp_get_topic_content', 'jm_bbp_shortcodes', 10, 2);

    Let me know if you need help.

    #153534
    jessy
    Participant

    Two solutions:

    1, Go to Settings => Forums it is settins for bbPress and just find Forum root should show and choose Topics by Freshness

    2, You need to use shortcode [bbp-single-forum id=2766]

    It is simple, create one forum and use your single forum ID, you can find it if you hover over the forum in the admin, check the bottom the link and there is the ID, replace it to your shortcode in custom page.

    If you need help, let me know.

    #153533
    mannmithund
    Participant

    Hello there

    I fail in inserting / embedding an m4v video into a forum posts. Posts show text and images as intended, but for videos, just the smart tag is shown:

    [video width="640" height="640" m4v="video.m4v"][/video]
    

    What am I doing wrong?
    I run wordpress 4 and bbpress 2.5.4

    Help is much appreciated.

    – MannMitHund

    #153530
    bee7er
    Participant

    Hi All
    Is it possible to limit the WordPress plugin bbpress to a single forum? And by-pass the forums list and go straight into the topics for the forum.

    I have checked the settings and there does not appear to be any way of doing this.

    Thanks

    #153529
    yoshimitsu1234
    Participant

    Can anyone answer my question in detail?
    How do i add featured image to a bbpress forum post from wordpress post editor page?

    #153523
    Robin W
    Moderator

    you may need to rule out other factors, as far as I know bbpress works with woocommerce eg

    bbPress WooCommerce Integration: Tutorial on How to setup a Paid Forum on WordPress

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and woocommerce 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 twentytwelve, and see if this fixes.

    #153522
    Robin W
    Moderator

    Great – presume you’re fixed if not

    Layout and functionality – Examples you can use

    #153517
    esportsstream
    Participant

    So i made a new file called bbpress-functions.php and put this into it

    <?php
    //code to add tutor role 
    
    function add_apply_role( $bbp_roles )
    {
    	/* Add a role called apply */
    	$bbp_roles['bbp_apply'] = array(
    		'name' => 'apply',
    		'capabilities' => custom_capabilities( 'bbp_apply' )
    		);
    	return $bbp_roles;
    }
     
    add_filter( 'bbp_get_dynamic_roles', 'add_apply_role', 1 );
    
    function apply_role_caps_filter( $caps, $role )
    {
    	/* Only filter for roles we are interested in! */
    	if( $role == 'bbp_apply' )
    		$caps = custom_capabilities( $role );
     
    	return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'apply_role_caps_filter', 10, 2 );
    
    function custom_capabilities( $role )
    {
    	switch ( $role )
    	{
    		 
    		/* Capabilities for 'apply' role */
    		case 'bbp_apply':
    			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'   => false,
    				'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'   => false,
     
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				'edit_others_replies'   => false,
    				'delete_replies'        => false,
    				'delete_others_replies' => false,
    				'read_private_replies'  => false,
     
    				// Topic tag caps
    				'manage_topic_tags'     => false,
    				'edit_topic_tags'       => false,
    				'delete_topic_tags'     => false,
    				'assign_topic_tags'     => true,
    			);
    			break;
     
    		default :
    			return $role;
    	}
    }
    

    I have no idea where i put this file in my site directory……

    #153514
    esportsstream
    Participant

    I am using bbpress ver 2.5.4

    This is my problem. Spectator can not post (want to change this) spectator can not see private forums (which I want to keep the same)

    Contributor can post (I do want) Can see private forums (dont want)

    This is what i want to do. I want to either make it so a spectator can post and not see private forums or I want to set it up a new default subscriber role that can post in normal forum sections but can not see or post in private sections until I turn them into contributor.

    How do I do this? I am using bbpress as a plugin for my wordpress site not on wordpress.org

    Thanks

    #153509
    Ivalde
    Participant

    The bbPress plugin is found to be in conflict with the WooCommerce plugin. When both bbPress and WooCommerce is activated, backend ends up in a complete blank page with no content, and the frontend GeoDirectory map does not load. When bbPress is then deactivated, backend is back to normal and the same also for the GeoDirectoty map which then loads.

    Is the same conflict experienced in other installations?

    Do you have an idea about what makes the problem?

Viewing 25 results - 18,101 through 18,125 (of 64,516 total)
Skip to toolbar