Viewing 9 replies - 16 through 24 (of 24 total)
  • hi i’m sorry i couldn’t
    this is the codes of my user avatar plugin:

    <div id="user-avatar-step1">
    	<form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=2&uid=<?php echo $uid; ?>" >
    			<label for="upload"><?php _e('Choose an image from your computer:','user-avatar'); ?></label><br /><input type="file" id="upload" name="uploadedfile" />
    			<input type="hidden" name="action" value="save" />
    			<?php wp_nonce_field('user-avatar') ?>
    		<p class="submit"><input type="submit" value="<?php esc_attr_e('Upload'); ?>" /></p>
    	</form>
    	</div>

    is it ok or not?
    what should i do?

    Thanks Guys

    hey give me my answer

    I am no longer able to use user avatar as well. can you please update?

    when i replace this line:

    <input type=”hidden” name=”action” value=”save” /> with
    <!– <input type=”hidden” name=”action” value=”save” /> –>

    i’ve a problem , i get this error:

    Parse error: syntax error, unexpected '"' in /home/downloa1/public_html/wp-content/plugins/user-avatar/user-avatar.php on line 576

    and the plugin doesn’t active

    ??? ?? ???? ???? ?? ???

    Plugin Contributor Enej Bajgori?

    (@enej)

    Hi juanmatias

    Thanks for stepping up and providing the fix. The new version 1.4.9 has the fix in it. So if you download it you will it should just work.

    Cheers

    me too it works. when comment the below line
    <!– <input type=”hidden” name=”action” value=”save” /> –>

    I didn’t work for me and I’ve found the issue : I had to replace wp-content with ‘site’ which is the new folder name for my wp-content folder.
    Developper should give another url to find path …

    if( $avatar_img = user_avatar_avatar_exists( $item_id ) ):
    
    		$avatar_src = get_site_url()."/site/uploads/avatars/".$item_id."/".$avatar_img;
    		if(function_exists('is_subdomain_install') && !is_subdomain_install())
    			$avatar_src = "/site/uploads/avatars/".$item_id."/".$avatar_img;
Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘[Plugin: User Avatar] No longer works with WordPress 3.4’ is closed to new replies.