Skip to:
Content
Pages
Categories
Search
Top
Bottom

New version of custom profile filter plugin

  • @boonebgorges

    Keymaster

    Just updated my Custom Profile Filters for Buddypress http://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/. Allows users to specify which phrases in their profiles should be linked to a site-wide search. Also gives admins the power to turn off the automatic linking of a given profile field, and to specify fields (like Twitter or FriendFeed) where the handle should redirect to the social networking profile page, rather than a BP search.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @r-a-y

    Keymaster

    Thanks Boone!

    Using your filter helps to delink sensitive information like first name, last name, etc.

    I have one question though, let’s say I filter two fields named “First Name” and “Last Name” from search linking, and let’s say I have a user with a first name of “John” and a last name of “Smith”.

    If someone uses the search term “john” or “smith” on the BP member directory page, would BP return a match for John Smith?

    @boonebgorges

    Keymaster

    Hi r-a-y,

    Glad the filter is useful to you!

    I think the answer to your question is yes, John Smith’s profile would come up in that kind of scenario. The links that are created in BP profiles are merely full-text searches on all BP profiles (this is the link behavior out of the box, and my filters do not change this). Even if the name “Smith” in John’s profile doesn’t link to http://[your-buddypress-url]/members/?s=Smith, that search URL will still be live and accessible from the regular BP search box.

    I haven’t looked into the details, but it should be possible to build a plugin that limits search in different ways. You might, for instance, search all profile fields except those that have been tagged as non-searchable (last name, for example). Another strategy: you might only return a hit on (for example) “Smith” if the result appears between anchor tags; in this way, non-linked profile fields would automatically be excluded. The first kind of solution is probably the better one, and I imagine it will be quite easy once field-specific profile search comes along in BP 1.3 https://buddypress.org/about/roadmap/

    @r-a-y

    Keymaster

    Thanks for replying, Boone.

    I’ll see what I can do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New version of custom profile filter plugin’ is closed to new replies.
Skip to toolbar