Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
You need to wrap your activity loop code in an object buffer so your contents isn’t outputted at run-time.
Look up ob_start() and ob_end_clean() on php.net.
Here’s an example:
http://php.net/manual/en/function.ob-end-clean.php#103817