Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2013, 12:19 AM
Life Revived Life Revived is offline
 
Join Date: May 2013
Location: Michigan
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Mass forum password/reset notification?

Basically I just want to be able to make it where when a user logs in it requests that they change their password saying it as expired. I would use the expiry password option to the usergroup but if I set it to 7 days it won't matter to the people that don't login before that time. And if I have to enable it again the users that already reset their password will have to do it again and get annoyed.

Now the even better situation is if I can run something to be able to change everybody's password manually and then just send them an email explaining they need to change their passwords and I will include a link where they enter their email in and they can change it with that. Or if they try to login eventually with their old password it states that it has been changed and they need to do a reset with their email.

Any help with this would be appreciated. Thanks!
Reply With Quote
  #2  
Old 10-23-2013, 12:56 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do a backup first!

You can set the Password Expiry to 730, then run this query.

Code:
UPDATE `user` SET `passworddate` = '2011-10-20' WHERE `user`.`userid` !=1;
That will set everyone's date back to two days before the expiry date except the userid of 1

Then when every user logs in, they will need to set a new date
Reply With Quote
  #3  
Old 10-23-2013, 01:12 AM
Life Revived Life Revived is offline
 
Join Date: May 2013
Location: Michigan
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Do a backup first!

You can set the Password Expiry to 730, then run this query.

Code:
UPDATE `user` SET `passworddate` = '2011-10-20' WHERE `user`.`userid` !=1;
That will set everyone's date back to two days before the expiry date except the userid of 1

Then when every user logs in, they will need to set a new date
Will it also allow me to enter in more id's so it does not prompt them to change their password? Like !=1,2,3;

Also this is a normal query to run via acp correct? And by password date you mean it will just say your password is so and so days old and needs to be changed where they can do it right on the site correct.
Reply With Quote
  #4  
Old 10-23-2013, 01:34 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure use this format.

Code:
UPDATE `user` SET `passworddate` = '2012-10-22' WHERE `user`.`userid` !=1 AND `user`.`userid` !=2 AND `user`.`userid` !=3;
Yes you run the query in the acp.

Correct, it will give them the standard message:

Your password is 733 days old, and has therefore expired.

Please change your password using this page.
Reply With Quote
  #5  
Old 10-23-2013, 01:50 AM
Life Revived Life Revived is offline
 
Join Date: May 2013
Location: Michigan
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Sure use this format.

Code:
UPDATE `user` SET `passworddate` = '2012-10-22' WHERE `user`.`userid` !=1 AND `user`.`userid` !=2 AND `user`.`userid` !=3;
Yes you run the query in the acp.

Correct, it will give them the standard message:

Your password is 733 days old, and has therefore expired.

Please change your password using this page.
Ok thank you very much ozzy!
Reply With Quote
Благодарность от:
ozzy47
  #6  
Old 10-23-2013, 01:52 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, glad to help.
Reply With Quote
  #7  
Old 10-23-2013, 01:57 AM
Life Revived Life Revived is offline
 
Join Date: May 2013
Location: Michigan
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Not a problem, glad to help.
I would like your post to but it seems I've liked you a lot and won't let me haha. Keep up the awesome work and job around here dude!
Reply With Quote
  #8  
Old 10-23-2013, 02:00 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, alot of people run into that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:36 PM.


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.04148 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete