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: 25273
    Brajesh Singh on in reply to: Comments Default on Buddyblog #4663

    I am sorry for delayed reply. Will look once more tomorrow and then post back.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: MediaPress Storage Limit #4662

    Thank you.
    The handling of deletion is exactly as you expect. Individual thumbnails can not be deleted by the user. if they delete the image, all versions of the images are deleted.

    I will look at the most efficient way of showing the size and will post back.

    PS: I believe the best way to show the size is to use the size of the original image.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] bp-ajax-registration not working #4658

    Thank you. Marking it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] bp-ajax-registration not working #4656

    Thank you Jerry.
    I noticed two things.

    1. The css selector is applied to the list item and not anchor. In that case, ‘bp-ajaxr’ is not a good choice. Instead, please use ‘bp-signup’

    2. You are using kleo theme that includes magnific popup, so the popup won’t work yet. Please put this code in your functions.php or bp-custom.php and both the ajax registration and kleo popups will work fine.

    
    add_action( 'wp_enqueue_scripts', 'kleo_remove_magnific_files', 100 );
    
    function kleo_remove_magnific_files() {
    	if ( ! is_user_logged_in() ) {
    		wp_dequeue_script( 'magnific-popup' );
    	}
    }
    

    Please do let me know if it works for you or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi,
    I missed the last post. Will post today.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] bp-ajax-registration not working #4652

    Hi Jerry,
    My apologies.
    You have added the css correctly.

    Can you please point me to the site? Just need to check if it is a javascript conflict?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Leigh,

    Thank you. That is a css issue on the site. Your theme use different selectors. Please put this in your bp-custom.php

    
    add_filter( 'bppg_iwilldo_it_myself', '__return_true' );//do not generate css for us
    
    //Our own css
    function buddydev_custom_inject_css() {
    	if ( ! function_exists( 'bppg_get_image' ) ) {
    		return ;// no trouble when the plugin is disabled
    	}
    	
    	$image_url = bppg_get_image();
    	
    	if ( empty( $image_url ) ) {
    		return;
    	}
    	
    	$repeat_type = bp_get_user_meta( bp_displayed_user_id(), 'profile_bg_repeat', true );
    	
    	if ( ! $repeat_type ) {
    		$repeat_type = 'repeat';
    	}
    ?>
    	<style type="text/css">
    	body.is-user-profile .site{
    	    background: url(<?php echo $image_url; ?>);
    		background-repeat: <?php echo $repeat_type; ?>;
    	}
    	</style>  
    	<?php
    }
    add_action( 'wp_head', 'buddydev_custom_inject_css', 200 );
    
    

    That will make it work.

    Also, Please never share sensitive information in another user’s topic. It is fine if you are the topic owner/creator . All topic owner may see the data. Please change the credentials.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: MediaPress Storage Limit #4644

    Hi Carleton,

    1.For Image, It is possible to show that info with little code but that will not make any sense. MediaPress creates 3 copies(thumb, mid, large) and keeps the original image as well. So displaying the stat for the displayed image will not make much sense without adding the details for all of these three. If we do add these three, It will confuse the user.

    So, what do you suggest will be good idea?

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: MediaPress Storage Limit #4641

    Hi Carleton,
    Yes, you can enable that from MediaPress->settings->General and checking

    
    Show upload Quota?
    

    to yes.

    Does that work for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] How to Identify a Group Post #4638

    Thank you for the kind words 🙂