Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Force New Password Details »»
Force New Password
Version: 1.00, by Floris Floris is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-12-2003 Last Update: Never Installs: 7
 
No support by the author.

/*================================================= =====================*\
|| # Force New Password (en masse) - Requested by Cary from vBulletin # ||
|| # Author: xiphoid (info@vbulletin.nl) - version 1.10 for vB 2.3.0 # ||
|| # All PHP code in these files are ?2003 by their respected owners. # ||
|| # None of the files may be redistributed outside of vBulletin.org! # ||
|| # No (real) animals have been hurt during the making of this hack! # ||
\*================================================ ======================*/


##### Information

This hack integrates with the admin/email.php file from which you are then able to choose to mass email your users a new password, which it randomly generates (automaticly).
This hack is written on request by Cary (vBulletin.com Team Member) who needed it for a web site that converted from snitz forum to a vBulletin powered forum.
This hack will ONLY work if you have Sparkz hack installed 'Email users regardless of 'no mail from admin' hack' (http://www.vbulletin.org/hacks/index...ack&hackid=323)


##### Features

(version 1.00)
* You can keep using 'email to users' admin/email.php file as normal, this is just an extra feature
* You can 'test' without actually changing any password
* You can 'echo' the generated passwords for debugging or reference purposes
* The new features are restrickted to the userid that you set, to prevent abuse by other users with access to the admin control panel
* And ofcourse, you can now use 'email to users' mail form to inform your users they have a new password, by including $newpassword in the email and selecting the option
* All through the admin control panel !
(version 1.10)
After testing this on a 2000+ user site, we found out there were a few bugs, so we fixed those.
Fixed: Sparkz hack - now really disregards users, not just the ones on the first x on a page.
Fixed: Will now actually set md5 hashes in the mysql and plaintext in the email.
Fixed: Parses the options you selected on next page, and not just the first one.


##### Credits

Jelsoft - for comming up with the great plan to code something up like vBulletin !
Cary - for thinking up this hack (and testing it on 2000+ user board)
Scott - for helping debugging and fixing the next-page issue
Erwin - for providing the line of code for the random generator and other advice
Sparkz - for the hack that lets us email everybody, regardless of their ignore-admin-emails setting
xiphoid - (me) for taking the time and effort to think up more code and integrate it and the new options into email.php [lol]


##### Extra (copyrights/disclaimer/policy)

I do NOT give permission to distribute any file, or any part of a file, from this hack outside of vBulletin.org!
If I do find this being released on any other web site, I will hunt you down and kill you.
I do not give permission to translate this hack into any other language then english, and re-release it. If I wanted it to be in german or french, I would have released it as such.
You ofcourse, are free to modify any part of the hack to your liking, just don't distribute or re-release it.
This hack requires you to have a valid license, and intented to be applied to unhacked vBulletin email.php file from version 2.3.0 - older versions should maybe apply some little changes, but I only support this version.
My support is limited, my knowledge and time restrickt me to what I can do for you. I owe you nothing. I released this after testing on 3 different 2.3.0 powered sites without any issues. This tells me it works. If you can't get it to work, you made a mistake.
I ofcourse, am not responsible for your database changes, failure of working or any other damage to your data, files, users, dog or car.
You apply the changes, I assume you therefor know what you are doing. My only advice: make a backup before you make any changes or run the new feature.
Support goes through this thread on vBulletin.org only. If you email, icq, PM, irc me about it. I will give you code that will destroy your database. [lol]
Enjoy


##### Installation instructions

In the .zip file


##### Upgrade instructions

To upgrade from 1.00 to 1.10 apply Step 3 F (just that one)


##### Screenshots

In the .zip file




Enjoy!


xiphoid

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-13-2003, 10:15 AM
empreur76 empreur76 is offline
 
Join Date: Nov 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx !! i'm test
Reply With Quote
  #3  
Old 04-13-2003, 10:17 AM
DRR DRR is offline
 
Join Date: Apr 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NICE *installing*
Reply With Quote
  #4  
Old 04-13-2003, 11:17 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:58 AM xiphoid said this in Post #1
If you email, icq, PM, irc me about it. I will give you code that will destroy your database. [lol]

Lol!!!!


Great hack, will be of some use to me - Thanks Xiphoid

[high]* assassingod takes a bite out of the install button[/high]
Reply With Quote
  #5  
Old 04-13-2003, 11:32 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:09 PM empreur76 said this in Post #2
thx !! i'm test
You are test ? :speechless:

Quote:
Today at 01:11 PM DRR said this in Post #3
NICE *installing*
Glad you seem to like it, hope installation goes smoothly.

Quote:
Today at 02:11 PM assassingod said this in Post #5
Lol!!!!


Great hack, will be of some use to me - Thanks Xiphoid

* assassingod takes a bite out of the install button
Good! :bunny: Happy to hear it doens't only give Cary pleassure
Reply With Quote
  #6  
Old 04-13-2003, 11:49 AM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and working without a hitch! One thing though, you have the last two steps in reverse order. One has to scroll up from the previous step to do the last one. No problem really, just potentially a little confusing.
Reply With Quote
  #7  
Old 04-13-2003, 11:52 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear it works like a charm!

The instructions don't read 'further below, you will find ...' but just 'find this code'. The order shouldn't matter.
Reply With Quote
  #8  
Old 04-13-2003, 12:29 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I've had a report of 'a few' empty emails. Mine was ok and so were others.
Reply With Quote
  #9  
Old 04-13-2003, 12:34 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ask those members to forward their emails to you, and you forward it to info@vBulletin.nl and I will go and check it out.
Reply With Quote
  #10  
Old 04-13-2003, 12:55 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just sent you one there.
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 02:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09622 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete