Support » Plugins and Hacks » [Resolved] Adding extra images doesnt work (Cant load usp.php )

[Resolved] Adding extra images doesnt work (Cant load usp.php )

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


    The add another image link is a faux link for jQuery to add another input for images. Its functionality is affected by the settings, most specifically the number of allowed images. Not sure if that helps, but there you go.

    I have the same problem.

    In the settings the minimum number of images allowed is set to 0 and the maximum if 5

    I have also noticed that even if the user selects one photo to upload, it doesn’t get uploaded. (I imagine this is a side effect of the missing JS file)

    Here is a link to the page with the user-submitted-posts form in it: http://www.bigfacelittleface.co.uk/send-us-your-photos/


    I was having the same problem, but think I found the solution here.

    In short, you (and ideally Jeff in an upgrade) need to replace line 8 of usp.php (in wp-content/plugins/user-submitted-posts/resources) with:


    It appears that including wp-blog-header.php, since the WordPress 3.0 upgrade (maybe?), results in a 404 even though the content is correct, because it’s not returning a WP post.

    That is, even when you’re loading it yourself in a browser window, it’s still returning 404, it’s just returning the script as the “404 page” or whatever you want to call it.

    Plugin Author Jeff Starr


    Thanks John, that is helpful information that will be applied to next update.

    Great stuff. I will try this solution later today and report back.

    I just implemented John’s fix and I can confirm it worked. Thanks John 🙂

    Plugin Author Jeff Starr


    Implemented in v20131107! Thanks again, John 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Adding extra images doesnt work (Cant load usp.php )’ is closed to new replies.