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.
Top keywords
- search23×4.65%
- directory20×4.04%
- form18×3.64%
- member14×2.83%
- buddypress12×2.42%
- members8×1.62%
- build7×1.41%
- fields7×1.41%
- buddypress members6×1.21%
- members directory6×1.21%
- template6×1.21%
- buddypress members directory5×1.01%
VoucherPress
Thanks for using VoucherPress. It’s great to see so many people creating vouchers for all kinds of business. From pizza joints to jewellers, cleaning companies to sports clubs – you’ve created thousands of vouchers, and I’m really proud to have created something which has been useful to so many people. As I work on the next version of VoucherPress it would be really helpful if you could fill in this short survey. Many thanks for your time. Have you ever wanted to give away vouchers, tickets, coupons or tokens on your website? If so this plugin is for you. You can create a voucher with whatever text you want, choosing the layout and font from a range of templates (you can also add your own templates). Vouchers can then be viewed, downloaded and printed from a specified URL. There are shortcodes to add a link to a particular voucher, to show an unordered list of all your vouchers, or to show the registration for to request a restricted voucher. You can require visitors to provide their name and email address to get a voucher. If an email address is required an email is sent to the address with a link to the voucher URL. Each voucher has a unique code, and vouchers that have an email address associated with them can only be used once, so once a registration-required voucher is downloaded it can’t be downloaded again. Hooks From version 1.1.2 the plugin also offers a selection of hooks which you can use to run your own custom code. The hooks are: voucherpress_create When a voucher is created, this hook returns the properties of the voucher. You can use it like this: add_action( ‘voucherpress_create’, ‘my_voucherpress_create_function’ ); function my_voucherpress_create_function( $id, $name, $text, $description, $template, $require_email, $limit, $startdate, $expiry ) { // do something here… } voucherpress_edit When a voucher is edited, this hook returns the properties of the voucher. You can use it like this: add_action( ‘voucherpress_edit’, ‘my_voucherpress_edit_function’ ); function my_voucherpress_edit_function( $id, $name, $text, $description, $template, $require_email, $limit, $startdate, $expiry ) { // do something here… } voucherpress_register When someone registers to download a voucher and an email is sent to them, this hook returns the voucher and the users details. You can use it like this: add_action( ‘voucherpress_register’, ‘my_voucherpress_register_function’ ); function my_voucherpress_register_function( $voucher_id, $voucher_name, $user_email, $user_name ) { // do something here… } voucherpress_download When someone downloads a voucher, this hook returns the voucher and the users details. You can use it like this: add_action( ‘voucherpress_download’, ‘my_voucherpress_download_function’ ); function my_voucherpress_download_function( $voucher_id, $voucher_name, $code ) { // do something here… } The plugin also makes use of the __() function to allow for easy translation. Thanks to Christian Serron (http://twitter.com/cserron) for the code to make the vouchers work in widgets (currently disabled, I’m working on this) and to Barry (http://www.betakeygiveaway.com/) for bug testing above and beyond the call of duty. Shortcodes There are four shortcodes available. The first shows a link to a particular voucher, and is in the format: [voucher id=”123″] The “id” parameter is the unique ID of the voucher. The correct ID to use is available in the screen where you edit the voucher. You can also how the description after the link: [voucher id=”123″ description=”true”] The second shows a link to a voucher, but with a preview of the voucher (just the background image, no text) and the voucher name as the image alternate text: [voucher id=”123″ preview=”true”] And you can show the description after the preview as well: [voucher id=”123″ preview=”true” description=”true”] You can also show an unordered list of all your live vouchers using this shortcode: [voucherlist] And a list of all live vouchers with their descriptions: [voucherlist description=”true”] And you can also show the form for people to enter their name and email address if they wish to register for a restricted voucher: [voucherform id=”123″] The shortcodes for any voucher can be found on the edit screen for that voucher. Just click the ‘Shortcodes’ button.