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)
-   -   Random Password on register (https://vborg.vbsupport.ru/showthread.php?t=32105)

Scott MacVicar 11-03-2001 10:00 PM

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.

bokhalifa 11-04-2001 12:18 PM

Thanks PPN


GOOD updated :)

TheComputerGuy 11-04-2001 12:20 PM

another great hack by PPN

nuno 11-04-2001 05:25 PM

yeah
nice hack
tx PPN ;)

The Realist 11-09-2001 01:00 PM

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?

:(

Scott MacVicar 11-09-2001 02:43 PM

can you paste to me whats on that line, i can't seem to think what would cause that error.

The Realist 11-09-2001 03:04 PM

Its blank, nothing on there?

Scott MacVicar 11-09-2001 06:25 PM

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.

The Realist 11-09-2001 06:56 PM

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,

;)

over 11-09-2001 07:59 PM

nice hack :) gonna isntall this 1 when i get the chance


All times are GMT. The time now is 01:40 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.01073 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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