Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-28 14:17:23

FireFusion
Member
Registered: 2005-05-10
Posts: 698

[request] "Currently being edited by" flag

I can see why Article, page or form locking wouldn’t work but if someone could make a plugin that showed an alert message if someone else was editing this resource it would be very helpful. It could have a configurable timeout period where it would disappear if nothing had happened.

Offline

#2 2007-06-28 17:43:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [request] "Currently being edited by" flag

You could make it work like a checkout system: click a button to check it out/in, and you either get the buttons or a message depending. Then your only worry is making sure to remember to check stuff back in so others know you’re done with it.

Offline

#3 2007-07-01 11:13:46

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: [request] "Currently being edited by" flag

Yeah that could work. What will jQuery add in terms of AJAX functionality? Because I could see it being like a radio button on the right side.

An ExpressionEngine dev just released a plugin that is the sort of thing I was thinking of.

Offline

#4 2007-07-04 21:14:37

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: [request] "Currently being edited by" flag

Firefusion: inspired by your link I tried making this earlier today. It does some things in a sillyish way inside, but give it a go? It doesn’t do locking, just notifies if someone just opened the same article. Current time window is 5 minutes.

Go to extensions to install the table. If it doesn’t do anything else, it should whine not having one.. Do backup to be on the safe side.

Last edited by anoke (2007-07-04 21:15:48)


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#5 2007-07-09 07:12:42

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: [request] "Currently being edited by" flag

Hey anoke – thank you for that pluggin – I have it in a test environment at the mo and will let you know how it goes.

Offline

#6 2007-07-09 07:26:15

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: [request] "Currently being edited by" flag

Cool Anoke!

Certainly the sort of thing I’m looking for.

I think this is the first plugin to make use of jQuery.

Offline

Board footer

Powered by FluxBB