This project involves editing the [url removed, login to view] file attached, which is based on the tables 'members' , 'tbl_badges' and 'tbl_badges_acquired'. Dumps attached.
Task 1 - Profile editing.
The form1 section of [url removed, login to view] needs to be altered so that users can:
(a) - change their profile pic or upload a new one. I'll await advice from you on how best to ensure that no dangerous files can NOT be uploaded.
The upload path is images/member_avatars. In order to circumvent the problem of different users uploading an avatar with the same name (eg: [url removed, login to view]), I'd like the upload date appended to the file name with some sort of code like this
$AVATAR_FILE_NAME = $EXPLODED_STRING.$TODAY_DATE_AND_TIME.".".$EXPLODED_STRING;
.so [url removed, login to view] would end up being [url removed, login to view] or somesuch, depending on the date / time of upload.
Note: The code is already in place to show a default avatar if the avatar field is blank. Keep that code.
Note 2: Avatars need to be square. If a user uploads an avatar which is not square it needs to be cropped.
If it is bigger than 250px by 250px and square, it can be sized down without cropping & displayed at 250px by 250px
If it is bigger than 250px by 250px, and not square, it can be sized down to 250px on one side and cropped on the other.
If it is smaller than 250px ... I'll listen and discuss what to do here.
(b) - Change their password
(member_password and member_password confirm fields are already set up. These must match and member_password must be updated in the members table if they match.
Minimum 5 characters.
Please find files attached in zip.
14 freelanceria on tarjonnut keskimäärin 118 $ tähän työhön
We are 4 years in JS and [url removed, login to view] are sincerely read your requirements and ready to endow with the solution as per your [url removed, login to view] provide me chance to do work on it.I can assure you to provide 100% accurate work Lisää