Forum Replies Created
-
AuthorPosts
-
Infolu Official
ParticipantHi, after years I need this resource there is the possibility to include this resource?
April 11, 2020 at 10:07 PM in reply to: ✅Is it possible to use the custom table to save all general post information? #18989Infolu Official
ParticipantPerfect, I will study this, there is another reason that I look for something like this, when using the metabox custom table to store the postmetts at some point if I need to export the wp_post and import it on another site (that already has other posts) on time to import it assumes another id in wp_post and ends up losing the connection with the wp_custom_table that I created because in the custom table the reference is the post ID.
April 11, 2020 at 4:57 AM in reply to: ✅Is it possible to use the custom table to save all general post information? #18978Infolu Official
ParticipantHi, I think I was not very clear in my question, what I would like is for the post to be saved completely in the customized table, including ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_content_filtered, post_parent, guid, menu_order, post_type, post_mime_type, comment_count.
In other words, instead of saving the default fields in wp_post save together in wp_custom_table.
April 10, 2020 at 7:52 PM in reply to: ✅It is possible to save a taxonomy field as a normal field #18963Infolu Official
ParticipantHi Long I must be missing something or the custom table metabox has a bug, because even when using taxonomy advanced it does not save in the custom table but as wp_postmeta even if the key is defined in MB_Custom_Table_API
add_action( 'init', 'prefix_create_table' ); function prefix_create_table() { if ( ! class_exists( 'MB_Custom_Table_API' ) ) { return; } MB_Custom_Table_API::create( 'my_custom_table', array( 'place_mf_id_type' => 'TEXT NOT NULL', 'intrometido' => 'TEXT NOT NULL', 'place_mf_id_company_activity_number' => 'TEXT NOT NULL', 'email' => 'VARCHAR(20) NOT NULL', 'place_mf_id_type_information_address_folder_geolocation' => 'TEXT NOT NULL', ) ); }Chave place_mf_id_type_information_address_folder_geolocation
https://imgur.com/Je4F9nX" alt="null"
Infolu Official
ParticipantI even thought if there is any way to define a field to be saved in a column of the wp_post table instead of wp_postmeta https://imgur.com/A5Tmkhq
Infolu Official
ParticipantHello, I am looking at the script that allows to change the email of the account, originally in wordpress when changing an email in the back end, the user receives in the email a link to confirm this change, already in the script this does not happen. Is this behavior correct?
how can I make the user at least need to confirm the password before changing the same email in facebook settings?
Infolu Official
ParticipantAnother field I need to bring forward is the Public Display Name select. and also the Sessions button
Infolu Official
ParticipantThe only thing I could not bring forward is the user-language user-language-wrap select any idea for that?
Infolu Official
ParticipantStaff solved this using get_current_screen() the before $metabox []
Thank you
September 18, 2018 at 2:24 AM in reply to: ✅MB Admin Columns is not working for other types of users. #11371Infolu Official
ParticipantPersonal my mistake, sorry I was closing protection in my api before the return of metabox.
September 6, 2018 at 8:37 AM in reply to: ✅Select taxonomy field is not working from version 4.15.4 #11268Infolu Official
ParticipantExact if I do not have registered terms should not return errors, this was corrected 2 years ago at https://github.com/wpmetabox/meta-box/issues/897
August 29, 2018 at 6:12 AM in reply to: ✅Submenu title does not work in addon MB Settings Page #11159Infolu Official
ParticipantHi, sorry it was my fault, I had not correctly translated the documentation for my language.
Infolu Official
ParticipantYour solution works, I also have the solution below, but in both solutions if you have more than one field it is not possible to create different texts.
In the future it could include something like this in upload media
array( 'name' => 'Uploadr', 'id' => 'field_id', 'type' => 'file_upload', 'text_options' => array( 'add' => __( 'Text Exemple', 'text_domain' ), 'single' => __( 'Text Exemple', 'text_domain' ), 'multiple' => __( 'Text Exemple', 'text_domain' ), 'remove' => __( 'Text Exemple', 'text_domain' ), 'edit' => __( 'Text Exemple', 'text_domain' ), 'view' => __( 'Text Exemple', 'text_domain' ), 'noTitle' => __( 'Text Exemple', 'text_domain' ), 'loadingUrl' => __( 'Text Exemple', 'text_domain' ), 'extensions' => __( 'Text Exemple', 'text_domain' ), 'select' => __( 'Text Exemple', 'text_domain' ), 'or' => __( 'Text Exemple', 'text_domain' ), 'uploadInstructions' => __( 'Text Exemple', 'text_domain' ), ), ),
Araujo, Luiz
Infolu Official
ParticipantGreat solution, but I think that in the future it would be great to have direct options as below
'options' => array(
'edit' => false,
'remove' => false,
),it's just something I thought of improvement, thank you anyway.
Best regards, Araújo Luiz
Infolu Official
ParticipantHello Truong Giang, exactly the precise, display a third field only if field 1 or field 2 is with data.
-
AuthorPosts