![]() |
Restrict login to specific userid(s)?
I'm looking for a way to make my boards "read only" rather than turning them off while we're migrating sql to new servers and thought this approach might work. I'm thinking a plugin could be made for global_start that might work after we kill all sessions. Any suggestions on how to do it?
There was a request for Backup Mode that's very old, but it's based on the same issue. |
To disable most logins, you could add a plugin to the login_verify_success hook:
Code:
// untested, you need to test it out !! |
Thanks, I tried it out on a test board and it didn't block userids I specified from logging in.
|
You could maybe do it a different way. Add a conditional in your template which prevents people from seeing your website altogether once logged in.
|
All times are GMT. The time now is 09:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|