Skip to:
Content

BuddyPress.org

Ticket #768: ticket_768.diff

File ticket_768.diff, 4.0 KB (added by coto, 15 years ago)
  • bp-core.php

     
    3838require ( BP_PLUGIN_DIR . '/bp-core/bp-core-notifications.php' );
    3939
    4040if ( !defined( 'BP_DISABLE_ADMIN_BAR') )
    41         require ( 'bp-core/bp-core-adminbar.php' );
     41        require ( BP_PLUGIN_DIR . '/bp-core/bp-core-adminbar.php' );
    4242
    4343/* Define the slug for member pages and the members directory (e.g. domain.com/[members] ) */
    4444if ( !defined( 'BP_MEMBERS_SLUG' ) )
  • bp-forums.php

     
    1111require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-filters.php' );
    1212
    1313if ( is_admin() )
    14         require ( 'bp-forums/bp-forums-admin.php' );
     14        require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-admin.php' );
    1515
    1616function bp_forums_setup() {
    1717        global $bp, $bbpress_live;
  • bp-loader.php

     
    1616 * of the components have been activated on the "BuddyPress" admin menu.
    1717 */
    1818
    19 require_once( 'bp-core.php' );
     19require_once( WP_PLUGIN_DIR . '/buddypress/bp-core.php' );
    2020$deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) );
    2121
    2222/* Activity Streams */
    2323if ( !isset( $deactivated['bp-activity.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-activity.php') )
    24         include( 'bp-activity.php' );
     24        include( BP_PLUGIN_DIR . '/bp-activity.php' );
    2525
    2626/* Blog Tracking */
    2727if ( !isset( $deactivated['bp-blogs.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-blogs.php') )
    28         include( 'bp-blogs.php' );
     28        include( BP_PLUGIN_DIR . '/bp-blogs.php' );
    2929
    3030/* bbPress Forum Integration */
    3131if ( !isset( $deactivated['bp-forums.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-forums.php') )
    32         include( 'bp-forums.php' );
     32        include( BP_PLUGIN_DIR . '/bp-forums.php' );
    3333
    3434/* Friend Connections */
    3535if ( !isset( $deactivated['bp-friends.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-friends.php') )
    36         include( 'bp-friends.php' );
     36        include( BP_PLUGIN_DIR . '/bp-friends.php' );
    3737
    3838/* Groups Support */
    3939if ( !isset( $deactivated['bp-groups.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-groups.php') )
    40         include( 'bp-groups.php' );
     40        include( BP_PLUGIN_DIR . '/bp-groups.php' );
    4141
    4242/* Private Messaging */
    4343if ( !isset( $deactivated['bp-messages.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-messages.php') )
    44         include( 'bp-messages.php' );
     44        include( BP_PLUGIN_DIR . '/bp-messages.php' );
    4545       
    4646/* Wire Support */
    4747if ( !isset( $deactivated['bp-wire.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-wire.php') )
    48         include( 'bp-wire.php' );
     48        include( BP_PLUGIN_DIR . '/bp-wire.php' );
    4949
    5050/* Extended Profiles */
    5151if ( !isset( $deactivated['bp-xprofile.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-xprofile.php') )
    52         include( 'bp-xprofile.php' );
     52        include( BP_PLUGIN_DIR . '/bp-xprofile.php' );
    5353
    5454?>
     55 No newline at end of file
  • bp-messages.php

     
    77if ( !defined( 'BP_MESSAGES_SLUG' ) )
    88        define ( 'BP_MESSAGES_SLUG', 'messages' );
    99
    10 require ( 'bp-messages/bp-messages-classes.php' );
    11 require ( 'bp-messages/bp-messages-ajax.php' );
    12 require ( 'bp-messages/bp-messages-cssjs.php' );
    13 require ( 'bp-messages/bp-messages-templatetags.php' );
    14 require ( 'bp-messages/bp-messages-filters.php' );
     10require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-classes.php' );
     11require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-ajax.php' );
     12require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-cssjs.php' );
     13require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-templatetags.php' );
     14require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-filters.php' );
    1515
    1616/**************************************************************************
    1717 messages_install()