Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


How can i delete uploaded file?

edited February 2012 in Questions
This discussion is related to the File Upload Detect addon.

I have "delete file" in FileUpload plugin, but i dont see it in File Upload Detect. Is it supposed to be like this?

Answers

  • Try unzipping it with something like 7zip.

    grep is your friend.

  • edited February 2012

    I used winrar. It's the same. But i tryed 7zip and i dont see "delete function".

    There is strange file in your archive. It names FileUploadDetect. As he has the same name as catalog 7zip and Winrar cannot unzip files. That's why i unziped only catalog from your archive.

  • Sorry I don't follow

    $ ls -D -1:

    class.mediamodel.php
    default.php
    design
    images
    js
    readme.markdown
    views
    
    ./design:
    fileupload.css
    
    ./images:
    all_files
    all.html
    gear.png
    insert.png
    logo.png
    oxygen-style
    oxygen-style-fileicons.php
    paperclip.png
    progress_active.gif
    progress_base.gif
    Screenshot.png
    trash.png
    
    ./images/all_files:
    global.js
    jquery_002.js
    jquery_003.js
    jquery_004.js
    jquery_005.js
    jquery.js
    rss.gif
    style_002.css
    style.css
    
    ./images/oxygen-style:
    application-illustrator.png
    application-javascript.png
    application-msword.png
    application-octet-stream.png
    application-pdf.png
    application-pgp-encrypted.png
    application-pgp-keys.png
    application-pgp-signature.png
    application-pkcs7-mime.png
    application-pkcs7-signature.png
    application-postscript-2.png
    application-postscript.png
    application-relaxng.png
    application-rss+xml.png
    application-rtf.png
    application-vnd.corel-draw.png
    application-vnd.mozilla.xul+xml.png
    application-vnd.ms-access.png
    application-vnd.ms-excel.png
    application-vnd.ms-powerpoint.png
    application-vnd.oasis.opendocument.chart.png
    application-vnd.oasis.opendocument.database.png
    application-vnd.oasis.opendocument.formula.png
    application-vnd.oasis.opendocument.graphics.png
    application-vnd.oasis.opendocument.image.png
    application-vnd.oasis.opendocument.presentation.png
    application-vnd.oasis.opendocument.presentation-template.png
    application-vnd.oasis.opendocument.spreadsheet.png
    application-vnd.oasis.opendocument.spreadsheet-template.png
    application-vnd.oasis.opendocument.text.png
    application-vnd.rn-realmedia.png
    application-vnd.scribus.png
    application-vnd.stardivision.calc.png
    application-vnd.stardivision.draw.png
    application-vnd.sun.xml.calc.png
    application-vnd.sun.xml.calc.template.png
    application-vnd.sun.xml.draw.png
    application-vnd.sun.xml.draw.template.png
    application-vnd.sun.xml.writer.png
    application-x-7z-compressed.png
    application-x-ace.png
    application-x-applix-spreadsheet.png
    application-x-archive.png
    application-x-arc.png
    application-x-arj.png
    application-x-ar.png
    application-x-awk.png
    application-x-bittorrent.png
    application-x-blender.png
    application-x-bzdvi.png
    application-x-bzip-compressed-tar.png
    application-x-bzip.png
    application-x-cda.png
    application-x-cd-image-2.png
    application-x-cd-image.png
    application-x-compressed-tar.png
    application-x-compress.png
    application-x-cpio.png
    application-x-cue.png
    application-x-deb.png
    application-x-designer.png
    application-x-desktop.png
    application-x-egon.png
    application-x-executable.png
    application-x-executable-script.png
    application-x-font-afm.png
    application-x-font-bdf.png
    application-x-font-otf.png
    application-x-font-pcf.png
    application-x-font-snf.png
    application-x-font-ttf.png
    application-x-font-type1.png
    application-x-gnumeric.png
    application-x-gzdvi.png
    application-x-gzip.png
    application-x-gzpostscript.png
    application-xhtml+xml.png
    application-x-java-applet.png
    application-x-java-archive.png
    application-x-java.png
    application-x-karbon.png
    application-x-kcsrc-2.png
    application-x-kcsrc.png
    application-x-kexiproject-sqlite3.png
    application-x-kgetlist.png
    application-x-kontour.png
    application-x-krita-2.png
    application-x-krita.png
    application-x-kvtml.png
    application-x-kword.png
    application-x-lha.png
    application-x-lisp.png
    application-x-lyx.png
    application-x-lzma-compressed-tar.png
    application-x-lzop.png
    application-x-m4.png
    application-x-marble.png
    application-x-mimearchive.png
    application-xml.png
    application-x-ms-dos-executable.png
    application-x-mswinurl.png
    application-x-ms-wmp.png
    application-x-mswrite.png
    application-x-nzb.png
    application-x-object-2.png
    application-x-object.png
    application-x-pak.png
    application-x-pem-key.png
    application-x-perl-2.png
    application-x-perl.png
    application-x-php-2.png
    application-x-php.png
    application-x-plasma.png
    application-x-python-bytecode.png
    application-x-qet-element.png
    application-x-qet-project.png
    application-x-quattropro.png
    application-x-rar.png
    application-x-rpm.png
    application-x-ruby.png
    application-xsd.png
    application-x-sharedlib.png
    application-x-shellscript.png
    application-x-shockwave-flash.png
    application-x-siag.png
    application-xslt+xml.png
    application-x-smb-server.png
    application-x-smb-workgroup.png
    application-x-subrip.png
    application-x-tar.png
    application-x-tarz.png
    application-x-tgif.png
    application-x-trash.png
    application-x-troff-man.png
    application-x-tzo.png
    application-x-wmf.png
    application-x-zerosize.png
    application-x-zoo.png
    application-zip.png
    audio-aac.png
    audio-ac3.png
    audio-basic.png
    audio-midi.png
    audio-mp4.png
    audio-mpeg.png
    audio-prs.sid.png
    audio-vnd.rn-realaudio.png
    audio-vnd.rn-realvideo.png
    audio-vn.rn-realmedia.png
    audio-vn.rn-realvideo.png
    audio-x-adpcm.png
    audio-x-aiff.png
    audio-x-flac+ogg.png
    audio-x-flac.png
    audio-x-generic.png
    audio-x-matroska.png
    audio-x-mod.png
    audio-x-monkey.png
    audio-x-mp2.png
    audio-x-mpegurl.png
    audio-x-ms-asx.png
    audio-x-ms-wma.png
    audio-x-musepack.png
    audio-x-pn-realaudio-plugin.png
    audio-x-scpls.png
    audio-x-speex+ogg.png
    audio-x-vorbis+ogg.png
    audio-x-wav.png
    encrypted.png
    image-svg+xml-compressed.png
    image-svg+xml.png
    image-x-adobe-dng.png
    image-x-eps.png
    image-x-generic-2.png
    image-x-generic.png
    image-x-vnd.trolltech.qpicture.png
    image-x-xfig.png
    inode-directory.png
    message-news.png
    message.png
    message-rfc822.png
    misc.png
    odf.png
    package-x-generic.png
    resource.png
    text-calendar.png
    text-css.png
    text-csv.png
    text-directory.png
    text-enriched.png
    text-html.png
    text-mathml.png
    text-plain.png
    text-rdf.png
    text-sgml.png
    text-troff.png
    text-vcalendar.png
    text-vnd.abc.png
    text-vnd.wap.wml.png
    text-x-adasrc.png
    text-x-asm.png
    text-x-authors.png
    text-x-bibtex.png
    text-x-changelog.png
    text-x-chdr-2.png
    text-x-c++hdr.png
    text-x-chdr.png
    text-x-cmake.png
    text-x-copying.png
    text-x-csharp.png
    text-x-c++src-2.png
    text-x-csrc-2.png
    text-x-c++src.png
    text-x-csrc.png
    text-x-dtd.png
    text-x-fortran.png
    text-x-generic-2.png
    text-x-generic.png
    text-x-haskell.png
    text-x-hex.png
    text-x-install.png
    text-x-java-2.png
    text-x-java.png
    text-x-katefilelist.png
    text-x-ldif.png
    text-x-lilypond.png
    text-x-log.png
    text-x-makefile.png
    text-xmcd.png
    text-xml.png
    text-x-moc.png
    text-x-nfo.png
    text-x-objchdr.png
    text-x-objcsrc.png
    text-x-pascal-2.png
    text-x-pascal.png
    text-x-patch.png
    text-x-po.png
    text-x-python-2.png
    text-x-python.png
    text-x-readme.png
    text-x-script.png
    text-x-source.png
    text-x-source-template.png
    text-x-sql.png
    text-x-tcl.png
    text-x-tex-2.png
    text-x-texinfo.png
    text-x-tex.png
    text-x-xslfo.png
    text-x-yacc.png
    unknown.png
    uri-mms.png
    uri-mmst.png
    uri-mmsu.png
    uri-pnm.png
    uri-rtspt.png
    uri-rtspu.png
    video-x-generic.png
    video-x-mng.png
    widget_doc.png
    x-kde-nsplugin-generated.png
    x-media-podcast.png
    x-office-address-book.png
    x-office-calendar.png
    x-office-contact.png
    x-office-document-2.png
    x-office-document.png
    x-office-document-template.png
    x-office-spreadsheet.png
    
    ./js:
    fileupload.js
    
    ./views:
    attach_file.php
    blank.php
    fileupload.php
    link_files.php
    toggle.php
    

    Maybe it is size constraint, and the names that are confusing some zip formats. toggle.php

    grep is your friend.

  • perhaps I should take the oxygen-style images out there and get them to upload it form source.

    grep is your friend.

  • I cheked and i have all this files inside catalog...

  • so what is the problem then?

    grep is your friend.

  • May be i explained wrong in my first post. I try again.

    I can't delete uploaded file from forum page. I can only upload and download it. If i install FileUpload plugin (this http://vanillaforums.org/addon/fileupload-plugin) i can not only upload/download but also delete from forum page. So if i use your plugin i have to delete unnecessary files only by ftp. It is not convient for me and my users.

    Why do FileUpload plugin has function "delete file" and FileUploadDetect plugin does not have?

  • x00x00 MVP
    edited February 2012

    Maybe becuase it forked from a different version. If you are interested in this please sponsor.

    grep is your friend.

  • I have the same problem as @Geleosan. Not being able to delete attachment from comments makes this plugin only semi-usable.

    This should definitely be allowed.

    I'm thinking of going back to basic FileUpload plugin, I find it more important to being able to delete attachments than having nice thumbnails.

  • @tom762 said: I have the same problem as Geleosan. Not being able to delete attachment from comments makes this plugin only semi-usable.

    This should definitely be allowed.

    I'm thinking of going back to basic FileUpload plugin, I find it more important to being able to delete attachments than having nice thumbnails.

    Go to your file upload detect plugin folder > views. Open "link_files.php" and remove the "" on line 31 and 71. You should now have the delete option if you hover over a file icon.

    hgtonight
  • kuebkueb New
    edited September 2013

    I just saw that vanilla wont show the html comment tag in my post.

    [...] and remove the html comment tag (<!-- and -->) on line 31 and 71.

    tom762
  • Excellent! You're the man! Thank you, it works. :)

    kueb
Sign In or Register to comment.