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: 25485
    Brajesh Singh on in reply to: [Resolved] comment plugin #21452
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: New BuddyPress Blogs not generating slugs #21451

    Hi Chris,
    Thank you for the details and the patience.

    I have updated the plugin to fix this. Please upgrade to 1.3.5
    https://buddydev.com/plugins/buddyblog/

    let me know if that works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Joss,
    I am sorry, But I do not understand your last question.

    1. You can skip using the membership level.

    If you are looking to show users belonging to level 1 from pmpro, I am sorry, I won’t be of much help.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Avoid members to enter their WP dashboard #21448

    Hi Carsten,
    You don’t have to hide the login button. It is very easy to restrict users from vising dashboard.

    You may use something like this in your theme’s functions.php

    
    
    /**
     * Protect dashboard access.
     */
    function budddev_protect_dashboard() {
    	// do not prevent ajax requests.
    	if( defined( 'DOING_AJAX') ) {
    		return;
    	}
    
    	$allowed_roles = array('administrator', 'editor');
    
    	// if user is not logged i
    	// or does not have one of any of the allowed roles.
    	// redirect.
    	if ( ! is_user_logged_in() || ! array_intersect( wp_get_current_user()->roles, $allowed_roles ) ) {
    
    		wp_safe_redirect( site_url('/') );
    		exit(0);
    	}
    
    }
    add_action( 'admin_init', 'budddev_protect_dashboard' );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] comment plugin #21447
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Carsten,
    Thank you for asking. It should be a minor css task. Please share a link to the page.

    Regads
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    I will need FTP details to add the code.
    Please share the ftp details. Use either private reply here or send me a private message with the details.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress xprofile fields #21443

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Chris,
    Welcome to BuddyDev and thank you for the question.

    It is doable. You need to create a template for listing all media for that user(You may use our shortcode) and override the template.

    Which template to override depends on 1. Do you want the media to be listed on http://example.com/members/user/ or http://example.com/members/user/gallery/ page? Please let me know and I will assist.

    PS:- We will be able to assist you as only limited support is available over weekend.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Buddypress members list #21440

    Hi Matt,
    Our team will assist you on Monday/onwards. Over the weekend, our support is limited to pro members and requests with our own plugins.

    I will give you a hint though:- You need to record last activity time of a user to make them visible in the members directory.

    Thank you
    Brajesh