Category: Buddypress
-
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…
-
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 ) {…
-
BuddyPress Tip: How to Remove 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.
-
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…
-
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…
-
Snippet BuddyPress: How to only show people of the opposite gender in 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…
-
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…
-
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() {…
-
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; } }…
-
Buddypress: link the miniature 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…