Avoiding Custom Field Blobs

Discussion in 'Customization & add-ons' started by mmba_webmaster, Oct 15, 2005.

  1. mmba_webmaster

    mmba_webmaster New Member

    Joined:
    Sep 27, 2004
    Messages:
    20
    I added custom fields, but my textarea, checkbox, and radio button fields are stored as blobs in mysql. Can't I have these stored with a more accessible data type (e.g. enum, set, or text)? I would like these values to be readable and editable via phpmyadmin and other software.

    Or do I need to custom modify the aMember code and templates?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You can change this in MySQL to any "text" types, like "mediumtext" or even "varchar(255)". It will work without any problems.

    Unfortunatly, this won't be easy to edit anyway, but why use phpMyAdmin instead of aMember CP for that?
  3. mmba_webmaster

    mmba_webmaster New Member

    Joined:
    Sep 27, 2004
    Messages:
    20
    I didn't use aMember because the custom field screen was changing my Field Type when I set the Display Type. I didn't realize I could go back and reset the Field Type.

    It also seems that the Multi-select Display Type does not work when converted to Text.

    Question: Can I add my own fields to the aMember members table without causing your software any grief? The Custom Fields option is not a complete solution for my application.
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You can add any SQL fields with software like phpMyAdmin and aMember won't touch these fields in any kind.
  5. mmba_webmaster

    mmba_webmaster New Member

    Joined:
    Sep 27, 2004
    Messages:
    20
    Excellent! Thanks.

Share This Page