The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
[high]THIS HACK WILL NOT WORK IN VB 2.2.0 AND UP! DO NOT ATTEMPT TO INSTALL IT!
Go to https://vborg.vbsupport.ru/showthrea...threadid=33068 for the appropriate hack[/high] This is something I've wanted to do for a long time, and since someone mentioned it in the Suggestions forum, I figured I'd write the hack Purpose: When a new user regsiters, he is e-mailed a password generated randomly. He will not be able to log in until he receives this e-mail and uses that password. (the same happens if an existing user changes his e-mail address). After installing this hack, you will have three options essentially: 1) Don't verify the e-mail is valid. In this case the user selects his own password and nothing is sent to him. 2) Verify the e-mail is valid by sending an activation code This is how vBulletin works now: a user selects his own password during registration, and the BB Mailer sends him an activation code / link that he needs to use before he's able to post 3) Verify the e-mail is valid by sending a random password In this case the user DOES NOT select a password but instead he receives a randomly generated password by e-mail. He will not be able to log in / post until he receives and uses this password. The installation includes: 1) Running a script that updates your database (adds an option "Send New Users Random Password?" with default "NO" -- to preserve your currect state). 2) Editing three scripts (register.php, member.php, admin/functions.php) 3) Editing two templates (registeradult, registercoppa) and adding three new templates (small ones). If you have questions, I'm here Cheers, Bira Show Your Support
|
Comments |
#12
|
||||
|
||||
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. |
#13
|
|||
|
|||
mmm,,
Is there a way to send all the unactivated members a new password? instead of still requiring them to activate themselves. |
#14
|
||||
|
||||
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. |
#15
|
|||
|
|||
thank you bira
good hack min |
#16
|
|||
|
|||
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". |
#17
|
||||
|
||||
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' Code:
DELETE FROM user WHERE usergroupid='3' AND posts='0' AND joindate<'986500000' |
#18
|
|||
|
|||
Thank you bira,
I'll try that. |
#19
|
||||
|
||||
Is this hack for rc1 or rc2 ?
get a parsing error in register.php line 204 /207 |
#20
|
||||
|
||||
rc2
|
#21
|
||||
|
||||
lol than I must upgrade
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|