Category: Buddypress

  • How to get rid of SPAM on WordPress

    How to get rid of SPAM on WordPress

    Hello everyone! I hope you're all doing well 🙂 I'm taking the time to write this post to share my ideal combination for fighting spam on WordPress and BuddyPress. Indeed, spam is one of the scourges of the web, and particularly in the WordPress world. Between the cascade of spammer registrations, the…

    Read more


  • BuddyPress: how to remove rich text on xprofile text area

    Here is a little trick for BuddyPress to remove the rich text functionalities of the editor from the xProfile text areas, like bio field for example. Add this custom code to bp-custom.php to disable the rich text: [code] /*———-*/ /* REMOVE rich text on xprofile text area /*———-*/ function antipole_remove_rich_text( $field_id = null ) {…

    Read more


  • BuddyPress Tip: How to Remove Visual Editor from Text Profile Fields

    BuddyPress Tip: How to Remove the Visual Editor from Text Profile Fields

    Here's a little tip I'd like to share that's very useful on BuddyPress installations: it involves disabling your social network users' ability to use "rich text features" (which include italics, bold, etc.) in multi-line profile fields, such as the "About" field.

    Read more


  • BuddyPress – Create an automatic country dropdown list in profile field

    Are you looking for a function that imports all countries of the world to a BuddyPress profile field called «Country»? This code is for you. Consider that you open an international BuddyPress social network and you want let your users select their country. It's annoying to manually add countries one by one. The solution…

    Read more


  • BuddyPress: Add All Countries to Your Custom Profile Field

    Here's a code that all BuddyPress social network owners have been eagerly awaiting. It's a feature that lets you add all the world's countries at once, rather than manually, to a field labeled "Country," where your network members can select their country. Only…

    Read more


  • Snippet BuddyPress: How to only show people of the opposite gender in the members page

    BuddyPress Snippet: How to Only Show People of the Opposite Gender on the Members Page

    Are you looking to build a dating site with BuddyPress and WordPress? Unless it's a site where the concept is based on openness to all genders, you'll inevitably need to customize BuddyPress so that men can only see women, and vice versa. BuddyPress doesn't allow…

    Read more


  • Plugins to turn your WordPress or BuddyPress into a native app for iPhone and Android

    Plugins to turn your WordPress or BuddyPress into a native app for iPhone and Android

    Hello everyone! Today, I'm going to list the best plugins and themes that will allow you to turn your WordPress site, and possibly your BuddyPress social network, into an app. The advantage of this process is transforming your website into a true native application available on the iOS App Store or the Android Play Store. The benefit? Reaching a wider audience…

    Read more


  • Snippet: make BuddyPress private, restrict members directory and profiles to members only

    Are you looking for a little plugin to make your BuddyPress private, and restrict your social network to members only? If yes, this snippet is for you. With this function, the non logged user who tries to access to BuddyPress social network (members directory or profile) is redirect to the BuddyPress registration. function sqr_prevent_search_guest_user() {…

    Read more


  • Snippet to make a BuddyPress social network private and force registration

    Snippet to make a BuddyPress social network private and force registration

    Here's a little snippet of code that I find very useful on my BuddyPress sites. It makes the social network private, requiring members to access it. [code]function sqr_prevent_search_guest_user() { if ( class_exists( 'BuddyPress' ) ) { if (!is_user_logged_in() && (bp_is_directory() || bp_is_user())) { wp_redirect(home_url() . '/register/'); exit; } }…

    Read more


  • Buddypress: link the miniature avatar to the full-size image

    Buddypress: Link the thumbnail avatar to the full-size image

    If there's one thing I'm often asked to customize on a social network built with the BuddyPress CMS, it's avatar management. Firstly, the avatar always links to the currently open page, which is pointless, and secondly, there's its size…

    Read more