Closed

Editing Profile

This project was awarded to softechk for $60 AUD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 AUD
Total Bids
16
Project Description

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

$TODAY_DATE_AND_TIME =date("Y.m.d.H.i.s");
$AVATAR_FILE_NAME = $EXPLODED_STRING[0].$TODAY_DATE_AND_TIME.".".$EXPLODED_STRING[1];


.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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online