Changeset 1416
- Timestamp:
- 04/27/2009 03:55:00 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity.php
r1366 r1416 12 12 define ( 'BP_ACTIVITY_CACHE_LENGTH', '6 HOURS' ); 13 13 14 require ( 'bp-activity/bp-activity-classes.php' );15 require ( 'bp-activity/bp-activity-templatetags.php' );16 require ( 'bp-activity/bp-activity-widgets.php' );17 require ( 'bp-activity/bp-activity-cssjs.php' );18 require ( 'bp-activity/bp-activity-filters.php' );14 require ( BP_PLUGIN_DIR . '/bp-activity/bp-activity-classes.php' ); 15 require ( BP_PLUGIN_DIR . '/bp-activity/bp-activity-templatetags.php' ); 16 require ( BP_PLUGIN_DIR . '/bp-activity/bp-activity-widgets.php' ); 17 require ( BP_PLUGIN_DIR . '/bp-activity/bp-activity-cssjs.php' ); 18 require ( BP_PLUGIN_DIR . '/bp-activity/bp-activity-filters.php' ); 19 19 20 20 -
trunk/bp-blogs.php
r1398 r1416 8 8 define ( 'BP_BLOGS_SLUG', 'blogs' ); 9 9 10 require ( 'bp-blogs/bp-blogs-classes.php' );11 require ( 'bp-blogs/bp-blogs-cssjs.php' );12 require ( 'bp-blogs/bp-blogs-templatetags.php' );13 require ( 'bp-blogs/bp-blogs-widgets.php' );14 require ( 'bp-blogs/bp-blogs-ajax.php' );10 require ( BP_PLUGIN_DIR . '/bp-blogs/bp-blogs-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-blogs/bp-blogs-cssjs.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-blogs/bp-blogs-templatetags.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-blogs/bp-blogs-widgets.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-blogs/bp-blogs-ajax.php' ); 15 15 16 16 -
trunk/bp-core.php
r1414 r1416 29 29 30 30 /* Load the files containing functions that we globally will need. */ 31 require ( 'bp-core/bp-core-catchuri.php' );32 require ( 'bp-core/bp-core-classes.php' );33 require ( 'bp-core/bp-core-cssjs.php' );34 require ( 'bp-core/bp-core-avatars.php' );35 require ( 'bp-core/bp-core-templatetags.php' );36 require ( 'bp-core/bp-core-settings.php' );37 require ( 'bp-core/bp-core-widgets.php' );38 require ( 'bp-core/bp-core-ajax.php' );39 require ( 'bp-core/bp-core-notifications.php' );31 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-catchuri.php' ); 32 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-classes.php' ); 33 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-cssjs.php' ); 34 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-avatars.php' ); 35 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-templatetags.php' ); 36 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-settings.php' ); 37 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-widgets.php' ); 38 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-ajax.php' ); 39 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-notifications.php' ); 40 40 41 41 if ( !defined( 'BP_DISABLE_ADMIN_BAR') ) … … 238 238 return false; 239 239 240 require ( 'bp-core/bp-core-admin.php' );240 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-admin.php' ); 241 241 242 242 /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */ -
trunk/bp-forums.php
r1366 r1416 7 7 define ( 'BP_FORUMS_PARENT_FORUM_ID', 1 ); 8 8 9 require ( 'bp-forums/bp-forums-bbpress-live.php' );10 require ( 'bp-forums/bp-forums-templatetags.php' );11 require ( 'bp-forums/bp-forums-filters.php' );9 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-bbpress-live.php' ); 10 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-templatetags.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-filters.php' ); 12 12 13 13 if ( is_admin() ) -
trunk/bp-friends.php
r1408 r1416 8 8 define ( 'BP_FRIENDS_SLUG', 'friends' ); 9 9 10 require ( 'bp-friends/bp-friends-classes.php' );11 require ( 'bp-friends/bp-friends-ajax.php' );12 require ( 'bp-friends/bp-friends-cssjs.php' );13 require ( 'bp-friends/bp-friends-templatetags.php' );10 require ( BP_PLUGIN_DIR . '/bp-friends/bp-friends-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-friends/bp-friends-ajax.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-friends/bp-friends-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-friends/bp-friends-templatetags.php' ); 14 14 15 15 /************************************************************************** … … 521 521 522 522 // Send the email notification 523 require_once( 'bp-friends/bp-friends-notifications.php' );523 require_once( BP_PLUGIN_DIR . '/bp-friends/bp-friends-notifications.php' ); 524 524 friends_notification_new_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id ); 525 525 … … 582 582 583 583 // Send the email notification 584 require_once( 'bp-friends/bp-friends-notifications.php' );584 require_once( BP_PLUGIN_DIR . '/bp-friends/bp-friends-notifications.php' ); 585 585 friends_notification_accepted_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id ); 586 586 -
trunk/bp-groups.php
r1408 r1416 8 8 define ( 'BP_GROUPS_SLUG', 'groups' ); 9 9 10 require ( 'bp-groups/bp-groups-classes.php' );11 require ( 'bp-groups/bp-groups-ajax.php' );12 require ( 'bp-groups/bp-groups-cssjs.php' );13 require ( 'bp-groups/bp-groups-templatetags.php' );14 require ( 'bp-groups/bp-groups-widgets.php' );15 require ( 'bp-groups/bp-groups-filters.php' );10 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-ajax.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-templatetags.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-widgets.php' ); 15 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-filters.php' ); 16 16 17 17 … … 150 150 global $wpdb, $bp; 151 151 152 require ( 'bp-groups/bp-groups-admin.php' );152 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-admin.php' ); 153 153 154 154 /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */ … … 1748 1748 } 1749 1749 1750 require_once ( 'bp-groups/bp-groups-notifications.php' );1750 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 1751 1751 1752 1752 // Send friend invites. … … 1914 1914 1915 1915 if ( $notify_members ) { 1916 require_once ( 'bp-groups/bp-groups-notifications.php' );1916 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 1917 1917 groups_notification_group_updated( $group->id ); 1918 1918 } … … 2040 2040 $admins = groups_get_group_admins( $group_id ); 2041 2041 2042 require_once ( 'bp-groups/bp-groups-notifications.php' );2042 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2043 2043 2044 2044 for ( $i = 0; $i < count( $admins ); $i++ ) { … … 2075 2075 2076 2076 /* Send a notification to the user. */ 2077 require_once ( 'bp-groups/bp-groups-notifications.php' );2077 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2078 2078 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, true ); 2079 2079 … … 2095 2095 2096 2096 // Send a notification to the user. 2097 require_once ( 'bp-groups/bp-groups-notifications.php' );2097 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2098 2098 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, false ); 2099 2099 -
trunk/bp-messages.php
r1366 r1416 474 474 475 475 // Send email notifications to the recipients 476 require_once( 'bp-messages/bp-messages-notifications.php' );476 require_once( BP_PLUGIN_DIR . '/bp-messages/bp-messages-notifications.php' ); 477 477 messages_notification_new_message( array( 'item_id' => $pmessage->id, 'recipient_ids' => $pmessage->recipients, 'thread_id' => $pmessage->thread_id, 'component_name' => 'messages', 'component_action' => 'message_sent', 'is_private' => 1 ) ); 478 478 -
trunk/bp-wire.php
r1412 r1416 7 7 define ( 'BP_WIRE_SLUG', 'wire' ); 8 8 9 require ( 'bp-wire/bp-wire-classes.php' );10 require ( 'bp-wire/bp-wire-ajax.php' );11 require ( 'bp-wire/bp-wire-templatetags.php' );12 require ( 'bp-wire/bp-wire-cssjs.php' );13 require ( 'bp-wire/bp-wire-filters.php' );9 require ( BP_PLUGIN_DIR . '/bp-wire/bp-wire-classes.php' ); 10 require ( BP_PLUGIN_DIR . '/bp-wire/bp-wire-ajax.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-wire/bp-wire-templatetags.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-wire/bp-wire-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-wire/bp-wire-filters.php' ); 14 14 15 15 /************************************************************************** -
trunk/bp-xprofile.php
r1402 r1416 8 8 define ( 'BP_XPROFILE_SLUG', 'profile' ); 9 9 10 require ( 'bp-xprofile/bp-xprofile-classes.php' );11 require ( 'bp-xprofile/bp-xprofile-filters.php' );12 require ( 'bp-xprofile/bp-xprofile-signup.php' );13 require ( 'bp-xprofile/bp-xprofile-templatetags.php' );14 require ( 'bp-xprofile/bp-xprofile-notifications.php' );15 require ( 'bp-xprofile/bp-xprofile-cssjs.php' );10 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-filters.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-signup.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-templatetags.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-notifications.php' ); 15 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-cssjs.php' ); 16 16 17 17 /* Assign the base group and fullname field names to constants to use in SQL statements */ … … 171 171 return false; 172 172 173 require ( 'bp-xprofile/bp-xprofile-admin.php' );173 require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-admin.php' ); 174 174 175 175 /* Add the administration tab under the "Site Admin" tab for site administrators */
Note: See TracChangeset
for help on using the changeset viewer.