Forum Replies Created
-
AuthorPosts
-
October 5, 2020 at 2:57 PM in reply to: ℹ️METABOXERS! Help get OxygenBuilder integration by upvoting this github issue #22293
tsttech
Participant+1
tsttech
ParticipantCool.
Thank you
tsttech
ParticipantDear Anh,
So then it ok if I remove this from code
'pages' => array(
0 => 'post',
1 => 'page',
),Dave
tsttech
ParticipantDear Anh,
I agree and as always thank you for all your help.
I really appreciate your kindness
Dave.
tsttech
ParticipantDear 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)
tsttech
ParticipantHi Anh,
I have msg'ed GF and awaiting there answer. Once I have some more information, will update this ticket.
Thank you
Davetsttech
ParticipantDear 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.tsttech
ParticipantDear Anh,
Thank you for this, I just sent you the information to your elightup.com account
Cheers
Davetsttech
ParticipantDear Anh,
Where you able to see if there was a problem with me code?
Thank you
Davetsttech
ParticipantDear Anh,
Did you find anything wrong with my code that might cause this problem?
Thank you
Davetsttech
ParticipantDear Anh,
I have checked the usermeta and its not saving the image_26 in there.
Yes all the fields are in one meta box.
tsttech
ParticipantDear 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.
tsttech
ParticipantDear 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.
tsttech
ParticipantAlso my array for the image is as follows.
array (
'id' => 'image_26',
'type' => 'image',
'name' => 'Business Logo',
'max_file_uploads' => 2,tsttech
ParticipantDear 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' ) ); } -
AuthorPosts