BP Profile Search
BP Profile Search is a member search and member directories plugin for BuddyPress. It provides: A form builder to build the member search forms The [bps_directory] shortcode to customize the BuddyPress Members directory, or to build additional member directories Each search form has a target directory. When you run a search, you are redirected to the form’s target directory, filtered according to your search. Build a search form With the form builder you can: Add, edit, rearrange, and remove the search fields Use as search fields the BuddyPress profile fields, the users and usermeta data (including roles), the BuddyPress user groups, and the user taxonomies (including BuddyPress member types) Use search by distance fields when you install the free companion plugin BP Distance Search Select, for each search field, one of the available search modes Select the BuddyPress Members directory, or one of the member directories built with this plugin, as the target directory Select the form template to display your form If in doubt, use the Help tab above the screen title The form template works just like any other BuddyPress template. To override a form template, copy it to the buddypress/members directory in your theme’s root, then edit the new copy according to your needs. Display a search form After you build your search form, you can display it: In its target directory, using the option Add Form to Directory in the form settings In a sidebar or widget area, using the widget Profile Search In a post or page, using the shortcode [bps_form] Run a search On the front-end, when you hit the Search button in a form, BP Profile Search shows the form’s target directory filtered according to your search. Both the All Members tab and the My Friends tab are filtered. Additionally, the plugin: Displays an active filters section containing the active search filters and a Clear button to clear them Displays for each member a member details section containing the values of the searched fields Adds to the Order By drop-down the options to sort the directory by the searched fields The active filters section and the member details section are displayed by two dedicated templates, that can be overridden just like any other BuddyPress template. Build a member directory With the [bps_directory] shortcode you can: Customize the BuddyPress Members directory, or build additional member directories Add hidden filters to a directory Add more sort options to a directory Show additional member information in each member details section, e.g. the value of profile fields Use a different Members directory template for each directory You can enter the shortcode in an empty page to build a new member directory, or you can enter it in the BuddyPress Members page to customize the BuddyPress Members directory. Additional documentation Form Builder Search Modes Custom Directories Form Templates In the screenshots below, the City field is provided by the free companion plugin BP Distance Search.
Buddypress Messages Spam Blocker
If there is a user (or a bot) that signed up at your site this user can start to send messages to every other user. I had some negative experiences with this and so I wrote a module that should help to block such a spam. Buddypress Messages Spam Blocker introduces some restrictions to your users: New users can send messages only 24h after their registration, so you’ll have time if bot registrations have to be removed manually (modify this value using filter ‘buddypress_messages_spamblocker_newMembersWaitingPeriod’) Their are also some more restrictions for mass mailings (mails that are sent to “friends” of the contact list are not included in this calculation): Users can send 6 messages maximum in 5 minutes (modify this value using filter ‘buddypress_messages_spamblocker_5m’) Users can send 10 messages maximum in 10 minutes (modify this value using filter ‘buddypress_messages_spamblocker_10m’) Users can send 20 messages maximum in 30 minutes (modify this value using filter ‘buddypress_messages_spamblocker_30m’) Users can send 30 messages maximum in 60 minutes (modify this value using filter ‘buddypress_messages_spamblocker_60m’) Users can send 35 messages maximum in 12 hours (modify this value using filter ‘buddypress_messages_spamblocker_12h’) Users can send 45 messages maximum in 24 hours (modify this value using filter ‘buddypress_messages_spamblocker_24h’) Users can send 50 messages maximum in 48 hours (modify this value using filter ‘buddypress_messages_spamblocker_48h’) Users with the capability “edit_users” (admins etc.) have no restrictions for outgoing messages Install, activate, and it will work. More about me and my plugins Since the year 1999 I do administration, customizing and programming for several forums, communities and social networks. In the year 2013 I switched from another PHP framework to WordPress. Because not all plugins I’d like to have exist already I wrote some own plugins and I think I’ll continue to do so. If you have the scope at forums or social networks my other modules might also be interesting for you. Just take a look at my WordPress Profile to see all my Plugins. Use them and if my work helps you to save time, earn money or just makes you happy feel free to donate – Thanks. The donation link can be found at the right sidebar next to this text.