Upload .DOC & PDF profile custom file (4 posts)

  1. Marta86
    Posted 4 years ago #


    I'm creating some custom fields in profile page, such as "Job" or "Institution". They're text fields and I've found out how to create and save the data, with fb_save_custom_user_profile_fields() function.

    Now I'd like to create a pdf/doc file upload button to insert also in the profile page, so user can upload a resumé and then show the download link in the author's page.

    But the only thing I'm finding is a way to upload an avatar/image form, that that's not what I want. I want only for PDF or .Doc format files and then save it.

    Does anyone can help me?


  2. Have a look at the Advanced Custom Fields plugin - http://wordpress.org/extend/plugins/advanced-custom-fields/
    it allows you to upload files amongst many things.

  3. Marta86
    Posted 4 years ago #

    I've seen that plugin, but when I install it it asks to save all the data and backup databases. I can copy all website's files, but I don't know how to backup databases because I can't access to them.

    How can I do that?


  4. Well you can backup your db by using a plugin such as - http://wordpress.org/extend/plugins/wp-db-backup/

    But... once backed up if anything happens, you will need to roll back your db.

    Does your host provide you with a phpmyadmin? If so, I would log in there and just check it out that way your comfortable. Some hosting providers are also pretty good in that, if you need to roll back a db, they will do it for you. I would check with them.

Topic Closed

This topic has been closed to new replies.

About this Topic