- This topic has 2 replies, 2 voices, and was last updated 14 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Change file name on upload
Hi again…
I was wondering if you could help me with the correct code to change the file name after upload for the profile image.
I’m at emember_ajax.php and I see on line 23 is $upload_name, and it’s used later in that function several times. It is referencing the post values for image_id which is used in the eMember_misc_functions.php file. However, when i change the value for Image_id to let’s say, $username, it gives me an error that the username is undefined. So I think image_id only takes integers… is it just a matter of switching the data field to something other than image_id?
Wow… Everytime I ask for help on here, I find it out for myself within 5 minutes. This is of course after 3 straight hours of trying to figure it out. Wow.
LOL…