Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2003, 03:47 AM
Cary Cary is offline
 
Join Date: Apr 2002
Location: Memphis, TN
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issue New Password To Every Member

Hello!

I searched the forums and hack database for this, but couldn't find anything of this sort.

Is anybody willing to write some sort of a script to issue new passwords to all of the Member's of a vB Board? I'm in the process of transfering a Snitz board to vB and I need something like this.

Is anybody up to it?

Thanks!
Reply With Quote
  #2  
Old 04-13-2003, 06:52 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cary, done!
Contact me on IRC

At the moment it integrates with the normal email.php script from vBulletin. So you can select on user, usertitle, usergroup, join date, visit date, etc - just as normal.

It has sparkz script integrated to also email users who have set to ignore admin emails - so you are sure every member get it.

It automaticly generates a new password and you can just add it to the email as

Your new password is: $newpassword

And you can select to do this, or not. So you can still use email.php as normal.

You can also select to display the new password while sending the emails, so you can have a copy yourself, for either debug reasons, or to help users who didn't receive the email or whatever.

You can also select 'test' and set to enforce new pass and echo out, but it won't send the email and it won't actually set a new password. So you can normal test email and newpass test email.

Credits will be given to sparkz for the admin_email_enforcer and to erwin for the random_generator_code and to me for realizing it and integrating it with vbulletin and sparkz hack and making it work with version 2.3.0 of vbulletin and because i just wanted to pat myself on the back because it only took me a very short time to make it (to my suprise)
Reply With Quote
  #3  
Old 04-13-2003, 08:27 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what I use:
Attached Files
File Type: txt assign and email members passwords.txt (2.8 KB, 41 views)
Reply With Quote
  #4  
Old 04-13-2003, 08:29 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot
Attached Images
File Type: jpg emailnewpassword.jpg (56.5 KB, 0 views)
Reply With Quote
  #5  
Old 04-13-2003, 09:45 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Our hacks are close logician,
I will release mine in a second, I am still writing the installation instructions.
Reply With Quote
  #6  
Old 04-13-2003, 10:06 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=1143" target="_blank">http://www.vbulletin.org/hacks/index...ck&hackid=1143</a>

Done.
Reply With Quote
  #7  
Old 04-13-2003, 04:00 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, the easiest way would be to run this query:
[sql]UPDATE user SET password='' WHERE userid!=1[/sql]

then every password is emtied and everyone has to use passwordrecovery.
It's not that nice than your scripts, but it does what needed
Reply With Quote
  #8  
Old 04-13-2003, 04:11 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:54 PM Xenon said this in Post #7
hmm, the easiest way would be to run this query:
[sql]UPDATE user SET password='' WHERE userid!=1[/sql]

then every password is emtied and everyone has to use passwordrecovery.
It's not that nice than your scripts, but it does what needed
hehe of course.. I thought about saying the same thing before posting the hack but well since the requester is a vb team member, I thought I dont need to remind this
Reply With Quote
  #9  
Old 04-13-2003, 04:23 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about security breach ?
Reply With Quote
  #10  
Old 04-13-2003, 04:43 PM
Cary Cary is offline
 
Join Date: Apr 2002
Location: Memphis, TN
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much xiphoid! I owe you.
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:25 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.04393 seconds
  • Memory Usage 2,272KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete