Helping you Build Your Own Social Network!

Faster, better and easier!

BP Testimonials - More Than Friends ;-)

(4 posts) (3 voices)

Tags:


  1. Hello Brajesh,

    Yes, I would like the option of allowing all users to provide testimonials. Since the testimonial requires approval anyway and given the genre of my membership, allowing all users to execute this is appropriate.

    And nice idea and execution!

    Posted 5 months ago #
  2. Hi Quint,
    Here is the code. Please put it in bp-custom.php

    add_filter('bp_testimonials_can_user_write','my_custom_testimonial_permission');
    
    function my_custom_testimonial_permission($can_do){
    if(is_user_logged_in()&&!bp_is_my_profile())//do not allow to write on your own profile
    return true;
    
    return false;
    
    }

    This will allow all user to write testimonials to other user. Hope that helps.

    Posted 5 months ago #
  3. works perfect Brajesh, thanks! :)

    Posted 5 months ago #
  4. Awesome, Brajesh! Works great. Thanks!

    Posted 5 months ago #

Reply

You must log in to post.