WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Page locking in multi author environment
  • Print
Pages: [1]   Go Down

Author Topic: Page locking in multi author environment  (Read 12023 times)

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Page locking in multi author environment
« on: October 23, 2009, 02:58:44 PM »
This patch / fix prevents from concurrent editing and saving pages if more then one author works in the backend.
It's really easy to implement and doesn't touch the logic of any other function from WB.

Features:
  • possible to switch on/off the locking in backend
  • Locking lifetime is setable to your own needs

ATTENTION: This is NOT a official feature of WB. Future Updates of WB will not take care for this modification. There is NO support by WB-Teams.

How to install:
  • extract the zip-file.
  • upload all folders and the activate_patch.php to your server(overwrite-mode).
  • call the activate_patch.php (delete this after).
  • go to backend->advanced options and enable page locking.
  • done.
tested and works for wb 2.8.1  (but on your own risk)
works also for wb-portable.

a little piece of hope: There is already a open Ticket #824 for this.

enjoy
DarkViper

[gelöscht durch Administrator]
« Last Edit: February 09, 2010, 10:05:21 PM by DarkViper »
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Page locking in multi author environment
« Reply #1 on: October 23, 2009, 09:47:05 PM »
This is very interesting..

Who can lock/ unlock page ?
Logged
Web developer

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Page locking in multi author environment
« Reply #2 on: October 23, 2009, 11:08:36 PM »
you can do..  :-D

every time you open a page in editor, this page will be locked for all others authors.
if you close the editor, the lock will be removed.
in case of a crashed browser, system down ...  the lock released after a scalable time. Also if you open another page to edit..
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

LordDarkman

  • Guest
Re: Page locking in multi author environment
« Reply #3 on: October 24, 2009, 01:10:04 AM »
Nice patch but to late to test today. But I tell you tomorrow.

CU Moritz
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Page locking in multi author environment
« Reply #4 on: February 01, 2010, 04:27:05 PM »
good idea this patch.
a first try at wb 2.8.1 rc3 works fine.  :-)

good job!

should be a feature in the official wb-version...

edit: - copy&paste from a pdf is not easy to use (line-numbers).

          -  a error is in the ./admin/settings/index.php  with :
            + 647 'TEXT_LOCKING_ACTIVA TED' => $TEXT['LOCKING_ACTIVATED''],

dbs
« Last Edit: February 01, 2010, 04:33:58 PM by dbs »
Logged
https://onkel-franky.de

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Page locking in multi author environment
« Reply #5 on: February 01, 2010, 04:30:42 PM »
I also agree that this sould be an option. Thisi is simple, If I am author, turn on/of editing..

But I would add that only Group 1 - Main administrator group can unlock it..
Logged
Web developer

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Page locking in multi author environment
« Reply #6 on: February 01, 2010, 11:55:47 PM »
Quote from: crnogorac081 on February 01, 2010, 04:30:42 PM
I also agree that this sould be an option. Thisi is simple, If I am author, turn on/of editing..
But I would add that only Group 1 - Main administrator group can unlock it..

No.. nobody can lock or unlock a page manually. It works unintended in Background.
You can switch on/off the functionality itself and set the timeout for autorelease locks.
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Page locking in multi author environment
« Reply #7 on: February 10, 2010, 09:25:04 PM »
maybe the new zip as attchment for the ticket? ;-)

dbs
Logged
https://onkel-franky.de

Offline Bramus

  • Posts: 608
  • Gender: Male
    • BRAMUS Internet Services
Re: Page locking in multi author environment
« Reply #8 on: February 18, 2010, 11:38:17 AM »
This sounds interesting, has anyone fully tested it on a 2.8.1 installation?

So is it safe to implement it in a standard installation?
Logged
BRAMUS Internet Services

Waldschwein

  • Guest
Re: Page locking in multi author environment
« Reply #9 on: February 18, 2010, 11:41:22 AM »
Hello!

Perhaps an idea: Combine this feature with http://nettest.thekk.de/docs/wysiwyg_history/files/naturaldocs_txt/title-txt.html in the next WB major version.  :wink:

Yours Michael
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Page locking in multi author environment
« Reply #10 on: February 18, 2010, 12:10:46 PM »
@bramus: tested on standard wb2.8.1 installation and also with last wb-portable2.8.1.
don't try it for wb2.8.0, the files are to different.
you should make a copy of your live-installation and run this with wb-portable, than try the page_locking-snippet.

@waldschwein: maybe, but these are 2 different things.
both should be parts of next standard-wb.  :-)

dbs
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Page locking in multi author environment
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2