The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Force New Password Details »» | |||||||||||||||||||||||||
/*================================================= =====================*\
|| # 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
|
Comments |
#22
|
|||
|
|||
Then we can conclude it is due to alternation :>
|
#23
|
||||
|
||||
Well, the hacked email file is fine too. It's just when I apply the password change.
As for those that got NO email, they got one fine when I just sent a regular email, even WITH the hacked file... so it's something to do with applying the password reset. So do you want me to send more blank emails or do you just need the one example? |
#24
|
||||
|
||||
Do we need to change anything to get this to work on 2.2.9?
|
#25
|
||||
|
||||
Update: Even with a virgin email.php file some users aren't found by a user search so that's why emails weren't arriving. (I'd only tested one name before). Still, one user did get an email where they didn't before. :/
Conclusion: The 'emails not arriving' problem is mainly to do with vBulletin, not the hack. |
#26
|
||||
|
||||
Quote:
this function "vBmail()" in email.php file is in vb 2.30, not 2.29. This hack seems to be dependent on that function to work. The line in email.php v2.29 that comes close to this begins with $mail ... I had to completely re-write filburt's latest 2.30 hack to get it to work in 2.29! |
#27
|
||||
|
||||
Update on my poll situation. So far, out of 26 votes 23 say they had blank emails. I was one of the 3 that didn't.
|
#28
|
|||
|
|||
Weird - well, the number is gladly low enough to change them manually.
I hope Cary can enlight us if he has the same issues, he is doing a big board. |
#29
|
||||
|
||||
Yeah, I don't trust poll statistics anyway. It tends to be those that have the trouble that feel inclined to respond to posts.
|
#30
|
|||
|
|||
Version 1.10 is out, which is actually a bug fix.
Maybe this also solves your blank email problem. (Could also be that vBmail(); can't handle more then 200 emails per page, max!@! Each user it emails, it also does a query, so lower it to like 30 users per page to avoid timeout errors and maybe blank emails) |
#31
|
||||
|
||||
I see no upgrade instructions. Only instructions for a fresh install.
Is too tired to work it out at the moment. Will probably do that later. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|