Changeset 436 for trunk/bp-core.php
- Timestamp:
- 10/24/2008 04:00:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r431 r436 3 3 /* Define the current version number for checking if DB tables are up to date. */ 4 4 define( 'BP_CORE_VERSION', '0.2.6.1' ); 5 6 /* Define the slug for member pages and the members directory (e.g. domain.com/[members] ) */ 7 define( 'MEMBERS_SLUG', 'members' ); 8 9 /* These components are accessed via the root, and not under a blog name or home base. 10 e.g Groups is accessed via: http://domain.com/groups/group-name NOT http://domain.com.andy/groups/group-name */ 11 define( 'BP_CORE_ROOT_COMPONENTS', MEMBERS_SLUG . ',groups' ); 5 12 6 13 /* Load the language file */ 7 14 if ( file_exists(ABSPATH . 'wp-content/mu-plugins/bp-languages/buddypress-' . get_locale() . '.mo') ) 8 15 load_textdomain( 'buddypress', ABSPATH . 'wp-content/mu-plugins/bp-languages/buddypress-' . get_locale() . '.mo' ); 9 10 /* These components are accessed via the root, and not under a blog name or home base.11 e.g Groups is accessed via: http://domain.com/groups/group-name NOT http://domain.com.andy/groups/group-name */12 define( 'BP_CORE_ROOT_COMPONENTS', 'groups,members' );13 16 14 17 /* Functions to handle pretty URLs and breaking them down into usable variables */ … … 180 183 $ud = get_userdata($user_id); 181 184 182 return $bp['root_domain'] . '/ members/' . $ud->user_login . '/';185 return $bp['root_domain'] . '/' . MEMBERS_SLUG . '/' . $ud->user_login . '/'; 183 186 } 184 187 … … 414 417 $ud = get_userdata($uid); 415 418 416 return $bp['root_domain'] . '/ members/' . $ud->user_login . '/';419 return $bp['root_domain'] . '/' . MEMBERS_SLUG . '/' . $ud->user_login . '/'; 417 420 } 418 421
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)