Timeline for get_user_meta Short Profile Section
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 24, 2011 at 6:56 | comment | added | Bainternet | Ok i see what you mean, well then your code looks about right. | |
May 24, 2011 at 6:47 | comment | added | xLRDxREVENGEx | the user meta field was a ok thing but i did not like that fact that the would hot link to an image if they wanted to. | |
May 24, 2011 at 6:46 | comment | added | xLRDxREVENGEx | no i am not checking my server i am checking a remote server a cdn. and since file-exists is for local use it would not work. I do agree with it may be simpler to manage but i have already developed a upload box that gets the users login name and uses it as a file name. | |
May 24, 2011 at 6:41 | comment | added | Bainternet | yeah but you are checking your server? anyway i still think that using a custom user meta field that will hold the user image URL is much simpler and easier to manage. | |
May 24, 2011 at 6:34 | comment | added | xLRDxREVENGEx | ok but that will not work for outside servers from what i have herd and read | |
May 24, 2011 at 6:07 | comment | added | Bainternet | the new way is an overkill, you are creating a request for every image, and when they are not found the request takes time, just use php file_exists function php.net/manual/en/function.file-exists.php | |
May 24, 2011 at 2:41 | comment | added | xLRDxREVENGEx | Can you check my new update. And tell me if it will work or not. | |
May 24, 2011 at 0:40 | comment | added | xLRDxREVENGEx | Ok so if i need to check for file how do i do that | |
May 24, 2011 at 0:35 | comment | added | xLRDxREVENGEx |
do you think i should use this $user_login instead
|
|
May 24, 2011 at 0:34 | comment | added | Bainternet |
you can control better with a meta field and its much easier, but i just remembered that you will need to check if the file exists and not just if( $userpic)
|
|
May 24, 2011 at 0:29 | comment | added | xLRDxREVENGEx | Thanks i think i will use my edit part instead. Seems it would be better that way i can control who can add there own custom pic or not. | |
May 24, 2011 at 0:29 | vote | accept | xLRDxREVENGEx | ||
May 24, 2011 at 2:40 | |||||
May 24, 2011 at 0:15 | history | answered | Bainternet | CC BY-SA 3.0 |