Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @giannis4

    Participant

    Thank you for all your great work!

    I think the number one problem is the UI. Most people install BuddyPress on their or a default theme and the result is not pretty.

    This deters most people and makes them look for other solutions.

    A BuddyPress theme that looks modern and nice would be a great addition. If it is too much trouble, it might even be a list of 3rd party themes endorsed by BuddyPress.

    A notice for users to use a BuddyPress endorsed theme after they install the plugin would solve that problem.

    Statistics
    Most community owners need data for their communities. Having analytics on their member engagement and other statistics would be of huge value to them.

    Plugin Directory
    Furthermore, I would like a plugin directory for BuddyPress related plugins. Us BuddyPress developers would love to have a place to showcase our plugins, and also, the users would have a place to look for extensions easier.

    BuddyPress developers/agencies
    Many times users need help with their sites, but they do not know where to turn to. Having a list of approved/certified BuddyPress developers/agencies would be a big help to them.

    Thanks again.

    @giannis4

    Participant

    I found the problem and fix. First, the problem happened because when a reply was deleted it did not refresh the ‘menu_order’ value of the other replies that is used to calculate the reply’s page in its permalink.

    To fix this I have added a hook to bbp_delete_reply action that resets the menu order of all replies that belong to the same topic as the deleted reply. This refreshes there menu order and the permalinks show the correct URL.

    The code:

    
    function gkco_reset_all_topic_replies_link_on_reply_delete( $reply_id ) {
        global $wpdb;
    
        // Reset all topic's replies menu_order
        $sql = sprintf( 'UPDATE ' . $wpdb->posts . ' SET menu_order = 0 WHERE post_parent = %d AND post_type = "reply"', bbp_get_topic_id() );
    
        $result = $wpdb->query( $sql );
    }
    add_action( 'bbp_delete_reply', 'gkco_reset_all_topic_replies_link_on_reply_delete' );
    

    @giannis4

    Participant

    I found out that the Group component class gives you the opportunity to override the default ‘home’ subnav either by using the BP_GROUPS_DEFAULT_EXTENSION constant or by using the bp_groups_default_extension filter.

    I could not find anything like this for the Activity component.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar