Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,018
- How-to & Troubleshooting
- 129,654
- Creating & Extending
- 25,794
- Requests & Feedback
- 9,497
- Third Party Plugins
- 9,793
- Showcase
- 3,316
- Ideas
- 1,383
- Miscellaneous
- 9,180
-
In my loader.php, I hook into ‘bp_include’ and include a main file. In that other file, I use ‘bp_setup_globals’ for globals and ‘bp_setup_root_components’ to register the root component. You can view my source at http://code.google.com/p/achievements/source/browse/achievements/trunk/includes/achievements-core.php if it helps.