Forums

[resolved] Anonymous users posting images and blog from website? (8 posts)

  1. micasuh
    Member
    Posted 4 months ago #

    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?

  2. Shane G
    Member
    Posted 4 months ago #

    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.

  3. micasuh
    Member
    Posted 4 months ago #

    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!

  4. micasuh
    Member
    Posted 4 months ago #

    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.

  5. makdime
    Member
    Posted 3 months ago #

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

  6. micasuh
    Member
    Posted 3 months ago #

    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.

  7. makdime
    Member
    Posted 3 months ago #

    Thanks micasuh!

  8. Jezzo44
    Member
    Posted 3 months ago #

    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 !!

Reply

You must log in to post.

About this Topic