+ Reply to Thread (include dating software, release, and patch number!)
Results 1 to 9 of 9

Thread: Password in Settings made Manadtory even if disabled

  1. #1
    wishtotravel
    Guest

    Unhappy Password in Settings made Manadtory even if disabled

    Hi,

    The password change field in the my Settings section is currently mandatory. i've tried to change the setting in the Dolphin Admin > Profile Fields and unticked the mandatory check box, however, after I save, this reverts back to mandatory.

    To make matters worse, if a user trys to change the password, then this is rejected

    Anyone knows of a solution?

  2. #2
    wishtotravel
    Guest

    Default

    Anyone around?

  3. #3
    PRluigi's Avatar
    Join Date
    Apr 2007
    Posts
    36

    Default Fixed

    This is a bug.

    You can find the solution here.
    Works for me

    http://www.modmysite.com/showthread....0623#post30623

  4. #4
    Troy
    Guest

    Default

    I've run into this too. Hell of a bug.

  5. #5

    Join Date
    Jan 2008
    Posts
    32

    Default

    You guys are talking about 6.03 right? That's what I'm running and I'm not getting this bug. ?? On my installation, under "My Settings", the "Change Password" field is not mandatory, but the "Confirm Password" field is, which I think is the desired functionality. I'm trying to understand so that I can hunt down all bugs reported here and fix if possible so let m eknow if I'm missing something.

    What I DID run into is when I create a new custom memo field, it is clicked as mandatory and you can't change that from the admin panel! So the fix that you linked to (editing through the database) worked like a charm for that item.

  6. #6
    Troy
    Guest

    Default

    Yes, 6.03 here. This bug only came about after I added about 20 new fields and re-arranged them multiple times.

  7. #7
    Troy
    Guest

    Default

    I know the cause of this problem. After restoring my tables from a backup I began to edit things one by one.

    It went wrong when I increased the maximum length of the passwords in the passwords fields because 9 is too few for me.

    This goes with another bug. When a user joins the site they are allowed to enter a password longer than 9 characters but Dolphin only records the first 9 and does not give an error message.

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,440
    Blog Entries
    5

    Default

    Profiles Table

    Code:
    `Password` varchar(32) NOT NULL default '',

    ProfilesDesc Table


    Code:
    INSERT INTO `ProfilesDesc` VALUES (39, '3', 'Password', '', '', '0', 40, 0, 'memb,adm', '', '', '', '', '', '', 1, '0', '', '', 'none', 0, 0, '', 0, '', '', '', 'none', '', '', '');
    INSERT INTO `ProfilesDesc` VALUES(40, 'Password', '_Password', '', '40', 'p', 40.5, 1002, 'memb,adm', 'memb,adm', 'return ( strlen($arg0) >= 3 && strlen($arg0) <= 9 ) ? true : false;', '_PWD_INVALID', '', '', '', 1, '3', '', '', 'none', 0, 0, '', 0, '', '', '', 'none', '', '2', '9');
    INSERT INTO `ProfilesDesc` VALUES(41, 'Password,Password2', '_Confirm password', '_Confirm your password', '40', 'p', 42, 1002.5, 'memb,adm', 'memb,adm', 'if( isset( $_POST[''Password''] ) && strlen( $_POST[''Password''] ) ) { if( process_pass_data( $_POST[''Password''] ) == $arg0 ) return true; else return false; } elseif( isset( $_POST[''Password1''] ) && strlen( $_POST[''Password1''] ) ){ if( process_pass_data( $_POST[''Password1''] ) == $arg0 ) return true; else return false; } else return true;', '_PWD_INVALID3', '', '', '', 0, '3,25', '', '', 'none', 0, 0, '', 0, '', '', '', 'none', '', '2', '9');
    Pretty much, every place you see '9' in the ProfilesDesc entries above, should be changed to 32 (as this is the max stored in Profiles for Password, unless you change it), or whatever you want your max length to be.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  9. #9
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,440
    Blog Entries
    5

    Default

    Quote Originally Posted by Troy View Post
    Yes, 6.03 here. This bug only came about after I added about 20 new fields and re-arranged them multiple times.
    The profile field editor and join form editor in the admin panel (maybe fixed in 6.0.4 - I don't know yet) has sucked since 5.x

    Use phpMyAdmin for anything beyond the most simple changes. And if you use phpmyadmin for something - don't use the admin editors -they will just muck it up. (fubar)

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

+ Reply to Thread (include dating software, release, and patch number!)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Replies: 1
    Last Post: 05-25-2010, 10:19 AM
  2. I made this..
    By Martin in forum Graphics / Templates
    Replies: 2
    Last Post: 12-23-2007, 03:07 PM
  3. allow_url_fopen? might affect site if disabled?
    By elusuario in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 1
    Last Post: 12-18-2007, 12:24 PM
  4. Dolphin is not made for dedicated servers
    By daniel07 in forum General Troubleshooting
    Replies: 14
    Last Post: 06-13-2007, 04:49 PM
  5. Disabled Cupid email but still going to queue
    By makenoize in forum General Troubleshooting
    Replies: 3
    Last Post: 03-12-2007, 02:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts