WordPress.org

Plugin Directory

Opened 3 years ago

Last modified 3 years ago

#1287 new enhancement

Patch supporting moving Required plugin fields

Reported by: garnser Owned by:
Priority: normal Severity: normal
Plugin: not-listed Keywords: register-plus-redux
Cc:

Description

Hi,

As we started developing our new web-site we chosed to go with register-plus-redux to handle custom fields. However due to the current structure we decided to do a couple of patches allowing one to move around required fields. The patch isn't perfect but hopefully it's somewhat useful.

Some outstanding issues:

  • Required fields needs to be written to the database during installation
  • Password fields isn't dynamically movable

Added features:

  • Ability to move required fields
  • Required fields isn't modifiable nor removable after being added to the database

Changes:

  • Removed the standard required field listing

If someone would like to review the code and possibly make appropriate changes it would be golden, I'll try to do some more clean-up and send the patches here.

Attachments (9)

register-plus-redux.php.patch (45.3 KB) - added by garnser 3 years ago.
register-plus-redux.php.2.patch (48.2 KB) - added by garnser 3 years ago.
Updated patch
register-plus-redux.php.3.patch (51.8 KB) - added by garnser 3 years ago.
register-plus-redux.php.4.patch (51.9 KB) - added by garnser 3 years ago.
register-plus-redux.php.5.patch (55.2 KB) - added by garnser 3 years ago.
Screen shot 2011-03-11 at 10.29.34 AM.2.png (47.9 KB) - added by garnser 3 years ago.
Screenshot
register-plus-redux.php.6.patch (64.2 KB) - added by garnser 3 years ago.
register-plus-redux.php.7.patch (68.2 KB) - added by garnser 3 years ago.
register-plus-redux.php.8.patch (86.0 KB) - added by garnser 3 years ago.

Download all attachments as: .zip

Change History (17)

garnser3 years ago

Updated patch

comment:1 garnser3 years ago

Added updated patch

Added features:

  • Password field isn't shown by default, by adding the type "Password field" to the fields you can position where it's going to be displayed.

Outstanding issues:

  • General cleanup
  • Required fields needs to be written to the database during installation
  • Interoperability with account verification using theme-my-login doesn't seam to work properly
  • Automatically add password-field upon enabling user set password

comment:2 garnser3 years ago

  • Keywords register-plus-redux added

comment:3 garnser3 years ago

Added updated patch:

Added features:

  • Automatically add required fields to database on installation
  • "Beutification" of required fields, should probably be solved in a better way
  • Cleanup

Outstanding issues

  • General cleanup
  • Automatically add password-field upon enabling user set password (worked a bit on this but I need to go back to the drawing-board as I ran into some issues)

Other:

comment:4 garnser3 years ago

Added updated patch:

Added features:

  • Better beutification of required fields

comment:5 garnser3 years ago

Added updated patch:

  • Further beautification making the UI more consistent
  • More cleanup

Remaining outstanding issues

  • Automatically add password field

comment:6 garnser3 years ago

Updated patch:

  • Bugfixed related to Yahoo field
  • Added support for AlterProfileForm
  • Cleanup

comment:7 garnser3 years ago

Added updated patch:

Bugfixed:

  • Bugfixes for AlterProfileForm (mainly due to the fact that someone decided to have different POST and show variables)

Known issues:

  • Upon adding the Password field all show/require settings are set to the field above it, probably an easy fix

comment:8 garnser3 years ago

Added updated patch

  • Compatible with upstream 3.7.1 version
Note: See TracTickets for help on using tickets.