To achieve User generated Deletion of Post

Community Forums Forums Design Tips and Tricks To achieve User generated Deletion of Post

This topic is: not resolved

Tagged: , , ,

This topic contains 2 replies, has 2 voices, and was last updated by  UT Mod 1 year, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #78797

    UT Mod

    What we have >

    > working CPT as “Classifieds”
    > name, contact numb and email of user who posts classified, stored in db (via gravity forms)

    What we need >

    > a method by which user can initiate delete request for a classified that he/she posted

    Idea to implement >

    > We can put a button called “Ask to Remove” on each post (of cpt)
    > when user will click on it, a popup should appear, asking for his/her name, contact number and email that they used while posting that classified.
    > if the 3 parameters are correct, post should show “Deal Closed” (in place of “Deal Open” text, mentioned in posts)
    > if parameters don’t match, a custom message should be shown.

    Can anyone please suggest of how this can be achieved, since we believe this will require some ajax/jquery methods. Thanks for any help!

    Sridhar Katakam

    Wouldn’t it be simpler to just let users submit a classified form to the CPT AFTER they are logged into the site so that they can delete/unpublish their submissions (CPT entries) themselves (after logging in) ?

    Justin Tadlock’s Members plugin makes it possible to create new user roles and assign just the right capabilities.


    UT Mod

    @sridhar: As of right now, we do not want user to log in. We are planning something else for future, when we will have much more stuff for user to do, when he logs in.

    So, right now, we need something where user can just use the interface without being logged in.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.