Imagine the following situation: One user leaves the browser window.
What happens? No other user can place a bid.
If you’re using ajax to fire up the bid, then you can add the wp_check_post_lock()
function in there. And also remove the lock. So the post is only locked as long as someone is actually placing/sending the bid. As this will only last for some ms, you have successfully worked around the post lock problem.
Edit
There’s a new “post lock” feature for post types coming. This will be in 3.6 or 3.7. So far, no further details are known.
Related Posts:
- Front-End Post Submission
- Ajax Load More Posts in Category Page
- How to upload post thumbnail while wp_insert_post?
- How to load paginated post pages via ajax
- Getting the post_id in wp_ajax function
- Publish pending article from front end with a button?
- Get names of authors who have edited a post
- Can I load posts via Ajax?
- Load posts dynamically
- Developing a secure front end posting form
- How to load post content on index page using ajax when post title in sidebar is clicked
- Developing a secure front end post editing form
- How to use oEmbeds on Post Content during AJAX requests
- Post from front-end only by logged in users, form posts as “posted by:
- upload featured image from front end using wordpress add media button
- This AJAX Code Doesn’t Work – Looking for elegant solution
- Post & edit a post from front end along with upload, dropdown, and other inputs
- Cannot access current post’s ID in custom plugin
- Load post content into div with ajax
- POST from jQuery to PHP
- “Uncaught SyntaxError: Unexpected token
- WordPress theme ajax have_posts()
- Frontend Post Excerpt field mapping
- The correct way to call posts with ajax
- How do I use Ajax to show the new posts realtime, on the frontpage
- how load content as pop-up using ajax
- Frontend Post Form Validation
- Load content in a div with ajax
- How to create a load more post entries like Twitter?
- AJAX filter posts by year
- slideshow is not showing in a post call with ajax
- how to set beforsend option in wordpress ajax methods
- Filter Custom Post Type by Category with Ajax
- Ajax posts filter by date, comments, top views, top likes
- Add ajax load more function using WP API
- How to pass Post_ID variable from theme’s Single.php to custom Plugin using AJAX
- JSON – Permission Error?
- Ajax load more button in Recent posts widget
- Ajax Dynamic Archives not showing correct results
- WP_Query with ajax handler returns the same posts
- Redirection not working in this front end post submission form?
- Two loops, one AJAX loop, exclude posts in first loop from second loop, loops are in different files
- Ajax post filters not working
- Loading post with Ajax
- How to change the color theme per post?
- Send post id through ajax and get the post content back
- Adding an image to a non existing post
- How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?
- Using ajax on editing a category edit page?
- Change Post Status From Front End
- Dynamic dependent Dropdown lists for categories, sub-categories and posts
- 404 error on default post type and default taxonomy fronted page
- Auto-realod with new posts // Ajax call
- Dynamically switch template on click
- Front end post submission form with duplicate type fields
- Replace image name on upload to the new post name on front-end form
- Edit the post title from the frontend
- wp_query with ajax
- Call current post URL in ajax
- After ajax image is outside the “ tag
- Retrieve post in AJAX Callback
- Using AJAX and PHP to load next post object
- Can i have more than one form for front end posting in one template [closed]
- Get Users Post ID
- WordPress wp_editor to post and edit
- Automate post update for all posts?
- How to limit post (Exception pages) for current user in each role in front end?
- Using AJAX to filter posts without refreshing page
- Passing values via an Ajax querystring
- Unable to delete attached file from folder programmatically
- Javascript – How do I get specific post fields?
- how to filter posts by category without page load (ajax) in wordpress?
- Ajax: load content from post I clicked
- WP Ajax returning 0, can’t find action
- call to jquery ajax failing with 500 error when passing extra data field
- Many buttons not functioning in WordPress dashboard (as admin)
- How to generate an HTML link automatically from URL in a users’ post
- how let users select categories for posts in frontend?
- Ajax post doesnt call succes after got the response
- AJAX load more posts not using correct category and repeating the same few posts
- Order result from ajax
- Ajaxify Post Sort
- Colorbox not working on native WordPress gallery when gallery is loaded thru AJAX
- Dynamically load posts based on category
- WP_Query extended with AJAX
- Ajax the create and edit post form into lightbox and get results
- Allow reader to reorder posts for themselves (oldest first)
- Ajax – Post Categories and Load More
- Post/Edit/Delete Post From Frontend… How?
- Send/Publish a Post front end
- WP Load post with ajax and apply isotope
- How to get posts from network blog
- How Can I Limit Users to Post Creation For My Frontend Theme?
- User driven content problems
- Adding a time stamp on post view
- Create post from form with image
- Stop Authors from submitting spam post
- Ajax calls in wordpress
- How to make ‘show_option_all’, that comes from wp_list_categoreis, to work with get_categories or with get_terms?
- WordPress Ajax load doesn’t work