Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 47 total)
  • Author
    Posts
  • tsttechtsttech
    Participant

    +1

    in reply to: Question about setttings in the MB #15205
    tsttechtsttech
    Participant

    Cool.

    Thank you

    in reply to: Question about setttings in the MB #15203
    tsttechtsttech
    Participant

    Dear Anh,

    So then it ok if I remove this from code

    'pages' => array(
    0 => 'post',
    1 => 'page',
    ),

    Dave

    in reply to: Choose File in custom table #15159
    tsttechtsttech
    Participant

    Dear Anh,

    I agree and as always thank you for all your help.

    I really appreciate your kindness

    Dave.

    in reply to: Choose File in custom table #15122
    tsttechtsttech
    Participant

    Dear Anh,

    Here is the update from GF's. Does it make sense?

    If Metabox Custom Table is writing it's own table separate of the User Meta, no, our add-on wouldn't integrate with that external table unless 1) the MetaBox Custom Table hooked into User Meta to 'intercept' the data query or 2) you wrote a custom hook to query that external table.

    You might want to reach out to MetaBox support for assistance in the issue you're having and a possible workaround. Our add-on works with WP Standard User Meta which is in the wp_usermeta table (https://deliciousbrains.com/tour-wordpress-database/#wp_usermeta)

    in reply to: Choose File in custom table #15066
    tsttechtsttech
    Participant

    Hi Anh,

    I have msg'ed GF and awaiting there answer. Once I have some more information, will update this ticket.

    Thank you
    Dave

    in reply to: Choose File in custom table #14985
    tsttechtsttech
    Participant

    Dear Anh,
    Noticed something while working on the test server. It seems that Gravity forms is not finding the customs fields which are set to use the custom table.

    Any idea why?
    Dave.

    in reply to: Choose File in custom table #14816
    tsttechtsttech
    Participant

    Dear Anh,
    Thank you for this, I just sent you the information to your elightup.com account
    Cheers
    Dave

    in reply to: Choose File in custom table #14810
    tsttechtsttech
    Participant

    Dear Anh,

    Where you able to see if there was a problem with me code?

    Thank you
    Dave

    in reply to: Choose File in custom table #14792
    tsttechtsttech
    Participant

    Dear Anh,

    Did you find anything wrong with my code that might cause this problem?

    Thank you
    Dave

    in reply to: Choose File in custom table #14762
    tsttechtsttech
    Participant

    Dear Anh,

    I have checked the usermeta and its not saving the image_26 in there.

    Yes all the fields are in one meta box.

    https://pastebin.com/ZTiXff1h

    in reply to: Choose File in custom table #14760
    tsttechtsttech
    Participant

    Dear Anh,

    Yes other fields save, just the image one is not saving. The image field type is updating, but it doesn't store any data.

    I will choose a file and upload it then save the user profile, but the data is not getting updated in the custom table

    Dave.

    in reply to: Choose File in custom table #14755
    tsttechtsttech
    Participant

    Dear Anh,
    I have increased the ‘image_26’ => ‘VARCHAR(2083)’, but its still not saving the image path or ID in the database.

    The database is just showing "NULL"

    Am i doing something incorrect?

    Dave.

    in reply to: Choose File in custom table #14753
    tsttechtsttech
    Participant

    Also my array for the image is as follows.

    array (
    'id' => 'image_26',
    'type' => 'image',
    'name' => 'Business Logo',
    'max_file_uploads' => 2,

    in reply to: Choose File in custom table #14752
    tsttechtsttech
    Participant

    Dear Anh,

    Ok, this does help, but now the problem is how does one store the ID.

    This is what i have already and all is working except the 'image_26' => 'VARCHAR(20)',

    add_action( 'init', 'prefix_create_table' );
    function prefix_create_table() {
        if ( ! class_exists( 'MB_Custom_Table_API' ) ) {
            return;
        }
        MB_Custom_Table_API::create( 'users_member_application_section', array(
            'application_date' => 'DATE NOT NULL',
            'company' => 'TEXT',
            'company_url' => 'TEXT',
            'company_details' => 'TEXT',
            'what_is_your_preferred' => 'TEXT',
            'other' => 'TEXT',
            'membership_level_youre_applying_for' => 'TEXT',
            'have_you_photographed_animalspets_before' => 'TEXT',
            'do_you_currently_offer_pro_bono' => 'TEXT',
            'if_yes_please_describe_the_services' => 'MEDIUMTEXT',
            'if_no_tell_us_a_little_more_about_why' => 'MEDIUMTEXT',
            'what_are_your_goals_of_membership' => 'MEDIUMTEXT',
            'primary_artistic_medium' => 'TEXT',
            'if_other_please_describe' => 'MEDIUMTEXT',
            'how_did_you_hear_about_hearts_speak' => 'TEXT',
            'if_someone_referred_you' => 'TEXT',
            'hearts_speak_members_provide_their_services' => 'TEXT',
            'if_so_please_provide_a_link' => 'VARCHAR(2083)',
            'i_have_read_and_agree_to_this_statement' => 'TEXT',
            'i_have_read_and_agree_to_adhere' => 'TEXT',
            'expired_members' => 'TEXT',
            'url_22_facebook' => 'VARCHAR(2083)',
            'url_23_instagram' => 'VARCHAR(2083)',
            'url_24_twitter' => 'VARCHAR(2083)',
            'url_25_google' => 'VARCHAR(2083)',
            'image_26' => 'VARCHAR(20)', 
            'text_27_ip_address' => 'VARCHAR(50) NOT NULL',
            'text_28_personal_facebook_account' => 'VARCHAR(2083)',
        ), array( 'text_27_ip_address' ) );
    }
Viewing 15 posts - 1 through 15 (of 47 total)