BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Andrew,
    The plugin did not support custom profile field type. we have added support for “birthdate” field.

    Please upgrade to 1.1.9 and the birthdate field will work fine.
    https://buddydev.com/plugins/conditional-profile-fields-for-buddypress/

    Hope that helps.
    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Not logging member in after signing up #3377

    Hi Travis,
    Can you please point me to your site? If the user is taken to his/her profile, It means he/she is being logged in and redirected. Can you please point me to the site, that will help me to assist you quickly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Jan,
    I am sorry for the delayed reply.

    1. It is not doable but will be pure hack and I personally don’t feel comfortable due to future updates or lack of flexibility.

    Please let me know how many groups you have and will you be applying it to all groups or selected few? Will it be based on single term or multiple terms?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Thank you for confirming.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Profile Visibility Manager 1.3.1 Redirect Issue #3361

    Hi Hans,
    The non redirect is doable but will be a bad idea performance wise. We will need to filter on the user urls and set them to ‘#’ but that is very inefficient in my personal view.

    I will add the redirect url option in settings in next update.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Ada,
    Thank you. Can you please restore it again today?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Profile Visibility Manager 1.3.1 Redirect Issue #3358

    Hi Hans,
    You are right about the issue. The problem is earlier version was causing issues when profile was private and the user logged out from one of the public components of profile(e.g groups/friends).

    Redirected to the home of the site to make sure that there won’t be redirect loop. For example, if we redirect to members directory(easily doable, I will show below), and if the members directory is private, It may cause the redirect loop(will further depend on how the page privacy is setup).

    There are multiple solutions:-
    1. If it is deemed fine, I can add an option in the admin to put the url of the page where the site admin wants the users to be redircted. Question is, should we have 1 redirect option for all privacy or 1 for each level of privacy?

    2. Or, you can always put the following snippet in bp-custom.php and it will work.

    
    
    function buddydev_profile_visibility_redirect_url( $redirect_location, $privacy, $referrer = '' ) {
    
    	$redirect_location = "http://somesite.com/somepage";
    
    	return $redirect_location;
    }
    add_filter( 'bp_profile_visibility_redirect_location', 'buddydev_profile_visibility_redirect_url', 10, 3 );
    

    Please do let me know what do you think is the right way.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Francesco,
    Are you using closing php tags in your bp-custom.php like this?

    
    ?>
    

    If yes, Please delete that. That will fix the issue. It is happening becuse there are some spaces getting sent to the browser from your bp-custom.php
    If no, Please post the complete code from your bp-custom.php(including php tags) on the pastebin and I can quickly assist.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: lightbox not working well #3327
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Dandy,
    Thank you for confirming. I am happy that we could help 🙂