Add Picture to Profile and show it on a website

Discussion in 'Customization & add-ons' started by helsejuice, Aug 11, 2008.

  1. helsejuice

    helsejuice New Member

    Joined:
    Aug 6, 2008
    Messages:
    1
    Hi guys! I'm new here.. but I didn't find anything around this topic

    I want to add more fields to each member. And I did that in the admin, but I can't add my Profile picture field that I want.

    Do I need to make an add-on script to get that added to a user?
    And if so.. how do I go around doing that?

    I can make a link to that profile picture page under Useful Links probably, but how do I get the username and password for the user that is already logged in?
    so I can use that when I add a picture to the database..

    And last question:
    How do I print out the fields in the "data" field in the user_table on a regular website?
  2. zimsolve

    zimsolve New Member

    Joined:
    Apr 5, 2007
    Messages:
    21
    Great Idea!
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    My first thought is just a standard upload form on your member profile page. A couple of things that come to mind are:

    1) Does the profile picture have to be secure at all or can anyone see it? If not, just store the image as the membername.jpg (for example)
    2) Any restrictions / processing on the image that is required? (downgrade to 640x480 jpeg, etc)
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Have you thought about using a CMS or Forum system which has all this stuff done already?

    PHPBB3 has a memberlist feature.

    David

Share This Page