BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 95

    Hello.

    Sure.

    </style>
    <link rel='stylesheet' id='jcrop-css'  href='https://dev.abodva.com/wp-includes/js/jcrop/jquery.Jcrop.min.css?ver=0.9.12' type='text/css' media='all' />
    <script type='text/javascript' src='https://dev.abodva.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
    <script type='text/javascript' src='https://dev.abodva.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
    <script type='text/javascript' src='https://dev.abodva.com/wp-includes/js/jcrop/jquery.Jcrop.min.js?ver=0.9.12'></script>
    <script type='text/javascript'>
    	<script type="text/javascript">
    		jQuery(window).load( function(){
    			jQuery('#avatar-to-crop').Jcrop({
    				onChange: showPreview,
    				onSelect: updateCoords,
    				aspectRatio: 0,
    				setSelect: [ 250, 81, 749, 481 ]
    			});
    		});
    
    		function updateCoords(c) {
    			jQuery('#x').val(c.x);
    			jQuery('#y').val(c.y);
    			jQuery('#w').val(c.w);
    			jQuery('#h').val(c.h);
    		}
    
    		function showPreview(coords) {
    			if ( parseInt(coords.w) > 0 ) {
    				var fw = 350;
    				var fh = 400;
    				var rx = fw / coords.w;
    				var ry = fh / coords.h;
    
    				jQuery( '#avatar-crop-preview' ).css({
    					width: Math.round(rx * 999) + 'px',
    					height: Math.round(ry * 562) + 'px',
    					marginLeft: '-' + Math.round(rx * coords.x) + 'px',
    					marginTop: '-' + Math.round(ry * coords.y) + 'px'
    				});
    			}
    		}
    	</script>
    
    	<style type="text/css">
    		.jcrop-holder { float: left; margin: 0 20px 20px 0; text-align: left; }
    		#avatar-crop-pane { width: 350px; height: 400px; overflow: hidden; }
    		#avatar-crop-submit { margin: 20px 0; }
    		.jcrop-holder img,
    		#avatar-crop-pane img,
    		#avatar-upload-form img,
    		#create-group-form img,
    		#group-settings-form img { border: none !important; max-width: none !important; }
    	</style>
  • Participant
    Level: Enlightened
    Posts: 95

    Hello Brajesh

    Yes, I understand you that you checked on standard theme.
    Could you help to find what influences in my situation?

    Maybe some setting can be changed to make the plugin more universal?

    What setting could I check im my site to find the bug?

    Thank you

  • Participant
    Level: Enlightened
    Posts: 95

    Hello Brajesh.

    Ok, I understand you.

    Is it to possible to make 2 fields in member profile: the main (visible) and temporary (visible only for admin and user)

    When the user fill the temporary field, admin gets the notification for moderation.
    If approve it, the info from temporary field replaces main info.
    If deny it, the info from temporary field is cleaned, main info is not changed.

  • Participant
    Level: Enlightened
    Posts: 95

    Hello, Brajesh.

    Any updates about the plugin?
    To make Fixed cropping frame?

    Thank you.

  • Participant
    Level: Enlightened
    Posts: 95

    Hello Brajesh

    Great. Waiting for your reply!

  • Participant
    Level: Enlightened
    Posts: 95

    Thank you

    But how can I approve the member, if I can’t check his avatar?
    Or, after activating the member, his avatar will be in avatar mod plugin for moderation?

  • Participant
    Level: Enlightened
    Posts: 95

    Hello, Brajesh

    Could you, please, check the plugin?
    I used with standard wordpress theme 17.
    Cropping is working.
    But the avatar is not loading. I can’t see in Admin panel in Pending users.
    Also avatar mod plugin is disabled.

    ===
    By the way,
    https://wordpress.org/plugins/buddypress-upload-avatar-ajax/
    plugin crop ratio is correct.
    But other functions are not working.

  • Participant
    Level: Enlightened
    Posts: 95

    Hello Brajesh

    Great support. It’s working like a magic! thank you.

  • Participant
    Level: Enlightened
    Posts: 95

    Hello Brajesh.

    Maybe you have some updates. It will be great to test standard link of coub. And begin registration.
    Thank you

  • Participant
    Level: Enlightened
    Posts: 95

    Great Brajesh.

    Waiting for your reply!
    Great support.

    Highly recommended for other clients, if you read it!