1
kurak_bu
Problem with password lengh in registracion
  • 2005/12/15 11:36

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


Hi, i've got XOOPS 2.2.3 final i when i want to try to register on my site and i fill password for example: "smile" XOOPS shows me: the password have to got minimum 4 characters. i searched od forum but i didnt find this.and sorry for my english!

2
Bananadude
Re: Problem with password lengh in registracion
  • 2005/12/15 11:56

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


open your modules\profiles\register.php and see what you have on line 75, it should read:
if (!empty($xoopsModuleConfig['minpass']) && strlen(trim($_POST['pass'])) < $xoopsModuleConfig['minpass']) {


Best Regards,
Bananadude
--- censored by Bananadude ---

3
kurak_bu
Re: Problem with password lengh in registracion
  • 2005/12/15 15:35

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


i'm sorry but im stupid and i dont know what should i do. but when i type i password adres for example: 123465 i works..

4
Bananadude
Re: Problem with password lengh in registracion
  • 2005/12/15 17:58

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


is it this:http://www.dhost.info/motorower website?
Registering worked fine for me

If you where stupid, you wouldn't know it! No one can be familiar with something before they learn it

Did you check your register.php or was it that you where struggling with?
Inside your Xoops-folder you will find a folder named modules, open it and then open the folder profile where you will find the file named register.php
Open register.php with any simple texteditor, Notepad for example. In Notepad, press Ctrl+G and enter 75 in the linenumber-field and hit OK.
Control that this line is identical to the bold colered line:
}
[
b][color=FF0033]if (!empty($xoopsModuleConfig['minpass']) && strlen(trim($_POST['pass'])) < $xoopsModuleConfig['minpass']) {[/color][/b]
$stop .= sprintf(_PROFILE_MA_PWDTOOSHORT,$xoopsModuleConfig['minpass'])."<br />";
}


Hope it helps! If not, let us know

Best Regards,
Bananadude
--- censored by Bananadude ---

5
kurak_bu
Re: Problem with password lengh in registracion
  • 2005/12/15 19:12

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


no, not dhost.info/...
buthttp://www.sams-supplies.com/xoops/html/
now register.php is OK.sorry for stupid problem. and thx for help.

Login

Who's Online

172 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits