The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
As per request, this is verstion 2.0 of the Random Password hack.
I am starting a new thread for this, because users of vB 2.0.3 and down should use version 1.0 of this hack, whereas users if v.2.2.0 and up should use this version. [hr] 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. Installation: download the attached installer and run it in your admin directory. All changes that need to be made manually to scripts and/or templates are listed there. [high]Important: If you previously installed this hack, select the "upgrade" option and not the "new install"[/high] Cheers, Bira Show Your Support
|
Comments |
#32
|
||||
|
||||
madhouse - if you select in Options, in Admin CP, to "verify e-mail" (yes) and "send random password instead of activation code" (yes) -- then you are NOT supposed to be able to enter a password: one will be mailed to you.
|
#33
|
||||
|
||||
Ok i got that much but even when i select the send user random password ...i created a temp account and its saying wrong password and this is the password the database generated...
Also when i elect to go to the email activation code...there is no longer a password box there for them to create a password... So what gives there? By the way thanks for the fast response!! |
#34
|
||||
|
||||
madhouse, I can only presume that you missed something in the installation. If you send me all the relevant files (member.php, register.php and admin/functions.php) I'll take a look and see if anything is missing there. My e-mail is goren@atlasf1.com
|
#35
|
||||
|
||||
Files sent .......THanks
|
#36
|
||||
|
||||
ok madhouse, I looked at your files and found your error
Open register.php and find (lines 42-48 in your script) : Code:
// Send Random Password Instead of Activation Code (v2.0) if ($randpassword=="1") { eval("\$register_passwordbit = \"".gettemplate('register_nopassword')."\";"); } else { eval("\$register_passwordbit = \"".gettemplate('register_yespassword')."\";"); } // Send Random Password Instead of Activation Code (v2.0) Code:
if ($who=="adult") { eval("dooutput(\"".gettemplate("registeradult")."\");"); } else { eval("dooutput(\"".gettemplate("registercoppa")."\");"); } So the end result will be: PHP Code:
|
#37
|
||||
|
||||
Thank bira...that fixed that,now i know i am in the wrong area to ask this but has anyone seen the welcome panel hack here?I saw it a while back but now its like it has disappeared..
|
#38
|
|||
|
|||
[QUOTE]Originally posted by malc
Hello, I installed this hack on my forum I am recorded I well receive the mall with the password, but he says to me that my password is incorrect please help me ( i have vbulletin 2.2.1 on ventures online virtual hosting ) |
#39
|
|||
|
|||
ther is ERROR like this
Parse error: parse error in /home/virtual/montada/home/httpd/html/montada/member.php on line 593 Help me Regards |
#40
|
|||
|
|||
Hello bira,
how can i placed this line with my line in member.php your script line is : $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',cust omtitle='".intval($customtitle)."',usertitle='".ad dslashes($customtext)."',email ='".addslashes(htmlspecialchars($email))."',parent email='".addslashes(htmlspecia lchars($parentemail))."',coppauser='$coppauser',ho mepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspeci alchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))." ',usergroupid='$bbuserinfo[usergroupid]'$changepw WHERE userid='$bbuserinfo[userid]'"); my member.php line like this $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',cust omtitle='$customtitle',usertitle='".addslashes($cu stomtext)."',email='".addslash es(htmlspecialchars($email))."',parentemail='".add slashes(htmlspecialchars($pare ntemail))."',coppauser='$coppauser',homepage='".ad dslashes(htmlspecialchars($hom epage))."',icq='".addslashes(htmlspecialchars($icq ))."',aim='".addslashes(htmlsp ecialchars($aim))."',yahoo='".addslashes(htmlspeci alchars($yahoo))."',usergroupi d='$bbuserinfo[usergroupid]',country='".addslashes($country)."', gender='$gender' $awaysql WHERE userid='$bbuserinfo[userid]'"); there is install gender hack and away message hack .. please help me Regards |
#41
|
||||
|
||||
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',customtitle='".intval($c ustomtitle)."',usertitle='".addslashes($customtext )."',email='".addslashes(htmlspecialchars($email)) ."',parentemail='".addslashes(htmlspecialchars($pa rentemail))."',coppauser='$coppauser',homepage='". addslashes(htmlspecialchars($homepage))."',icq='". addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))."',usergroupid='$bbus erinfo[usergroupid]'[high],gender='$gender' $awaysql $changepw[/high] WHERE userid='$bbuserinfo[userid]'");
That will do the trick |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|