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: 25276
    Brajesh Singh on in reply to: [Resolved] Buddypress menu dashboard #9317

    Please attach a screenshot. Is it the WordPress adminbar or the BuddyPress item nav?

  • Keymaster
    (BuddyDev Team)
    Posts: 25276

    Glad to hear that 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25276

    Hi Lapo,
    i just tested the plugin. It is working fine for the new registrations.
    Are you sure that user registered through your normal registration process?

    Please try registering a new user and checking their profile after activation.

    I used your code and it is giving me correct result.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276
    Brajesh Singh on in reply to: problem wiith Media uplad in stream #9306

    Hi Dough,
    Apologies for the delayed reply.
    Please open a new topic(or post me the debug details(MediaPress->Tools screen) also a temporary gues user/password for your site.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276
    Brajesh Singh on in reply to: Private messenger long loading time #9305

    Hi Mike,
    My apologies for the inconvenience.
    Can you please disable it and check if that makes the message work properly? If that does, Can you please tell me if you have a huge community(large number) or small. Just to get an idea of the queries.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276
    Brajesh Singh on in reply to: Mediapress fullscreen mobile images #9304

    Hi Dan,
    Please post me a screenshot and I will have better idea. I will post the css code then.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276

    Hi Valle,
    Your selector is valid. Most probably your theme is using !important to override the width.

    If you can point me to your site, I can assist quickly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276

    Hi Matthew,
    Welcome to BuddyDev.

    My apologies for the inconvenience. We haven’t updated the plugin recently. Please allow me 1 days to test and update the plugin.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25276

    Hi Herve,
    Thank you for the patience.
    I have updated the plugin now.
    https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/

    It now allows 3 more things:-
    1. Exclude some of the roles from visit recording. For eaample, you can use it to hide the administrator’s visit to other profiles
    2. Disable plugin features( listing visitors, directory listing etc) completely for some of the roles.
    3. recording Policy:- The default recording only records when both the visitor and the displayed user has the recording enabled. You can change it to always to always record a visit if it is enabled for the displayed user.

    Here the code to enable the plugin only for author/contributor role.

    
    
    /**
     * Filter Settings
     *
     * @param mixed $settings
     * @return array
     */
    function devb_custom_settings_for_recent_visitors( $settings ) {
    
    	/**
    	 * Settings is an associative array and has following values
    	 * See Exampel of allowed settings in the commented section below
    	 */
    
    	/*
    	$default = array(
    		//no. of visitors to display
    		'max_display'              => 5,
    		//0 means all time, 7 means 7 days, 30 means 30 days
    		'duration'                 => 0,
    		//show the recent visitor as component?
    		'add_screen'               => false,
    		//true then displays in member header, false means does not display in member header
    		'show_in_header'           => true,
    		// true then show the Recent visitors tab in Members Directory screen for logged in users, false means no tab in directory.
    		'show_in_directory'        => true,
    		//should we enable local notification for user setting?
    		'notification_local'       => false,
    		//should we enable settings for the receiving the notification by email?
    		'notification_by_email'    => false,
    		//by default local notification is disabled, set it to 'yes' for it being enabled for the user
    		'notify_visitors_locally'  => 'no',
    		// By default disable the receiving notification by email settings for user, set it to 'yes'
    		'notify_visitors_by_email' => 'no',
    		//what should be the  default user avatar size
    		'default_avatar_size'      => 32,
    		//should the user be able to st their own preference in profile->settings screen?
    		'allow_user_settings'      => true,
    		// Never record visits by users belonging to these roles
    		'recording_roles_excluded' => array(),
    		// disable the plugin feature for these roles
    		// These user's won't be able to see their own visitors
    		'roles_excluded'           => array(), // array('subscriber', 'contributor')
    		// Recording policy. Should we record when both the users have it enabled ot not.
    		// 'always'= For recording visit of the user_id, do not check whether they have it enabled or not.
    		// 'mutual'= only record if enabled by the visitor,
    		'recording_policy'         => 'mutual',
    	);
    	*/
    
    	// Selectively update one or more settigs
    
    	$settings['max_display'] = 10; // show 10 visitors
    
    	$settings['recording_policy'] = 'always';//always record
    
    	$included = array('author',  'editor' ); // only for author/editor
    
    	$all_roles = array_keys( wp_roles()->get_names() );
    
    	$settings['roles_excluded'] = array_diff($all_roles, $included );
    
    	return $settings;
    }
    
    add_filter( 'bp_visitors_settings', 'devb_custom_settings_for_recent_visitors' );
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25276
    Brajesh Singh on in reply to: Mediapress fullscreen mobile images #9292

    Hi Dan,
    Welcome to BuddyDev.
    You have done it correctly.

    It will use the dimensions for any future uploads resizing.

    If that does not happen, please do let me know.

    PS:-
    In case of lightbox, we are using css to resize the image. If you are having issue in lightbox, It will need some css to fix that.