Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 11,801 through 11,825 (of 64,496 total)
  • Author
    Search Results
  • #173728
    semperaye
    Participant

    Yes! But not that code! 🙂

    Here is what worked:

    `@media screen and (min-width: 980px) {
    /* This is the width of the forum content area */
    .bbpress #content {
    max-width: 95%;
    }
    /* This is the width of the forum list */
    .bbpress #primary {
    width: 66.6666%;
    /* border: 1px solid red; */
    }
    /* This is the width of the forum list */
    .bbpress #secondary {
    width: 33.3333%;
    /* border: 1px solid blue; */
    }
    /* Center the contents of the sidebar */
    .bbpress #secondary aside {
    margin: 0 auto;
    display: table;
    }
    }

    #173724
    uschesch
    Participant

    Thank you!!

    I removed the customized code from the template.php file in the wp-content/plugins/bbpress/includes/common folder – copied the template.php file into my theme’s bbpress folder, and then readded the custom code to the file.

    I now see the subscribe link. It does appear at the bottom of the page though instead of in the breadcrumbs.

    Really appreciate your help!

    Thank you.

    #173720

    In reply to: Languages in bbPress

    kuldeep12
    Participant

    Hello

    i am using wpml to translate language in my site, i need to translate BBPRESS plugin with wpml
    can anyone let me know how can i do this , i didn’t find any wpml addon for wpml.I need 3 language in site i.e EN,RU and LV. please reply me asap

    #173719
    Pascal Casier
    Moderator

    Argh !
    Please never change directly the bbPress files. At the next update you will loose your work.

    If you want to change files, you can refer to the codex (like on this page: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/)

    But if you want to keep it easy, check out my bbP-Toolkit plugin where you can customize your breadcrumbs or if this is the only customization you want to do, check out https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#4-turning-off-or-changing-breadcrumbs

    Pascal.

    #173701
    Pascal Casier
    Moderator

    Hi,

    First of all, the /forums is indeed the default that comes out. Handy, no ? 🙂

    For the width, this is fully WordPress and the theme you have chosen, so bbPress just adapts to it.
    I would propose that you ask on the global WordPress support forum for that.

    Pascal.

    #173700

    In reply to: How to add a sidebar

    ugarnono01
    Participant

    Thanks Pascal. Unfortunately I am not that great with code so not sure what needs changing as its not in plain English. I have a sidebar already called ‘Forum’ Just can’t get it to show on bbpress.

    #173699
    semperaye
    Participant

    Firstly, I have no idea what I’m doing as I am very new at this, and everything that I’ve done on this site has come at great trial and error. I think I might have a weird bbpress forum setup because I never had to create a new page and paste in the forum shortcode, the forums where just their at /forums from the start….I have no idea why but anyway here is my issue:

    If you look at the page: http://www.salamatphilippines.com/forums/

    I have a 1920×1080 monitor and when I “dock” the forum page to the right of my screen in windows 10, the page looks fine, the forums are expectedly small considering it’s half the screen. Now, when one tries to maximize the browser window to 1920 or w/e it is, the forums remain just as small as they were when the screen was docked. I think this means the page is not acting responsive? I don’t know…

    I have a feeling this might not be the fault of bbpress, and maybe it’s the fault of the sidebar’s formatting. It’s like the page is fixed width with a side bar. I do need the sidebars, because of the maps for each region under my regions forum. Is there a way to fix this? Suggestions?

    Thank you for your time!

    #173698

    In reply to: How to add a sidebar

    Pascal Casier
    Moderator
    #173694
    munkitkat
    Participant

    BbPress Version 2.5.8 is the best. I am using it!

    #173680
    Pascal Casier
    Moderator

    Nice to see people solve their own issues 🙂

    Enjoy bbPress.

    #173673

    In reply to: Hide User Role

    tech55541
    Participant

    Hello,
    Please try this CSS code.

    #bbpress-forums div.bbp-forum-author .bbp-author-role, #bbpress-forums div.bbp-topic-author .bbp-author-role, #bbpress-forums div.bbp-reply-author .bbp-author-role {
    display: none;
    }

    Thanks.

    #173671
    talhawp
    Participant

    I tried the following steps without any success:

    1- Upgraded to bbPress 2.6

    2- Removed sub-forums

    3- Emptied Trash/Spam Topics and Replies through admin panel. This took me 3 days! Around 25% of 0.5 million posts were removed

    4- Repaired Forums by going through every single option

    5- Optimized WordPress Database through wp-optimize plugin

    6- Changed theme to WordPress default Twenty Sixteen theme

    7- Deactivated all the plugins except bbPress

    The site works for few minutes then crashes. My WordPress itself has around 30K posts and 400K comments, not sure if this is causing the issue.

    The whole bbPress 1.x worked perfectly for 7 years, then only issue was that the cookies and single sign between WP and bbPress had become incompatible due to newer WP versions.

    Can anyone suggest anything else that I can try?

    tech55541
    Participant

    Hello,
    It was hard, but I and another member on a private dev forum were able to figure it out. What tripped us up was this.
    https://bbpress.trac.wordpress.org/ticket/2685
    Can’t believe this has not been fixed in core yet.

    Anyway, here is my full solution. All you have to do is add this code to functions.php.

    /*Customize the BBPress roles to allow Participants to trash topics*/
    add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 999, 2 );
    
    function ST_add_role_caps_filter( $caps, $role ){
    if( $role == bbp_get_participant_role() || $role == "default" ) {
    
    	$new_caps = 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'         => true,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => false,
    
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => true,
                    '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,
                );	
    
    	}
    
        return $new_caps;
    }
    /*Fixes an issue that only allows mods to trash topics.
    https://bbpress.trac.wordpress.org/changeset/5852
    https://bbpress.trac.wordpress.org/ticket/2685*/
    
    add_filter( 'bbp_map_reply_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    
    // tweak for replies
    function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
    
    	// apply only to delete_reply and delete_topic
    	if ( $cap == "delete_reply" || $cap == "delete_topic" ){
    		// Get the post
    		$_post = get_post( $args[0] );
    		if ( !empty( $_post ) ) {
    
    			// Get caps for post type object
    			$post_type = get_post_type_object( $_post->post_type );
    			$caps      = array();
    
    			// Add 'do_not_allow' cap if user is spam or deleted
    			if ( bbp_is_user_inactive( $user_id ) ) {
    				$caps[] = 'do_not_allow';
    
    			// Moderators can always edit forum content
    			} elseif ( user_can( $user_id, 'moderate' ) ) {
    				$caps[] = 'moderate';
    
    			// User is author so allow edit if not in admin
                } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps[] = $post_type->cap->delete_posts;
    
    			// Unknown so map to delete_others_posts
    			} else {
    				$caps[] = $post_type->cap->delete_others_posts;
    			}
    		}
    
    	}
    	// return the capabilities
    	return $caps;
    }

    I suppose this was the correct way to do it @casiepa?

    Thanks.

    #173665
    uschesch
    Participant

    Hi Pascal,

    Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.

    I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common

    // Add the breadcrumb
    // $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
    $crumbs[] = ‘Dynaman Community Forum‘;

    instead of the standard code, which is:

    // Add the breadcrumb
    // $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;

    #173660
    uschesch
    Participant

    Hi Pascal,

    Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.

    I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common

    // Add the breadcrumb
    			// $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
    			$crumbs[] = '<a href="/wordpress/dynaman-community-forum/">Dynaman Community Forum</a>';

    instead of the standard code, which is:

    // Add the breadcrumb
    // $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
    #173659
    aaachiaki
    Participant

    I only had about 10 plugins running. I closed down everything but BBPress, your toolkit, and a simple “under construction” page. No white/blacklisting that I know of…

    Re-ran, gave the same issue:

    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key, meta_value) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    Herve ARNAUD
    Participant

    Happy to see that bbPress team start to think about fixing this HUGE problem… which makes bbPress almost useless if you’re a bit concerned by the experience you provide to your users, by the crawling and indexation problematic, by the semantic architecture of your website and by the search engine optimization.

    This fix could be a “game changer”.

    I don’t have abilities for helping the community on that part, but I deeply encourage everyone who take this challenge.

    #173653
    uschesch
    Participant

    I have installed bbPress (2.5.8) with WordPress 4.4.2. In the forum settings, I’ve selected the option to allow users to subscribe to a forum or a topic. In the forums that I created, I see the Subscribe button on topics, but I do not see options at the forum level for users to subscribe to the forum. Is there something else I need to do in order to implement subscriptions at the forum level?

    Thank you.

    #173652
    Pascal Casier
    Moderator

    Multiple possibilities:
    1) Install my ‘bbP Toolkit’ plugin
    2) Check Robin’s ‘bbp style pack’ plugin
    3) See the codex : https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#1-change-how-the-forum-list-displays

    Pascal.

    #173649
    zorog
    Participant

    Hi, I have read the several forums surrounding warp 7 and yootheme issues with getting it to work with bbpress. I have a yootheme wordpress theme installed and would like to use the bbpress plugin. However my userprofile and edit profile pages are blank when linked or throw up a

    /home/../public_html/../wp-content/themes/yoo_sun_wp/styles/Themename/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/systems/wordpress/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/layouts] in /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/src/Warp/Helper/TemplateHelper.php on line 53″

    I have already installed the suggested plugin fixes
    bbpress wp4 fix
    bbpress wp4 fix2

    I have also copied the “bbpress” & “extra” directories to the child theme folder as suggested.

    I would be grateful for any help or suggestions to try and get this to work.

    Many thanks

    Michael

    #173645
    Brandon Olivares
    Participant

    Hello,

    I just installed BBPress. I created a forum, and there’s a topic in the forum, but when I go to the forum, it says:

    This forum is empty.

    And it doesn’t show within the theme, so I’m assuming there is some sort of error.

    Here’s the page:

    http://cocreationcoaching.org/forums/forum/spiritual-coach-training-level-i/

    The topic display works, and the forum index, but not when I try to view a forum. Any idea why this might be happening?

    #173643
    perkiins
    Participant

    I have my forum like this:

    Games
    Game 1(0,0),Game 2(0,0),Game 3(0,0)

    Other
    Other 1(0,0),Other 2(0,0),Other 3(0,0)

    I need my forum to be this way:

    Games

    • Game 1
    • Game 2
    • Game 3

    Other

    • Other 1
    • Other 2
    • Ohter 3

    WHAT I DO I NEED HELP, I NEED A GROUP OF FORUMS… BUT WITH THIS STRUCTURE ITS IMPOSIBLE… Help what I do?

    #173637
    mica123
    Participant

    Hello,

    Is there any way to have private messaging in bbPress?
    This is very much needed.
    Hope you can help.

    dtmember
    Participant

    Hi, I just add the bbpress search code posted above by robkk, and it works too fine Some private topics are also show up. How could I use this search function but not include the private topic. Or maybe it could only shows the topic name but not content. Thanks

    Is there anyone might able to solve this?

    #173633

    Topic: Sidebar

    in forum Showcase
    johnzoro
    Participant

    Not sure if this is the right place.

    On my normal pages in wordpress I have the option of using full width or having a sidebar.

    Is there this option on bbpress or do you need to create a page, then post shortcode then modify that page to full width?

Viewing 25 results - 11,801 through 11,825 (of 64,496 total)
Skip to toolbar