116 reputation
112
bio website imagewize.com
location Bangkok, Thailand
age
visits member for 2 years, 3 months
seen yesterday

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)


Apr
3
comment Rotate Widgets or Content Blocks every x sec/min
Thanks @kaiser I was actually looking for a plugin that already does this one way or another. I can do the basic jQuery stuff which I used for some effects, but to make randomly loaded ads rotate automatically using AJAX or regular JavaScript would be kind of tough. Do you know any plugings WordPress or jQuery that already do this. A textwidget with some HTML and JavaScript could do the trick also I guess..
Apr
2
revised Rotate Widgets or Content Blocks every x sec/min
More details on R&D done
Apr
2
asked Rotate Widgets or Content Blocks every x sec/min
Mar
30
comment Get basic Image Uploader on User Profile Page
let us continue this discussion in chat
Mar
30
comment Get basic Image Uploader on User Profile Page
Asked the UserPhoto developer if there had been a registration form implementation already here: wordpress.org/support/topic/… . Who knows..
Mar
30
comment Get basic Image Uploader on User Profile Page
Checking out wordpress.org/extend/plugins/user-photo now. Could be a good idea. Just need to adjust my registration form to store the image the same way so updating works later on. To load the image in the profileview might not be too hard as long as I can somehow grab the userid so the correct profile picture is loaded. As these factors all count I was hoping I could stick to the code I have so I only need to change functions.php, not the registration form and profile view as well. Not a complete PHP noob, but still loooots to learn
Mar
29
revised Get basic Image Uploader on User Profile Page
deleted 78 characters in body
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