Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,667
- How-to & Troubleshooting
- 127,979
- Creating & Extending
- 25,647
- Requests & Feedback
- 9,399
- Third Party Plugins
- 9,725
- Showcase
- 3,320
- Ideas
- 1,346
- Miscellaneous
- 8,853
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS