vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=303731

Force Password Reset
by ozzy47
23 Oct 2013 03:55

As most vBulletin owners know, you can set a password expiry for your usergroups.

Sometimes after a hack, on your site, or you just feel the need to make all your members change their passwords, this can be a pain in the rear end.

Sure you can set the password expiry to 7 days, but then it will not ensure every user logs in, and changes it before that time, Any usey changing it right away would havr to change it once again in 7 mode days.

The solution!

Set your usergroups password expiry date to some time like 730.

Should you have alot of usergroups, and don't want to change them all individually, you can run this query in the ACP.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will set every usergroups password expiry to 730 days except for usergroup 6. Should you want to add more usergroups use this query.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will set every usergroups password expiry to 730 days except for usergroup 6, 5, 7.

Now to reset the users password date.

Run this query in the acp.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will set everyone's date back to two days before the expiry date except the userid of 1

Should you want to exclude more users, run this query.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will set everyone's date back to two days before the expiry date except the userid of 1, 2, 3

So now when any user logs into the forum, they will be forced to reset their passwords.


All times are GMT. The time now is 04:46.

Powered by vBulletin® Version 3.8.12
Copyright © 2018, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.