• Resolved micasuh

    (@micasuh)


    I want to let anyone come to my website and submit a story and photo using the wordpress Posts form.

    When they upload a photo and submit the story, it would then sit in the Posts as a draft until I view it and publish it. I don’t want to require uesrs to register either.

    Is this possible?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Yes, it is possible..for that first you have to assign 755 recursive permissions to wp-contents folder..

    -> design a form and set photo/image upload path to a directory which is inside wp-contents directory..

    -> Set database query on submit to add details in the wp_posts table and set an option of publish to “0” or draft “0” in the query so that it can be save as draft..

    Thanks,

    Shane G.

    Thread Starter micasuh

    (@micasuh)

    Wow Shane, that’s awesome information except I’m still an novice at PHP!

    First, I’m not exactly sure how to design a usable form for this. Would I kinda mimic how Cforms or Contact Form 7 work and just point the directory to the “755” folder?

    For instance, like this?

    <form action="[what do I reference here?]">
    <fieldset>
    <input type="file" />
    <textarea></textarea>
    <input type="submit" value="submit" />
    </fieldset>
    </form>

    If so, I’m not sure where to assign the upload path. I also don’t know how to modify the submit query for wp_posts table!

    Could you or someone please help? Thanks!

    Thread Starter micasuh

    (@micasuh)

    I found a plugin which assists me in this, although the code is messy. I wish there was a simpler way, however. I’ve been using Yet Another Photoblog plugin as well and integrating the two would be awesome.

    Micasuh, can you tell me what plugin you used for your project? I have a very similar project I’m working on. Thanks!

    Thread Starter micasuh

    (@micasuh)

    Hey Makdime, it’s called TDO Mini Forms. It took me quite a while to set it up and get it to work correctly, however.

    I’ve also heard from others that WordPress might not the best job for this functionality. This kinda of behavior is already built in to more complicated CMSes such as Drupal and Joomla.

    Thanks micasuh!

    how can i set up my website to let visitors post or comment on questions that i or they post.I am so new to computer world so please speak in simple English lol.

    Thanks for any help u or anyone can give me Jezzo !!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Anonymous users posting images and blog from website?’ is closed to new replies.