DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Change MD5 Frontend Password

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed by:Daniel Regelein
Changed:2007-06-13T22:54:38
Author:Daniel Regelein
Email:Daniel.Regelein@diehl-informatik.de
Info 3:
Info 4:

Frontend User Password Change (MD5)

Extension Key: dr_changefepasswd_md5

Copyright 2005-2007, Daniel Regelein, <Daniel.Regelein@diehl- informatik.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

Frontend User Password Change (MD5) 1

Introduction 1

What does it do? 1

Screenshots 2

Users manual 2

Dependencies 2

Administration 2

Configuration 2

Template 2

Reference 3

Known problems 3

To-Do list 3

Changelog 3

Thanks to... 3

Introduction

What does it do?

This Extension allows frontend users to change their md5 hashed password.

It is insert in a page as a normal content element.

Use f.e. with the Extensions danp_sv_cryptauth / danp_md5fepassword and im_feuserspasstype

Screenshots

img-1 [Backend Configuration]

img-2 [Frontend View]

Users manual

Dependencies

The Extension actually does not have any dependencies to other extensions, but it doesn't make sense using it when you're not using extensions to store a frontend user's password as an md5 hash.

Before being able to change his / her password, a frontend user will have to type in the old one. This value will be md5 hashed before it is compared. So every try to compare a non-hashed password with the new, hashed one will fail.

So you need to integrate extensions like danp_sv_cryptauth / danp_md5fepassword to enable an authorization with hashed passwords and the an extension like im_feuserspasstype to provide a md5 storage of passwords manipulated in backend.

Administration

There is nothing to administrate. Just insert the plugin,... done.

If you like to set a minimum password length see the chapter Configuration for that. There you can also see how to change the default template for the form.

Configuration

Template

To change the look of the form in the frontend upload your own template in the flexform-field of the plugin.

To create your own template you have to modify the default template which is available in your Extension Manager. Click on according entry for this exception and choose in the right-top drop down menu “Edit files”.

Now copy the default template file to your local computer and modify it using an editor.

The following table explains the marker for the template.

###FORM_ACTION###

Marker

###FORM_ACTION###

Description

Its necessary for the functionality of the form. Put it in the action attribute of the form.

###FORM_TABLE_PARAMS###

Marker

###FORM_TABLE_PARAMS###

Description

Its necessary for the functionality of the table. Put in the head table tag.

###FORM_FIELD_NAME###

Marker

###FORM_FIELD_NAME###

Description

Contains the name of the field “Name”

###FORM_VALUE_NAME###

Marker

###FORM_VALUE_NAME###

Description

Contains the value of the field “Name”

###FORM_FIELD_OLDPWD###

Marker

###FORM_FIELD_OLDPWD###

Description

Contains the name of the field “Old password”

###FORM_VALUE_OLDPWD###

Marker

###FORM_VALUE_OLDPWD###

Description

Contains the valueof the field “Old password”

###FORM_FIELD_PWD1###

Marker

###FORM_FIELD_PWD1###

Description

Contains the name of the field “New Password 1”

###FORM_VALUE_PWD1###

Marker

###FORM_VALUE_PWD1###

Description

Contains the value of the field “New Password 1”

###FORM_FIELD_PWD2###

Marker

###FORM_FIELD_PWD2###

Description

Contains the name of the field “New Password 2”

###FORM_VALUE_PWD2###

Marker

###FORM_VALUE_PWD2###

Description

Contains the value of the field “New Password 2”

###FORM_NAME_SUBMIT###

Marker

###FORM_NAME_SUBMIT###

Description

Contains the name of the submit button

###FORM_VALUE_SUBMIT###

Marker

###FORM_VALUE_SUBMIT###

Description

Contains the value of the submit button

###FORM_MIN_PW_LENGTH###

Marker

###FORM_MIN_PW_LENGTH###

Description

Minimum Password length

Reference

minPwLength

Property

minPwLength

Data type

int

Description

Minimum Password Lenght

Default

1

templateFile

Property

templateFile

Data type

String

Description

Path to the Template File

Default

tableParams_details

Property

tableParams_details

Data type

String

Description

String typically used to manipulate table params in HTML. Is mapped to the marker ###FORM_TABLE_PARAMS###

Default

_LOCAL_LANG.[lang]

Property

_LOCAL_LANG.[lang]

Data type

Array

Description

Overwrite the language marker using this string

Default

((generated))
Example
plugin.tx_drchangefepasswdmd5_pi1 {
  templateFile = EXT:dr_changefepasswd_md5/res/dr_changefepasswd_md5.tmpl
  minPwLength = 6
  tableParams_details = border=”1”
  _LOCAL_LANG.default.submit_button_label = Change Password
}

Known problems

Nothing yet, keep me informed

To-Do list

Nothing at the moment.

Changelog

0.1.0

Version

0.1.0

Date

Changelog

First public version

0.2.0

Version

0.2.0

Date

2005-10-22

Changelog

Updated the manual

0.3.0

Version

0.3.0

Date

2005-10-27

Changelog

Version containing templates configurable via flex form

0.3.1

Version

0.3.1

Date

Changelog

Added a marker

0.3.2

Version

0.3.2

Date

2007-06-04

Changelog

Re-Added the manual, repaired a bug that disabled installing the extension.

Added the ext_typoscript_setup.txt file.

0.3.3

Version

0.3.3

Date

2007-06-14

Changelog

Migrated the LocalLang-Files to the llXML-Format

Thanks to...

Thanks to Sonja (sonne) for helping me where ever she can... She's really an angel for doing the stupid tasks I ask her do do. :)

img-3 EXT: Change MD5 Frontend Password - 3