Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25271

    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: 25271

    Thank you for confirming.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    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: 25271

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

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    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: 25271

    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: 25271
    Brajesh Singh on in reply to: lightbox not working well #3327
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25271

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    Brajesh Singh on in reply to: lightbox not working well #3323

    Hi Christian,
    Thank you for the details.
    You are using the updated MediaPress. It is very strange that the lightbox is still limiting to 6( You have quite higher limits for even the fallback numbers).

    Can you please tell me if it is happening on activity page or gallery pages too? Is it happening for all galleries or just for a few specific ones?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25271
    Brajesh Singh on in reply to: Groups Extension #3321

    Hi Joshua,
    I am sorry but I don’t think that you can use visual composer with this plugin.

    It is a nice plugin, but seems it may not fit your requirements.