Support » Plugin: User Submitted Posts » upload file dont show..

  • Resolved vandehee

    (@vandehee)


    Hello, on this page I placed the upload form for members: http://look-quote.nl/vintage-02/

    this works perfect but I placed the shortcode:[usp_gallery] and [usp_display_posts userid=”1″] for to show the uploaded file for the user, This dont work .. you can see the page here : http://look-quote.nl/test/
    If I click on the blue letters, the upload image will not be displayed..

    Do you now what to do?

    Thank you!!!!
    Kind regards van de hee

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi, I tried looking at your two pages, but they would not load (browser timed out).

    In any case, I can help with [usp_gallery]. That particular shortcode only works when included on an actual submitted post. It does do anything anywhere else.

    For [usp_display_posts] shortcode, I am not sure why it is not working on your particular setup, but here are some things to check:

    • Check to make sure that the attribute quotes are straight and not fancy/curly (look at your example, the quotes are incorrect)
    • Make sure that posts exist for the specified user ID (i.e., 1)
    • Make sure that the posts are Publish status (not Pending, Draft, etc.)

    I hope that helps. Let me know if I can provide any further infos.

    • This reply was modified 1 year, 1 month ago by Jeff Starr.
    Thread Starter vandehee

    (@vandehee)

    Thank you!

    it worked .. I had not checked the: auto show image ..
    But do you now how do I turn off the option”” set url in the form?

    Greeting vdHee

    Thread Starter vandehee

    (@vandehee)

    I FIXT IT!!

    Do you now if I can add a calendar in the form?

    Plugin Author Jeff Starr

    (@specialk)

    Glad you got it sorted.

    Not sure about a calendar though. Maybe if you can find a plugin that can add a calendar via shortcode, you could add it next to the USP form shortcode? Something like this:

    [user-submitted-posts]
    [put-your-calendar-shortcode-here]

    Or something along those lines. Let me know if I can provide any further infos, glad to help anytime.

    Thread Starter vandehee

    (@vandehee)

    Oke thank you..

    If my member upload a file, it go also to they own page with this shortcode: [usp_display_posts]

    But how can they delete the uploadfile ? ore edit the uploadfile?

    Plugin Author Jeff Starr

    (@specialk)

    USP posts are just like regular WP Posts. So you can log in to the WP Admin Area at any time to manage them (edit, delete, etc.) via the “Posts” screen.

    By default users who submit posts will not be able to edit/manage posts, because they lack the role/capabilities to do so.

    The same applies to images and other uploads.

    Thread Starter vandehee

    (@vandehee)

    Thank you..

    oh i thought that my users also had the option to delete submitted files .. can you fix this for me? I really need that for my website?\\

    Thread Starter vandehee

    (@vandehee)

    and it is possible that every meber only sees the uploaded file himself .. now everything is public

    Plugin Author Jeff Starr

    (@specialk)

    Glad to help:

    1) “oh i thought that my users also had the option to delete submitted files .. can you fix this for me? I really need that for my website?”

    No it is not a feature of the plugin. You may be able to find a plugin that does front-end editing, but again it is not something that USP can do.

    2) “and it is possible that every meber only sees the uploaded file himself .. now everything is public”

    Sorry this is not a current feature of the plugin. Interesting idea though, thank you for sharing.

    Brahim Lachgar

    (@bralachcodex)

    How do I get the HTML code form in the function php
    (<?php if (function_exists(‘user_submitted_posts’)) user_submitted_posts(); ?>)
    so that I can add bootstrap Classes on it and make CSS in my own way and it can be extended

    Brahim Lachgar

    (@bralachcodex)

    Do you think that if I used the form source code directly, will it work without problems? This is all I want. I want a form code instead of using the functions that I put in the first question.

    Plugin Author Jeff Starr

    (@specialk)

    “Do you think that if I used the form source code directly, will it work without problems?”

    You mean without the rest of the plugin? No the form requires the entire plugin to actually work.

    It is possible to set up a custom form that you can modify as needed. Check out the Installation page for details.

    Also it is possible to display the form only, by disabling the CSS/styles in the plugin settings.

    Also thank you for the great review of USP, much appreciated.

    • This reply was modified 12 months ago by Jeff Starr. Reason: clarity
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘upload file dont show..’ is closed to new replies.