Category Archives: Snippets
This code snippet will make most Buddypress pages viewable to members only. The exceptions being the registration and activation pages. And also blog pages are viewable to unregistered users. Unregistered users trying to access members only pages will be redirected to the front page.
Derived from this forum post: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-full-of-links-to-members-for-some-reason/ Place: in your theme’s bp-custom.php file. If your theme doesn’t have one yet, then create it. Source: http://twitter.com/modemlooper
A common requirement for a BuddyPress site is to change some of the default text around the site. If the text originates in a theme, it is straightforward to create a child theme and make the change directly into the template.
Place the following code anywhere you like. This can be in your (child theme’s) Sidebar.php file or in the Member-Header.php file (found in Members/Single/ in the theme directory) You now have the same widget as on the profile pages on BP.org! http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-stats-and-location-in-profile-page-like-buddypress-org/