WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Advanced Ticket System
[resolved] Front end upload (11 posts)

  1. projectfuturism
    Member
    Posted 2 years ago #

    Hi guys,

    I really, really need to be able to upload files as a post attachment using the ticket system. You gave an option in the back end Admin area to do this, but not in the front end.

    Is this possible? It's kind of urgent.

    PF

    http://wordpress.org/extend/plugins/wats/

  2. firebird75
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Instructions are there :
    http://www.ticket-system.net/extend/

  3. projectfuturism
    Member
    Posted 2 years ago #

    Howdy,

    Have tried this and read countless tutorials but I guess my skills aren't up to it. How would I get this working.

    [Code moderated]]

    Yes, I realise I need a lot more code to get it functioning but at the moment I can't even simply upload the file... are you able to point me in the right direction.

  4. firebird75
    Member
    Plugin Author

    Posted 2 years ago #

    It won't work like this... There is a lot more to be added to POST the files through Ajax and then you also need some security checks.

  5. projectfuturism
    Member
    Posted 2 years ago #

    Yes, I get that, just wondering if you are able to point me in the right direction. I have paid for this plugin so I would like a little bit of support - I don't need you to full on develop but just point me in the right direction with a few things would be good!

  6. firebird75
    Member
    Plugin Author

    Posted 2 years ago #

    Why don't you use the already available solution through the single ticket display page as described on the extend page of the official site?
    If adding a file uploader was simple, I would have already done that but it is pretty tricky and requires a lot of robustness to avoid security holes. That's why I haven't implemented it so far.
    You might want to look into the plpupload embedding, this is the upload library for WordPress. There might be some ways to embed it in the frontend.

  7. projectfuturism
    Member
    Posted 2 years ago #

    Okay, I'd really like something simple. Security is not an issue for me as this part of the site is members only and I only have a small amount of trusted (known to me) members so I am not worried about security.

    I have inserted this extremely basic code as a function and also straight into the wats-template.php file. They both successfully create a ticket, but neither actually copies the file into a directory ('/upload/' folder which I have created in the root directory).

    [Code moderated]]
    I have inserted the code as a function as shown above and also straight into the template code like so:

    [Code moderated]]
    If I can get the upload simply copying to the right folder I can do everything else myself - I just need the upload simply inserting into the uploads folder, no security, no file name sanitising... Are you able to help? I have a feeling I have just selected the wrong directory because I have used this code in another area of the server and the upload works correctly.

  8. firebird75
    Member
    Plugin Author

    Posted 2 years ago #

    This forum is for general support on the free release. Please contact me through the official site contact form to get further support on this.

    Thanks.

  9. projectfuturism
    Member
    Posted 2 years ago #

    Done. Thanks :)

  10. BasssT
    Member
    Posted 1 year ago #

    Dear Olivier,

    what solution did you find to post files (for example screenshots) by creat a ticket. The NMedia File Uploader is a nice tool but it can only placed on one site. It it is more a filebrowsergadget but it can't be recommended for posting tickets with files (jpg, png, a.o.) as entire entry.

    Thanks for a quick response

  11. firebird75
    Member
    Plugin Author

    Posted 1 year ago #

    Hello!

    The NMedia is the best one available as of today I think. It will attach files to profile.

    Then if you want o attach files to tickets, you can use in a comment form :
    http://wordpress.org/extend/plugins/frontend-uploader/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.