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: 25310
    Brajesh Singh on in reply to: [Resolved] .Mov Format Video not playing #17142
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: Buddy Circles #17141

    Hi Bill,
    Welcome to BuddyDev.

    Is there a chance that you are visiting the other user as site admin? We do not restrict site admins from viewing private circles.

    Please check by visiting from a normal user account to the other user’s circles and let me know if it works or not?

    Regards
    Brajesh

    PS:- Have mailed you too.

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Thank you. Please do let me know when you get the time and apply this change.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Goyelle,
    I will have an update for you today.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: Mediapress "likes" #17133

    Hi Nikki,
    I am sorry, the things have changed a bit.

    In the current setup, It was very difficult for us to provide top lists based on type, component and status.

    We have decided to first improve our schema for better performance and then this will come. The next major version of MediaPress 1.5 with the newer schema will be available by 15th Nov or earlier. This project(including vote up/down option) will be available after 2-4 weeks of the release of 1.5

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: [Resolved] paiement with featured Member #17132

    Hi Herve,
    Thank you.

    1. You can not use get_current_user_id() as it returns currently logged in user. It is not the cas e with IPN reply, so it won’t return anything.

    2. About using absint($custom[5]), I am not sure what it is as it is very specific to the plugin. Please ask plugin developer how to get the user id of the subscriber and you can use that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: [Resolved] .Mov Format Video not playing #17131
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: Redirect Loggedout Users to a 'Register Page' #17130

    Hi Graham,
    Welcome back.

    For logout, you can use the following code. Works with BuddyPress too

    
    /**
     * Redirect user on logout.
     *
     * @param string $logout_url logout url.
     * @param string $redirect where to redirect.
     *
     * @return string
     */
    function buddydev_custom_logout_url( $logout_url, $redirect ) {
    
    	$redirect            = bp_get_signup_page();
    	$args                = array( 'action' => 'logout' );
    	$args['redirect_to'] = $redirect;
    
    	$logout_url = add_query_arg( $args, site_url( 'wp-login.php', 'login' ) );
    	$logout_url = wp_nonce_url( $logout_url, 'log-out' );
    
    	return $logout_url;
    }
    
    add_filter( 'logout_url', 'buddydev_custom_logout_url', 100, 2 );
    
    

    Change ‘redirect_url’ to wherever you need to redirect.

    For redirecting on login to the visiting page, BuddyPress alreadyu does it. Also, Our BP Ajax Registration 2.0 is coming today/tomorrow and if you use it for login with page reload method, it can solve your issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Sergio,
    Thank you.

    I can see the issue now.

    Your theme is not updated for BuddyPress 3.0+. BuddyPress 3.0 removed the legacy forums and a few functions.

    The error is

    
    Fatal error: Call to undefined function bp_is_group_forum() in [redacted path]/wp-content/themes/rehub/buddypress/groups/single/index.php on line 48
    

    It happens if a theme is not updated for BuddyPress 3.0+ . To fix it, you will need to edit

    
    /wp-content/themes/rehub/buddypress/groups/single/index.php 
    

    and remove the code that looks like

    
    
    				// Old group forums
    				elseif ( bp_is_group_forum()      ) : bp_get_template_part( 'groups/single/forum'        );
    
    

    That will fix it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    This reply has been marked as private.