Compatibility with plugin “Verified Member for BuddyPress”

BP Profile Search Forum Compatibility with plugin "Verified Member for BuddyPress"

  • Author
    Post
  • #11541 Reply
    Michael
    Guest

    Hi Andrea!

    Would be nice for search compatibility with plugin “Verified Member for BuddyPress”

    eg. a checkbox on search form : “Show Verified Members Only”

    Any possibility of this?

    Thanks!

    #11542 Reply
    andrea
    Plugin Author

    Hi Michael,

    The verified status is stored in the usermeta table with key bp_verified_member.

    So you can add this code to your bp-custom.php file:

    add_action ('bps_usermeta_keys', 'add_more_keys');
    function add_more_keys ($keys)
    {
    	$options = array (1 => 'Verified Member');
    	$keys['bp_verified_member'] = array ('text', $options); 
    	return $keys;
    }

    For additional information you can read:

    https://dontdream.it/bp-profile-search-4-8-4/

    #11543 Reply
    Michael
    Guest

    Thanks Andrea!
    Unfortunately the Verified Members plugin was conflicting with Shortcodes Ultimate plugin on my site (specifically the tooltips function) so I had to disable VM until that issue can be resolved.

    I will try your code as soon as possible.

    Many thanks for your great support, as always.

    #11544 Reply
    andrea
    Plugin Author

    You’re welcome! Please let me know when this issue is resolved.

    #11587 Reply
    Michael
    Guest

    Apologies for delayed update, VMfBP say they don’t know how to solve the conflict with Shortcodes Ultimate plugin, and Shortcodes Ultimate have not responded to my request for assistance. So, for now, I’m not using VMfBP.

    #11595 Reply
    andrea
    Plugin Author

    No problem Michael, thank you for the update!

Reply to: Compatibility with plugin "Verified Member for BuddyPress"
My Information