vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Password Expiration Policies (https://vborg.vbsupport.ru/showthread.php?t=45842)

JulianD 11-17-2002 10:00 PM

Password Expiration Policies
 
Here's a hack requested here by kreatiV.

What it does?
- The users will be prompted to change their password every XX days (configured using Admin CP)
before browsing the forums. You have the option to store old password in the DB to prevent
users to reuse them.
- You can customize the password expiration date using the Admin CP when editing a user.
Useful if you want to set the password expiration time for a user to NOW.
- Usergroup driven (new in 1.01)

What to do?
- 5 files to edit
- 4 new templates
- 3 queries to run
- 4 new settings in vBulletin Options

New Versi?n 1.01 (attachment updated):
The script is now Usergroup driven. You can specify what groups to apply the policy in Admin CP > User Groups > Modify > usergroup you want to edit > Password expires.

If you want to upgrade the script, follow the steps at the end of the file.



You can find some screenshots in the next post.

If you have any problem, suggestion, bug report, please post them here.

Enjoy.

KelteN 11-17-2002 10:28 PM

Its kind of like the windows xp professional concept of changing your pass every month :D

JulianD 11-17-2002 10:32 PM

Yes, you can use it for that purpose. Personally, I won't use it in my forums, but it might be useful to others :)

JulianD 11-17-2002 10:32 PM

Here's the screen that appears when your password is expired

JulianD 11-17-2002 10:33 PM

And Some Admin CP options.

Link14716 11-17-2002 10:45 PM

Good hack, but I hope that nobody installs it on any board that I go to. I like having the same password. ;)

Mephisteus 11-18-2002 09:49 AM

I don't know about installing it, it might be usefull for some forums... I don't know about mine though...

Brad 11-18-2002 09:54 AM

Nice idea, wont use it myself tho.

Bison 11-18-2002 10:25 AM

What do you guys mean? This is a hack EVERYONE should use! This would help in preventing someone from from stealing users Login info. I used to have a problem where someone would steal a users Nick Name cause they may have registered the same password at another board!

Great job!

Mephisteus 11-18-2002 11:32 AM

It would increase security, but lots and lots of people find this very annoying

Neo 11-18-2002 05:11 PM

Thank god. I requested this like 4-5 months ago.

Dean C 11-18-2002 05:43 PM

Excellent idea...

But it could be unpractial and a nuiscance for some members :)

Excellent hack nevertheless

- miSt

Bison 11-19-2002 05:04 PM

Is it possible to modify this to alert certain user groups instead? I would like to assign this for the moderator group...

JulianD 11-19-2002 05:43 PM

Yes, it is possible... Let me see what can I do...

Bison 11-19-2002 07:45 PM

Thanks Julian! :p

N9ne 11-19-2002 07:50 PM

This is a nice hack and would be useful if it was usergroup driven.

It would add security if your mods and admins had to change their password every so often :)

JulianD 11-20-2002 02:22 AM

Quote:

Originally posted by N9ne
This is a nice hack and would be useful if it was usergroup driven.

It would add security if your mods and admins had to change their password every so often :)

Done. Check the 1st post.

Bison 11-20-2002 03:21 AM

Youda Man Julian! I'll install and test!

Mike11212 11-20-2002 03:36 AM

is there a way i can set it so only admins and mods are forced to change passwords?

JulianD 11-20-2002 04:27 AM

Quote:

Originally posted by Mike11212
is there a way i can set it so only admins and mods are forced to change passwords?
You can configure the admin and moderator usergroups to force the password change.

Mephisteus 11-20-2002 02:49 PM

Quote:

Finally, upload the file admin/expiry.php to your admin directory.
Where is this file?

JulianD 11-20-2002 05:37 PM

Quote:

Originally posted by DarkSSJ3


Where is this file?

Damn, I really hate when I forgot something.

The ZIP has been uploaded in the first post.

Bison 11-20-2002 07:26 PM

I used the old one anyway ... working fine so far!

Mephisteus 11-21-2002 03:08 PM

Quote:

Originally posted by JulianD


Damn, I really hate when I forgot something.

The ZIP has been uploaded in the first post.

thx :)

partang2 11-23-2002 07:55 PM

Might be usefull....

spaceb 11-24-2002 02:53 PM

hmm I have a little problem i installed the hack and it seems to work fine but now i added a new member from the control panel and he cant login he changed his pssword at least 10 times and still its asking him to change the pass and he cant do anything alway he only see the expire message :?

JulianD 11-24-2002 03:05 PM

Uhmm... Might be a bug... Let me check.

Obi-Wan 11-24-2002 06:04 PM

Kewl job man.

Definetly *install

vwvitek 11-24-2002 10:06 PM

I would like to use this hack for an online classroom, visited by my students from overseas, but I need an option which is not included in this hack yet: After expiration of the initial password, user MUST contact Admin to renew, otherwise he/she does not get into his account anymore. Under this option, the renewal should be following sequence of steps: (1) user with expired password gets a link to PM addressed to Admin with default text, requesting permission to renew password (2) Admin manually checks user's account as "eligible for one-time renewal" (3) After checking user's account, at the next login user's login screen changes from "Sorry, contact Admin ..." to regular password renewal screen (4) User logs into his account and renews his password.

Can you add this "no-renewal" option to your hack? I understand this add-on may not be attractive for everybody, so please contact me via e-mail if you would rather settle this add-on as a private project. Thanx for your good work, by the way!

JulianD 11-24-2002 10:12 PM

Hi vwvitek, it would require some modification to the hack, but let me see what can I do for you.

vwvitek 11-24-2002 10:19 PM

Quote:

Originally posted by JulianD
Hi vwvitek, it would require some modification to the hack, but let me see what can I do for you.
OK, thanks!

JulianD 11-24-2002 10:30 PM

Quote:

Originally posted by spaceb
hmm I have a little problem i installed the hack and it seems to work fine but now i added a new member from the control panel and he cant login he changed his pssword at least 10 times and still its asking him to change the pass and he cant do anything alway he only see the expire message :?
NOp, it's working for me when I manually add an user. Maybe you missed some step?

spaceb 11-28-2002 05:42 PM

hmm I dont think so but maybe it happens because another hack that i have installed? or something like this?

JulianD 11-28-2002 06:00 PM

Yeah, it is possible... If you need any help, I'd need to know what hacks you've installed.

Jadelit 11-30-2002 07:29 AM

This is a great hack!

What would make it even better, is an option that can show you who hasn't re-activated there password in XX days.

Jadelit 12-01-2002 11:36 AM

bump.

JulianD 12-01-2002 03:51 PM

hehe Thanks for your comments Jadelit. It's a good option to the hack... I might do it :)

Jadelit 12-01-2002 09:56 PM

=] Great to hear!

Bison 01-06-2003 05:20 PM

Just wanted to say that this is a fine hack, and it works very well! :)

Thank Again Julian!

ahiggs 01-16-2003 02:25 PM

I cant get it to work with vbb 2.2.9 I have no other hacks installed at the moment.

Admin CP shows everything correct but it try to force a user to change password it doesnt happen just acts like it isnt even in there I have redone the install procedure 3-4 times now and same thing.

Is it because of vbb 2.2.9?

any help is appriciated

thanks

Alan Higgs

http://www.prophecyguild.com/vbb


All times are GMT. The time now is 06:16 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
  • Page Generation 0.03418 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete