Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 1,076 through 1,100 (of 2,088 total)
  • Author
    Search Results
  • knaveenchand
    Participant

    Thanks for the hint provided by @Rafael. I would like to add here that in order to keep the change in tact, it is better to edit it through our functions.php file in our theme directory so that even if bbpress gets updated, our changes remain intact. So I created these two functions along add_filter functions:

    /**
     * The main forum loop. THIS IS CUSTOMISED TO ORDERBY TITLE INSTEAD OF MENU_ID
     *
     * WordPress makes this easy for us.
     *
     * @since bbPress (r2464)
     *
     * @param mixed $args All the arguments supported by {@link WP_Query}
     * @uses WP_Query To make query and get the forums
     * @uses bbp_get_forum_post_type() To get the forum post type id
     * @uses bbp_get_forum_id() To get the forum id
     * @uses get_option() To get the forums per page option
     * @uses current_user_can() To check if the current user is capable of editing
     *                           others' forums
     * @uses apply_filters() Calls 'bbp_has_forums' with
     *                        bbPres::forum_query::have_posts()
     *                        and bbPres::forum_query
     * @return object Multidimensional array of forum information
     */
    function mybbp_has_forums( $args = '' ) {
    	$bbp = bbpress();
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Check if user can read private forums
    	if ( current_user_can( 'read_private_forums' ) )
    		$post_stati[] = bbp_get_private_status_id();
    
    	// Check if user can read hidden forums
    	if ( current_user_can( 'read_hidden_forums' ) )
    		$post_stati[] = bbp_get_hidden_status_id();
    
    	// The default forum query for most circumstances
    	$defaults = array (
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_parent'    => bbp_is_forum_archive() ? 0 : bbp_get_forum_id() ,
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$bbp_f = bbp_parse_args( $args, $defaults, 'has_forums' );
    
    	// Run the query
    	$bbp->forum_query = new WP_Query( $bbp_f );
    
    	return apply_filters( 'mybbp_has_forums', $bbp->forum_query->have_posts(), $bbp->forum_query );
    }
    add_filter('bbp_has_forums','mybbp_has_forums');
    
    //this is CUSTOMIZED to just get the subforums ordered by title instead of menu_id
    
    function myybbp_forum_get_subforums( $args = '' ) {
    
    	// Use passed integer as post_parent
    	if ( is_numeric( $args ) )
    		$args = array( 'post_parent' => $args );
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Super admin get whitelisted post statuses
    	if ( is_super_admin() ) {
    		$post_stati = array( bbp_get_public_status_id(), bbp_get_private_status_id(), bbp_get_hidden_status_id() );
    
    	// Not a super admin, so check caps
    	} else {
    
    		// Check if user can read private forums
    		if ( current_user_can( 'read_private_forums' ) ) {
    			$post_stati[] = bbp_get_private_status_id();
    		}
    
    		// Check if user can read hidden forums
    		if ( current_user_can( 'read_hidden_forums' ) ) {
    			$post_stati[] = bbp_get_hidden_status_id();
    		}
    	}
    
    	$defaults = array(
    		'post_parent'    => 0,
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$r = bbp_parse_args( $args, $defaults, 'forum_get_subforums' );
    	$r['post_parent'] = bbp_get_forum_id( $r['post_parent'] );
    
    	// No forum passed
    	$sub_forums = !empty( $r['post_parent'] ) ? get_posts( $r ) : '';
    
    	return apply_filters( 'mybbp_forum_get_sub_forums', (array) $sub_forums, $args );
    }
    add_filter('bbp_forum_get_sub_forums','mybbp_forum_get_sub_forums');
    

    This may not be elegant solution but it saves us from the annoying impacts on bbpress updates.

    I would love to hear from developers on this forum on how best this can be implemented without copy-pasting the entire function just to change one small variable and then giving it a new function name and then adding filters. Is there a better way, friends?

    #124412
    mrlosh
    Participant

    My Russian localization got messed up once I upgraded to bbPress 2.2.3. The admin panel is in English again and some breadcrumbs on the front-end are in English. I have the .mo and .po files in /wp-content/languages/bbpress as instructed, downloaded the latest files as well, no dice. Any idea what needs to be done or when the updated files will be available? спасибо!

    #124373
    WebSharks
    Participant

    Thanks to everyone for reporting this compatibility issue between s2Member and bbPress v2.2+.

    I’m Jason Caldwell, a developer over here at s2Member.com.

    The latest release of s2Member includes a fix for this compatibility issue.

    (s2Member/s2Member Pro) Compatiblity.
    Updated to support Dynamic Roles introduced in bbPress® v2.2. Discussed in this thread. Also see changelog: http://www.s2member.com/changelog/#s2-changes-v121201

    Please let us know through the forums at s2Member.com if you have any further trouble. Thanks again!

    #123086
    erwinodendaal
    Participant

    I have the “Members”-plugin installed. After updating bbPress and changing all roles of the users from “(wordpress-)”participants” into “subscribers”, the “participant”-roles of bbPress were empty. Now all subscribers can participate in the private forums. Not what I’ve had in mind…

    But in my functions.php I have a script to notify users of their updated capabilities. It starts with:
    function user_role_update( $user_id, $new_role ) {
    if($new_role == 'bbp_participant') {

    But that doesn’t seem to work anymore. Did the name of the bbPress participant role change? Will
    function user_role_update( $user_id, $new_role ) {
    if($new_role == 'participant') {

    work?

    #122831
    tjtate
    Participant

    updated list as of 2.2:

     

    $defaults = array(

     

    // HTML

    ‘before’          => ‘<div class=”bbp-breadcrumb”><p>’,

    ‘after’           => ‘</p></div>’,

     

    // Separator

    ‘sep’             => __( ‘&rsaquo;’, ‘bbpress’ ),

    ‘pad_sep’         => 1,

    ‘sep_before’      => ‘<span class=”bbp-breadcrumb-sep”>’,

    ‘sep_after’       => ‘</span>’,

     

    // Crumbs

    ‘crumb_before’    => ”,

    ‘crumb_after’     => ”,

     

    // Home

    ‘include_home’    => $pre_include_home,

    ‘home_text’       => $pre_front_text,

     

    // Forum root

    ‘include_root’    => $pre_include_root,

    ‘root_text’       => $pre_root_text,

     

    // Current

    ‘include_current’ => $pre_include_current,

    ‘current_text’    => $pre_current_text,

    ‘current_before’  => ‘<span class=”bbp-breadcrumb-current”>’,

    ‘current_after’   => ‘</span>’,

    );

    pulled from bbpress/includes/common/template-tags.php

     

    setup your args and pass them to the bbp_breadcrumb function 

    #122820
    Jennifer M. Dodd
    Moderator

    You need to upgrade BuddyPress to version 1.6.2.

    You’ll find more support for this problem on the BuddyPress forums at https://buddypress.org/support/.

    #122739
    AboudiePalisoc
    Participant

    Now I can’t open my site. I know this is my fault, but i’ve been wroking on it for a couple of hours now to fix the problem but i still get the same message 🙁

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/apalisoc/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 176 and defined in /home/apalisoc/public_html/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/apalisoc/public_html/wp-content/plugins/buddypress/bp-core/bp-core-options.php on line 293 and defined in /home/apalisoc/public_html/wp-includes/wp-db.php on line 990

    Looking at these file, seems like the old buddypress is not compatible ith 3.5 wordpress. What should I do to fix this?

    #122699

    In reply to: bbPress 2.2.3 Released

    DearWendy
    Participant

    I use bbpress plugins for the forums on my website, http://www.DearWendy.com. Since Monday morning when I updated to WordPress 3.5 and bbPress 2.2.3, my forums are not working properly. When logged in as an admin, they work fine for me, but anyone else who tried to post a message gets a 404 error. I’m pretty ignorant about these issues and have not been able to figure out hot to troubleshoot. Is there anyone who can help me?! Please??

    #122623
    Destillator
    Participant

    Ok, some more information: I’ve updated WP and BBpress. Reverting BBpress back to version 2.1.2 brings back the forums but removes the BBpress custom post types in the admin-menu.

    Removing the folder “bbp-theme-compat” from version 2.1.2 results in the same view as that of 2.2.3: the page shows but without the forum.

    The template used is a child-template of Twenty-Ten, so there’s nothing too exotic about that. Any suggestions? I’ve found https://bbpress.org/forums/topic/bbpress-2-0-theme-compatibility/ but the described folder-structure is not present in BBpress version 2.2.3.

    #122609
    Markus Pezold
    Participant

    Hi John,

    in my situation is the correct version not the problem.
    The original forum is on version 1.1 since months. And updated to 1.2 yesterday.
    It’s an old forum (since 2002) – migrated to bbPress 0.9 and then 1.0 -> 1.1.
    Since May 2011 the forum was deactivated – after some problems with an user. 🙁

    Hmmm… I think the problem may lie in the fact that the forum has a lot of anonymous posters. In 0.9 there was an plugin for anonymous posters with meta data. But in version >0.9 these posts were all anonoymous posts without an user.

    I’ll test the convertion on a blank installation of WordPress 3.5 today (without any other plugins). And the i’ll report again.

    By the way. JJJ – carry on with your great work on bbPress. 🙂

    Kyle Burnett
    Participant

    i am using another plugin (codepress admin columns) that calls do_action(‘load-edit.php’) to load all the plugins to get some info – namely custom columns. since and update to both – which, ironically both updated today – i get this error:

    Fatal error: Call to undefined method stdClass::add_help_tab() in /home/content/…/wp-content/plugins/bbpress/includes/admin/forums.php on line 118

    And if I get past that error, it’s the same thing for admin/topics.php and admin/replies.php.

    What I have traced it to is this:

    private function bail() {
    if ( !isset( get_current_screen()->post_type ) || ( $this->post_type != get_current_screen()->post_type ) )
    return true;

    return false;
    }

    For some reason bail() is not bailing. I – the user – am on options-general.php?page=codepress-admin-columns, and yet bail() thinks the current screen’s post type is ‘forum’ (or topic or reply).

    I’m thinking this is a naming convention problem? Why else would get_current_screen return as a ‘forum’ post_type when I’m no where near the forum – I’m just loading it to read some data.

    Thanks for any info.

    #122547

    In reply to: bbPress 2.2.3 Released

    did you updated the permalinks?

    #122446
    Ardibee
    Participant

    Any news on this? Like Sydney designer I see no bb-Config file, even when following the new, updated Labsecrets video and I’m getting the same error as Sydney Designer… No obvious way to add a forum within a group and the ‘add topic’ button does nothing. Am using a clean CBOX install. Thanks!

    #121459

    @greenshady – Thanks for chiming in. Your Members plugin has always been our go-to while we sorted out Role/Capability issues in bbPress core.

    Since 2.0, getting them dialed in and playing nicely with WordPress and Multisite has been a challenge. Creating update scripts for new functionality has a tendency to leave things in a semi-broken state, with some sites behaving, others not so much, and leaving users of bbPress powered communities sometimes wondering why certain functionalities of their accounts don’t work anymore.

    Also, why can’t a blog Editor also be a Forum moderator? These are problems that should be solved with multiple roles, not with mapped blanket ‘moderator’ super capabilities like we tried to do previously.

    I can’t say that storing roles and capabilities in the database is the entire problem, but moving to a dynamic setup like we have now all but eliminates the issues we’ve had the past year or so.

    I appreciate you investigating things and updating Members. I haven’t had a chance to check out the updated version, but I have about a million feature requests for it. 🙂

    #121455

    Topic: Translation in Glot

    in forum Plugins
    Jan-Willem
    Participant

    Hi I was wondering what version of bbPress is in the GlotPress (here) I’m pretty sure it’s behind.

    I’m trying to complete the Dutch one but in the reference files I see its referencing wrong (thus old?) folders like `bb-admin` instead of `admin`.

    Also when using the `.pot` file that comes with bbPress it shows 952 strings while an exported version from the glot only shows 927 strings.

    Is there any indication when the Glot gets updated? If it does get updated soon I will complete the Dutch Translation.

    #121447
    LabSecrets
    Participant

    Hey guys,

    we’ve updated the video guide for bbPress 2.2.2 and BuddyPress 1.6.1 as there have been some significant and valuable additions. Have a peek if you need it: http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Cheers!

    spence

    #121446
    LabSecrets
    Participant

    If you are struggling with this, don’t worry, we have you covered. Please see our updated video called “The Definitive Guide to BuddyPress and bbPress Configuration”. We’ve updated it for bbPress 2.2.2 and bbPress 1.6.1

    http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Cheers!

    spence

    #121445
    LabSecrets
    Participant

    It might be worth your while to view our latest (updated) video guide for configuring BuddyPress & bbPress, as it goes into some of the differences and features that have arrived with 2.2.2 and BuddyPress 1.6.1

    http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Cheers!

    spence

    #121407
    LabSecrets
    Participant

    What is your site url? I can give you some suggestions on where to place the code for a login-box so it shows up on the top of a page.

    Also, if you prefer, you can build your forum site index using shortcode / page method… this would give you flexibility of having your default theme sidebar, etc. available to you.

    Not sure? Check out our updated step by step guide that covers the two methods for creating a forum index page:

    http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Cheers!

    spence

    #121399
    LabSecrets
    Participant

    Justin,

    Kudos for the quick update! We’ve found the Members plugin to be an indispensable tool when used in combination with bbPress and even BuddyPress / WooCommerce (subscriptions). Previously we used the role management to make subscription sites possible with members-only support forums.

    After reading your post, and on the suggestion of JJJ, we updated our step by step guide to configuring bbPress 2.2.2 & BuddyPress 1.6.1, and included a special reference to using the Members plugin to solve those situations where one needs a “special” mix of the roles and capabilities between WP and bbP.

    Have a peek if yo have the time:

    The Definitive Guide To BuddyPress & bbPress Configuration

    Direct link to video: http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Keep up the great work! 😉

    Cheers!

    spence

    #121394
    LabSecrets
    Participant

    For this you should consider using the Members plugin from Justin Tadlock, to create a unique WP role for the users whom you wish to have “special” access. Then you can differentiate their capabilities within the unique WP role (or use one of the default WP roles).

    Confused?… don’t worry, it’s all new. bbPress now has unique and definitive roles and capabilities from those of WP. But this can be used to your advantage if you have a few tricks up your sleeve 😉

    I cover this at the end of the updated Definitive Guide to BuddyPress and bbPress. See if this helps? Let me know if you need further help?

    http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    Cheers!

    Spence

    #121294
    LabSecrets
    Participant

    Hi Guys,

    we’re happy to say that an UPDATED video has just been released that covers all aspects of bbPress 2.2.2 and BuddyPress 1.6.1, including:

    http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    – Installation of bbPress as the BuddyPress Group Forums
    – Turning off BuddyPress Forums
    – BuddyPress settings in Settings/Forums
    – Pitfalls to avoid during installation and setup
    – Roles and Capabilities (both for WP and bbPress)
    – Use of the Membership Plugin (Justin Tadlock) and bbPress Tools for legacy members
    – Child Themes and bbPress
    – Two ways to setup a bbPress forum index page and make it a landing page of your site
    ….and much, much more.

    This is a WHOPPER … clocking in at 29:00, but I GUARANTEE it will help solve many of the questions and issues that folks have been having with the new combination of bbPress & BuddyPress.

    If anyone has any questions, please post them here, or you are welcome to post them to our forum at LabZip.com if they are not directly related to bbPress alone.

    Cheers!

    Spence

    #121281
    SydneyDesigner
    Participant

    Thanks for confirming the bug Spence – I’ll post a bug report with bbPress.

    And I look forward to your updated video…

    #121266
    LabSecrets
    Participant

    aaclayton, couple things:

    1) Justin Tadlock just updated Members plugin to address the fatal error warning. Should work now.

    2) If you have custom WP roles, we’ve found you can use Members plugin (Role Editor) to add the appropriate capability to an existing custom role. Participate and Spectate being the relevant capabilities for most visitors. This is how we gracefully merge WooCommerce (which has default role of “Customer”) with bbPress. We modify the Customer Role to add “participate” to it, so that anyone who visits site and purchases as a customer or registers free with WP (because we’ve set this as our our default role for WP under General/Settings) has the ability to post to bbPress.

    #121203
    xmasons
    Participant

    Previously, if we wanted to modify the roles and capabilities of end users, we would use one of the several plugin offerings. With the folding of roles into bbPress changing those capabilities and access, it seems as if our pervious granular control is now removed. I understand the reasons, and I’m also feeling quite hamstrung on my choices.

    Previously I had two user levels that are similar to the updated Participant role. One allowed for addition and edits of publicly available forums. The second one allowed for not only publicly available forums, but also private ones as well. The new Participant role fills that latter role, but now I no longer have the user identity for the former role.

    It appears that I can’t change the capabilities of the bundled roles, nor am I able to create new roles that will play nice with bbPress. What are my options around this? Will there be tools to add new roles or change the capabilities?

    Thanks for any input.

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