168 reputation
215
bio website imagewize.com
location Bangkok, Thailand
age
visits member for 2 years, 11 months
seen 22 hours ago

whoami

I am rhand or Jasper, a web lover, polyglot, WordPress addict and HTML5 evangelist. I love to code in and learn more about jQuery, WordPress, Joomla! and I also dive into OSCommerce and Magento regularly.

pwd

Currently I am in sunny Thailand, but I am always on the move. I work for my own Hong Kong based company Imagewize and with my Dutch partner Doede at Doede.net. Here are some of the sites associated with me: jasperfrumau.com, Imagewize.com (current site for Imagewize)


Mar
29
revised Get basic Image Uploader on User Profile Page
deleted 78 characters in body
Mar
29
comment Get basic Image Uploader on User Profile Page
Checked it our and was wondering about using some of its code - see update in question.
Mar
29
comment Get basic Image Uploader on User Profile Page
I have updated code -see pastebin.com/YGYz3Qnv - and made $profilePicture global. Thanks for the heads up! How can I add more validation to check if the variable is empty? isset() is already added.. And I still think I have a $_POST issue too..
Mar
29
revised Get basic Image Uploader on User Profile Page
Added some code snippet of suggested plugin to use for my code
Mar
28
comment Get basic Image Uploader on User Profile Page
Perhaps an implementation such as at plupload's sample could be a cool thing. Just need to en-queue scripts properly and pick a <div> as uploader it seems. Only need data to be stored for a user so a particular image is loaded per profile.
Mar
28
comment Get basic Image Uploader on User Profile Page
@Soulseekah That plugin's drag-and-drop feature is really cool I must say! But for my situation I only need a profile image uploader to work. I do hope your brother's plugin gets to be accepted to core as it is awesome!
Mar
28
comment Get basic Image Uploader on User Profile Page
The profile images need to be added to a specific folder and the path has to be added to a specific user_meta field so the profile page can load the image connected to a user ID with <?php if(get_the_author_meta( 'userphoto_thumb_file', $getId )!=""){?> <img src="<?=$uploads['baseurl'];?>/thumbs/<?=get_the_author_meta( 'userphoto_thumb_file', $getId );?>" /> I do not see how Koshenin's code can achieve that. But will check it out. Saw you helped with it too Soulseekah!
Mar
28
revised Get basic Image Uploader on User Profile Page
deleted 1 characters in body
Mar
28
revised Get basic Image Uploader on User Profile Page
Added link to pasty with full functions.php code
Mar
28
revised Get basic Image Uploader on User Profile Page
added 26 characters in body
Mar
28
revised Get basic Image Uploader on User Profile Page
Added updated code
Mar
28
revised Get basic Image Uploader on User Profile Page
Fixed initial image uploader code : added isset()
Mar
28
revised Get basic Image Uploader on User Profile Page
error report added for debugging
Mar
28
revised Get basic Image Uploader on User Profile Page
Changed title
Mar
27
revised Get basic Image Uploader on User Profile Page
fixed html display
Mar
27
revised Get basic Image Uploader on User Profile Page
added 26 characters in body
Mar
27
revised Get basic Image Uploader on User Profile Page
New information added
Mar
27
revised Get basic Image Uploader on User Profile Page
added 3 characters in body
Mar
27
asked Get basic Image Uploader on User Profile Page
Mar
26
accepted Menu with parents, children and or siblings pages display