redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Take Over Notification

Open SilverKenn opened this issue 12 years ago • 7 comments

Here I go again. ;) Just had a though. We experienced this many times.

We have one site that has 4 developers. worst thing is when they are working at the same time and they're all in Theme Options.

So I was wondering if we could easily implement the "Take Over" Notification, like in wordpress post/page editor, that if someone is already editing that post/page, the new user who's going to edit that page will be notified that someone is currently editing it and have the options to "Take Over".

SilverKenn avatar Jul 21 '14 10:07 SilverKenn

That's kind of a tall order. Don't get me wrong, that's an interesting idea, but, unless there is some kind of kickstarter campaign to raise the money for such a thing, we're over doing massive amounts of work for free for a community that largely, for whatever reasons, don't want to donate to or support us. I get it sounds cranky, but it's where we are right now.

kprovance avatar Jul 21 '14 16:07 kprovance

It occurs to me, you're a smart kid. Code up an extension to do that and sell it. I think it's a 70/30 split in your favour, the sales are.

kprovance avatar Jul 21 '14 16:07 kprovance

Here's some docs to get you going: http://wordpress.stackexchange.com/questions/120179/how-to-disable-the-post-lock-edit-lock http://wordpress.stackexchange.com/questions/120179/how-to-disable-the-post-lock-edit-lock/120187#120187

Totally doable and very cool idea.

dovy avatar Jul 21 '14 16:07 dovy

yeah, have been looking into that already :) looks like this function is probably set for post type only, but maybe we can implement similar functions that can be found in herebefore loading Redux Option

thanks for the tips ;)

SilverKenn avatar Jul 21 '14 16:07 SilverKenn

It's really just the heartbeat API. You run a function and then enqueue some JS that's had on other pages and voila. I'd expect it would take a few days. I know it would be a really cool extension. Skype me if you need help.

dovy avatar Jul 21 '14 16:07 dovy

Oh look, the core function that does it all.

http://wpseek.com/_admin_notice_post_locked/

dovy avatar Jul 21 '14 16:07 dovy

Let me know how things progress. Closing this for now.

dovy avatar Jul 24 '14 18:07 dovy