Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Since you are adding the search form to your theme with the line:

    <?php do_action (‘bp_profile_search_form’); ?>

    if you need to limit that functionality you can add a condition, e.g.

    <?php
    if (current_user_can(‘any_capability_here’))
    do_action (‘bp_profile_search_form’);
    ?>

    Thread Starter vinaysagar4u

    (@vinaysagar4u)

    @samuel…Thank you very much for the link…However i already use members plugin that does the job..I also tried if there are permissions for this plug in but i couldnt find there…So i had to ask…I still dont know how much this new plugin you gave in can do to my above problem…If you think i need to know more about it,please reply…..

    @andrea…Thank you very much once again…But i didnt follow your installation tips when i installed it…It still worked for me…I use bp 1.2.9 and fishbook theme…Where do you want me to add that code???At the same time,i dont want a drop down box for search box that say bp profile search…any suggestion???

    Thread Starter vinaysagar4u

    (@vinaysagar4u)

    Hey sorry…I had to delete from my browser cache and i did…Its only about permissions now

    Plugin Author Andrea Tarantini

    (@dontdream)

    The Fishbook theme is a child theme of the BuddyPress default theme, so you probably added the BP Profile Search code to your BuddyPress default theme. If so, go there and change it as explained.

    Thread Starter vinaysagar4u

    (@vinaysagar4u)

    Hey Andrea,
    I donno how to thank you and it just worked fine for me… Tons of Love..

    I am really new to WP and BP and I need to do something like this but am not sure what file you are referring to to change with the conditional statement. I am using the BuddyPress Default theme with a child theme. What file do I change? I was thinking of copying the file from the default theme directory and putting it in my child theme folder (just so I don’t mess it up!)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: BP Profile Search] Limit this option to a specific member type…’ is closed to new replies.