vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Release vb2.0] Send random password instead of activation code (https://vborg.vbsupport.ru/showthread.php?t=15987)

bira 05-05-2001 06:35 PM

Essam, they can still activate themselves. That system did not get impaired in any way.

bokhalifa, this is the template email_lostpw -- it's the same template that people get when they lost their password and request for it.

Essam 05-05-2001 06:48 PM

mmm,,
Is there a way to send all the unactivated members a new password? instead of still requiring them to activate themselves.

bira 05-05-2001 06:54 PM

Essam, go to the Control Panel -> Usergroups. Click in 'list users' next to Users Awaiting Email Confirmation. For each user you can:

1) change his usergroup to 'registered'
2) click on 'send password'

If you have more than a dozen or so, let me know and I'll write you a quick script to run to do that in a batch.

bokhalifa 05-05-2001 07:35 PM

thank you bira

good hack min;)

Essam 05-05-2001 07:54 PM

More than a dozen?! :)
I have 1319 member awaitning confirmation

I would really appreciated if you write me that hack. The hack will send a random password right?
Cause for the normal password this can be done from "Email Users".

bira 05-05-2001 08:12 PM

Essam with so many, I would actually recommend you delete them, because there are bound to be a lot of duplicate people who tried several times, or people who tried a long time ago and forgot about it.

If, however, you want to send them a password anyway and don't mind about "dead" registrations, then you could just do the following two steps IN THAT ORDER:

1) email password to all the users in the "Users Awaiting Email
Confirmation"

2) AFTER sending the e-mail, run a MySQL query via phpMyAdmin:

Code:

UPDATE user SET usergroupid='2' WHERE usergroupid='3' AND posts='0'
Personally, I would recommend you delete all those accounts who are, say, one month old. If you want to do this, then run the following command BEFORE you do steps 1 and 2 mentioned above:

Code:

DELETE FROM user WHERE usergroupid='3' AND posts='0' AND joindate<'986500000'

Essam 05-05-2001 08:20 PM

Thank you bira,
I'll try that.

-dloh-hammer 05-08-2001 07:37 PM

Is this hack for rc1 or rc2 ?

get a parsing error in register.php line 204 /207

bira 05-09-2001 05:50 AM

rc2

-dloh-hammer 05-09-2001 11:57 AM

lol than I must upgrade :)


All times are GMT. The time now is 01:22 AM.

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.01170 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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