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!
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.
@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.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.