![]() |
This generates a random password and sends it along with the activation email that users are sent. For this to work you must have verify email enabled. You obviously don't want to send a random password to an email which might not exist.
hack suggested by psico. Note this is not as advanced as the one by bira, it simply sends a random password on register, it doesn't sent a random pass if they change email. Last updated on 04th of November 2001 14:45GMT now includes an option to turn the random password option on and off within the admin cpanel. |
Thanks PPN
GOOD updated :) |
another great hack by PPN
|
yeah
nice hack tx PPN ;) |
On installing all works fine, but an error is showing up on top of the registration page:
Parse error: parse error in /home/sites/home/web/forum/register.php(198) : eval()'d code on line 3 I Installed as per Instructions? Any help? :( |
can you paste to me whats on that line, i can't seem to think what would cause that error.
|
Its blank, nothing on there?
|
the line above and below that then it will obviously be an eval function and i need to see what template and what the eval function parameters look like.
|
This is the begining of the register.php and also a pic of the error.
<?php error_reporting(7); $templatesused = "signupadult,signupverify,modifyoptions_maxposts,r egister_birthday,modifyoptions_styleset,register_s tylecell,register_customfields,registeradult,regis tercoppa,email_newuser,emailsubject_newuser,email_ activateaccount,emailsubject_activateaccount,redir ect_registerthanks"; require("./global.php"); if ((!isset($action) or $action=="") and (!isset($a) or $a=="")) { $action="check"; } if ($url==$HTTP_REFERER) { $url=urlencode($url); } Thanks, ;) |
nice hack :) gonna isntall this 1 when i get the chance
|
line 198 please.
the line 3 is where the error is occuring on the code that is being evaluated. |
I wish I could show you line 198 but the php file stops at line 141.
? Next ;) |
Quote:
|
mail your register.php file to
software@pp-network.com both of you and i will check and sort the hack for you i don't understand whats wrong as it works fine on my test board. |
PPN,
I'm pretty sure emailing full vB files is prohibited by the license agreement. |
hmm em how about upload in an attachment here and i will edit it and then re-upload as only liscenced people can download the files.
If not then em i'll make the hack documentation easier to understand :/ |
PPN,
Since no one got back to you about this error and it popped up when I installed this hack, here goes: same error: Code:
Parse error: parse error in /usr/www/mypath/public_html/2002/talk/register.php(201) : eval()'d code on line 3 From my register.php, line 201: Code:
eval("\$passbit = \"".gettemplate("register_randompass")."\");"); Code:
<tr><td bgcolor="#13486D" colspan="2"><normalfont><b>A Password will be sent to you once you finish registering. You will be able to change it after you have logged in</b></normalfont></td></tr> Thanks, Updon oh yeah! Other than the small error message it works great. |
The code in the vb_random_pass.txt file is incorrect
Code:
if ($randompass) { This is how I got it to work: Code:
if ($randompass) { |
thanks dude i never got that error when i was using it, i will adjust the text file in the first post shortly.
|
Great hack, PPN! And thanks to updon it is running very well. ;)
|
why I get this on register.php?
Parse error: parse error in /usr/local/psa/home/vhosts/mewgood.com/web_users/vbb/register.php(203) : eval()'d code on line 8 |
can anyone help me asap?
Please Thx |
thx
I got it |
Again needs to be standard, I HATE THE VB registration system it results in more users than not, being unverified - They don't understand this "click on link to activate stuff".
|
where can i turn this hack on and off, I just cant find the option?
|
All times are GMT. The time now is 03:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|