• Hi there,

    This plugin has worked great on my site for a long time.

    However – today every time I lock a user’s account it remains ‘Not Locked’

    Any ideas what’s up?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Probably because you have filtered/ordered your list. Plugin works only with strict /wp-admin/users.php url, without any url parameters.

    I have created a code snippet to fix this minor issue and provide multisite and individual profile edit support as well. https://github.com/lophas/lock_user_account/

    Thread Starter epgb101

    (@epgb101)

    Hey there…

    I didn’t know that – that is extremely helpful of you to post. I want to say this is a great plugin. I’ll get on to that straight away.

    Ed.

    Thread Starter epgb101

    (@epgb101)

    Hi there..

    FYI I have not changed the way I have been locking accounts. I search for profile under https://www.site.com/wp-admin/users.php – then select checkbox to left of profile > bulk action > Lock > Apply and it’s always worked.

    I removed filter parameters and refreshed page so I have https://www.site.com/wp-admin/users.php?s=uername > then lock – but it does not work for me (I’m probably doing it wrong as you say).

    So, may I ask – where do I place this file that you kindly updated fix_Baba_User_Meta.php (or do I copy the code to an existing file?)

    Github never explains what to do with the files programmers upload for people like me who are not experts.

    Thank you.

    • This reply was modified 1 year, 5 months ago by epgb101.
    • This reply was modified 1 year, 5 months ago by epgb101.
    • This reply was modified 1 year, 5 months ago by epgb101.

    You may drop the fix_Baba_User_Meta.php file into your /wp-content/mu-plugins/ folder

    OR copy the code content into your functions.php in your theme folder

    I tried adding the file to my mu-plugins directory and it basically broke my website. I had to remove it. I tried adding to the normal plugins directory and it did nothing…

    Im looking at the code, and it doesnt look like code that would fit into the functions.php file. do you suggest literally copying and pasting all of the code from that php file into the bottom of functions.php?

    Any other update on fixing this for everyone by providing a plugin update?

    thanks for the support!

    Plugin Author teknigar

    (@babatechs)

    Hello,

    The issue has been fixed in the latest update V 1.0.5. Apologies for the inconvenience.

    • This reply was modified 1 year, 5 months ago by teknigar.
    Thread Starter epgb101

    (@epgb101)

    Hi

    I updated plugin then tried searching and selecting the username to lock in site.com/wp-admin/users.php?s=username&action=-1&new_role&paged=1&action2=-1&new_role2 then Bulk Actions > Lock > Apply – but it remains unlocked. I think maybe it’s because I’m using BuddyPress and it is designed for WP.

    Thanks.

    Plugin Author teknigar

    (@babatechs)

    Hello,

    can you please try with deactivating buddypress for a while?

    Thanks

    Thread Starter epgb101

    (@epgb101)

    yes I will and get back to you…. ??

    Thread Starter epgb101

    (@epgb101)

    Hi.

    I disabled BuddyPress – then tried the same action described above on same user and still did not lock. So I had to mark user as ‘spammer’ for now (this deletes their BP profile data – so if it turns out after investigation they are not spammer they have to start again which is why I like your plugin ??

    Thanks

    Hi,
    same issue here.
    User lock is not working any more.

    I tested on a fresh install with Twenty Twenty-Four theme and no other plugins active.

    Any help?

    Thanks

    Plugin Author teknigar

    (@babatechs)

    Hello @aledef,

    Can you please contact me via my email address [email protected] so I can help you efficiently.

    Thanks.

    Hi teknigar,
    I tested your plugin ( Version 1.0.5 ) on two different Wp fresh install ( WP 6.4.1, PHP 7.4.33 ) on two different domains, with Twenty Twenty-Four theme and no other plugins active.

    User lock is not working on both websites..

    Please note that version 1.0.3 works on both websites so I am pretty sure there must be some issues from version 1.0.4

    I wonder if you have also carried out tests of this type and found no issues.
    Anyway I wrote you a mail.

    Have a nice day

    Thread Starter epgb101

    (@epgb101)

    Hi all..

    I tested @lophas file on Github in mu-plugins and it worked great – I can now Lock from Profile in wp-admin! Thank you my friend @lophas. The one thing that I couldnt get working was Locking from the [x] > Bulk Actions > Lock. But I shall not complain! Very pleased I can now lock users again. (still not sure why it stopped working from Bulk Actions :))

    Same issue here.
    Bulk actions not working from version 1.0.4 on, they work on version 1.0.3

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Locking Stopped Working’ is closed to new replies.