1. Osclass Forum
  2. Plugins
  3. Show blocked user to user who blocked and undo

Show blocked user to user who blocked and undo

Started by smos, January 27, 2022, 3:05 pm

  • 1

smos

Show blocked user to user who blocked and undo

on :January 27, 2022, 3:05 pm #589

If a user accidentally blocks someone, this can be undone by clicking unblock user in the message. However, if the message is also deleted there is no way to unblock the blocked user. As an admin I can manually unblock the user that has been blocked, but it would be more convenient if the user had an overview of the people he has blocked and can still unblock this.
Can I use the code I see as admin to show to a user or will they see every user that has been blocked and not just the ones they have blocked themselves?
Is it even possible to make this accessible to a user and especially how to ;-)

calinbehtuk

Re: Show blocked user to user who blocked and undo

on :January 28, 2022, 7:10 am #594

This is more complex, the code from admin will show all users. and can create a security issue if you don't know what you are doing.

  • 1
Subscribe
X

Subscribe!

Subscribe to get the latest listings, updates and special offers delivered directly in your inbox.