Category Archives: Code Snippets

Coding snippets to add new functionalitity.

Close down your site for logged-in members only

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.

Remove Profile Auto-Links

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

  • « Previous
  • 1
  • 2