WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Providing Support: Two Admins 'editing' at once. (9 posts)

  1. TCBarrett
    Member
    Posted 1 year ago #

    I have the following scenario:
    Someone rings me on the phone, they want to know how to add a link to some text in a page. They have the page open as an administrator, editing it.

    What I usually do:
    Open the same page, and mimic the actions on the page whilst talking through it on the phone. Sometimes the person ringing adds the links, sometimes I do. Either way a quick refresh by the other party shows success or failure.

    My question:
    Is this possible with the new revisions/take control feature? Is there a way to still provide support in this way?

  2. Why not open a separate page? When I do that support (and yes, I do), I open my test site and mimic it, so I can be sure not to screw up their site :)

  3. TCBarrett
    Member
    Posted 1 year ago #

    Client: "I've done what you said, but it isn't working"
    Me: "Let me have a look"
    *back to my original scenario*

    I very much understand that the current set-up-to-be might be the right way of doing things, but clients just won't care or understand. I see this as being a feature that the first thing we do with it is hack it away.

    It is a nice to have, and works well in some (most?) situations, but not when you just need to have two people have the admin page open at the same time.

  4. TCBarrett
    Member
    Posted 1 year ago #

    Looking at RC1, I suspect that all our themes will come with the following code:

    add_filter( 'show_post_locked_dialog', '__return_false' );
    add_filter( 'get_post_metadata', 'stop_lock', 10, 3 );
    function stop_lock( $dummy, $object_id, $meta_key ){
      if( $meta_key == '_edit_lock' )
        return false;
    }

    I totally see that the locking is nice, however our clients are not going to accept it. We need a way to manage it/disable it/introduce it slowly. Something other than 'bang, take it or leave it'.

    It would be nice if it was a setting (filter) of it's own, rather than digging through get_metadata() function filters.

  5. You may want to make a wporg plugin for that. You're probably not the only one who will find it frustrating in the long run.

  6. TCBarrett
    Member
    Posted 1 year ago #

    So, having marked this as resolved, are you saying that the filters I have posted are the complete and exhaustive solution to disabling post locking? Bearing in mind it will only work for post_type=post.

    I haven't missed anything, and there will be no nicer way of doing this?

  7. Well pending you opening a trac ticket to perhaps get a better filter added in, that is the only solution anyone's found.

  8. dragonsjaw
    Member
    Posted 1 year ago #

    Yikes, this will certainly be problematic with some clients.

  9. Sergey Biryukov
    WordPress Dev
    Posted 12 months ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.