vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Issue New Password To Every Member (https://vborg.vbsupport.ru/showthread.php?t=51547)

Cary 04-13-2003 02:47 AM

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!

Floris 04-13-2003 05:52 AM

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)

Logician 04-13-2003 07:27 AM

1 Attachment(s)
Here is what I use:

Logician 04-13-2003 07:29 AM

1 Attachment(s)
screenshot

Floris 04-13-2003 08:45 AM

Our hacks are close logician,
I will release mine in a second, I am still writing the installation instructions.

Floris 04-13-2003 09:06 AM

<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.

Xenon 04-13-2003 03:00 PM

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 ;)

Logician 04-13-2003 03:11 PM

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 :)

Floris 04-13-2003 03:23 PM

How about security breach ?

Cary 04-13-2003 03:43 PM

Thank you very much xiphoid! I owe you. :)


All times are GMT. The time now is 07:32 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.01595 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)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
  • (10)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