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

    (@specialk)

    That is on the todo list, but if you are comfortable with code, there is a hook, usp_files_before, that could be used to check the file data and return some message or whatever to the visitor. See usp_createPublicSubmission() in user-submitted-posts.php.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow-up with this, the latest version of the plugin (20150319) has much improved error reporting, with fine-grained error messages and better handling of image uploads. Please try again and let me know if any issues, thank you.

    Hi Jeff,

    thanks for the nice plug-in, I came across a very similar problem.

    I set the min and max width and height in admin, everything works fine if users uploaded image met the requirement. But if the image doesnt met the size I set and press summit, it will forward to homepage and nothing will be created.

    I looked into the user-submitted-posts.php and found all the error message that supposed to be displayed when the pics doesnt met the spec, but they didnt show up in real life.

    any idea how to solve it??

    Thanks!!
    Davy

    Plugin Author Jeff Starr

    (@specialk)

    With the latest version of the plugin (20150319), any errors at post submission trigger a redirect back to the form and an error message is displayed. If that is not happening, it could be something that the theme is doing, or maybe a plugin. I recommend troubleshooting in order to determine what may be interfering.

    I checked the “disable required” box, reloaded the page and try to summit a post without entering the captcha question, it will then forward me back to homepage. if I uncheck “disable required”, it will shows a warning in red box.

    So how can I determine its the themes problem or something else??

    Thanks!!

    Davy

    Plugin Author Jeff Starr

    (@specialk)

    Basic troubleshooting involves things like temporarily disabling other plugins to see if one is interfering. You can also rule out that the theme is doing something weird by temporarily switching to one of the default WP themes.

    Ok got it, will try now.

    Thanks again, will get back here if I found anything.

    ok well, just tried on 3 other different themes and results are all the same.

    every fields will display the related error(s) correctly, except the one with image size. It will deliver me to the home page if the pic is not in it size I set.

    I think the plug-in will not see the actual size of the pic before I hit the submit button, they will only see the size after submit, right???

    So is it the code that verify the picture size getting problem??

    Thanks!!

    Davy

    Plugin Author Jeff Starr

    (@specialk)

    Not sure, but it sounds like something is interfering with normal functionality. What you say about the redirect to the homepage points to outside interference, as normally the plugin will redirect the user back to the form, along with an error message, when there is any error with the form submission. Hopefully further troubleshooting will help.

    ok I tried disable ALL plugins other than user submitted post, problem still here…….so maybe it`snot the problem of themes and other plug-ins….

    also the same problem for duplicate title post. no error shown and forward to home.

    Plugin Author Jeff Starr

    (@specialk)

    Alright I’ll investigate the issue for the next plugin update. If you discover any further infos please let me know. Thank you for the feedback.

    yeah thanks a lot!!

    Hiya,
    I too am having trouble with error messages (not seeing them).
    Just piling on ??

    Thanks

    Elisabeth

    Plugin Author Jeff Starr

    (@specialk)

    bethrobson, can you be more specific? That would be useful for when I go to investigate. Thanks!

    Oops! my previous response was to a different problem.

    When I try to upload an image that is too large, I don’t see any message saying it’s too large. It just takes a really long time to upload (giving the impression I’m still on the same page) and then takes me to the “thank you” page. However, there is no pending post, indicating that it did not in fact work.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Error Message for uploaded Images’ is closed to new replies.