Title: Adding file upload option to comments
Last modified: August 22, 2016

---

# Adding file upload option to comments

 *  Resolved [presvinay](https://wordpress.org/support/users/presvinay/)
 * (@presvinay)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-file-upload-option-to-comments/)
 * The commenting system is great, but it doesn’t serve my site’s purpose if there
   isn’t a file upload system.
 * Is there any way you can help me add this functionality? If you do not have a
   custom file upload designed for your plugin, could I add the following jQuery
   code to the php files of the plugin?
 * $(“#example3”).jqUploader({background: “FFFFDF”,barColor: “FF00FF”});
    Source:
   [https://pixeline.be/experiments/jqUploader/test.php](https://pixeline.be/experiments/jqUploader/test.php)
 * Thanks for making this wonderful plugin!
 * [https://wordpress.org/plugins/comment-popularity/](https://wordpress.org/plugins/comment-popularity/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [presvinay](https://wordpress.org/support/users/presvinay/)
 * (@presvinay)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-file-upload-option-to-comments/#post-5925955)
 * Full jQuery code if needed:
 *     ```
       $("#example3").jqUploader({
                           debug : 0 //set to 1 to expose the values received by the flash file
       			background:	"FFFFDF",
       			barColor:	"FF00FF",
       			allowedExt: "*.avi; *.jpg; *.jpeg; *.png",
       			allowedExtDescr: "what you want",
       			params: {quality:'low', menu: false},
       			validFileMessage: 'Thanks, now hit Upload!',
       			endMessage: 'and don\'t you come back ;)',
       			hideSubmit: false
       			});
       ```
   
 *  Plugin Author [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * (@pauldewouters)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-file-upload-option-to-comments/#post-5926291)
 * I don’t see how this is related to uploading a file?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding file upload option to comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comment-popularity_f8f8f8.svg)
 * [Comment Popularity](https://wordpress.org/plugins/comment-popularity/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comment-popularity/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comment-popularity/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-popularity/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-popularity/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-popularity/reviews/)

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [file upload](https://wordpress.org/support/topic-tag/file-upload/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [Paul de Wouters](https://wordpress.org/support/users/pauldewouters/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/adding-file-upload-option-to-comments/#post-5926291)
 * Status: resolved