Forum Replies Created
-
AuthorPosts
-
December 8, 2021 at 5:03 PM in reply to: ✅Activating MB Custom Post Type adds Meta Box Menu, regardless of cap #32489
pluginoven
ParticipantIssue resolved
https://github.com/wpmetabox/mb-custom-post-type/pull/22November 12, 2021 at 2:31 AM in reply to: min_clone - ability to set the required minimum number of clones. #31880pluginoven
ParticipantPull request just submitted to github:
https://github.com/wpmetabox/meta-box/pull/1416This will add the ability to set clone_min attribute that is used as the minimum list value to toggle the remove-clone buttons. If no min_clone value is set, it defaults to 1 as it always has.
pluginoven
ParticipantIt's been two years, and every time this plugin is updated, I have to go in and manually re-add this filter. @Tran - would you please consider granting me access to the github repo for this plugin so I can fork and submit a proper pull request for this change? Thank you.
pluginoven
ParticipantI have extended this premium extension and added the missing functionality addressed in this issue thread. The modified files can be found on GitHub.
Let me know if you have any questions of if I can be of any further assistance.April 23, 2021 at 12:20 AM in reply to: ✅mb-frontend-submission > missing PO file for translation #27531pluginoven
ParticipantI have extended this premium extension and added the missing PO language file and DE translation. The files can be found on GitHub.
Let me know if you have any questions of if I can be of any further assistance.
pluginoven
ParticipantI have extended this premium extension and added the missing functionality addressed in this issue thread. The modified files can be found on GitHub.
Let me know if you have any questions of if I can be of any further assistance.April 22, 2021 at 3:54 PM in reply to: ✅mb-frontend-submission > missing PO file for translation #27504pluginoven
ParticipantThank you for your reply.
Regarding the .po file:
Creating the .po file is not the issue -- that it's not included in the /language folder by default is simply baffling.Regarding the .zip file - I think there is a miss understanding. Maybe this screenshot will help clear up what I mean by 'the entire plugin is included as a .zip file inside the root folder of the plugin'.
pluginoven
ParticipantHmm... I see.
You might also inform your dev team that they have included a .zip file of the entire plugin within the root folder of the plugin itself.
OOPS?
May 9, 2019 at 5:12 AM in reply to: ✅OSM Map with User Meta: Error: $address.autocomplete is not a function #14479pluginoven
ParticipantIt seems that the jquery-ui-autocomplete scripts are not being enqueued with the osm field.
Adding the following topublic static function admin_enqueue_scriptslocated atinc/fields/osm.phpseems to have resolved the issue.wp_enqueue_style( 'rwmb-autocomplete', RWMB_CSS_URL . 'autocomplete.css', '', RWMB_VER ); wp_enqueue_script( 'rwmb-autocomplete', RWMB_JS_URL . 'autocomplete.js', array( 'jquery-ui-autocomplete' ), RWMB_VER, true );pluginoven
ParticipantI am also interested in this solution. Will this be a new extension, or are you planning on expanding the Geolocation extension to include OSM support? Subscribing to this thread to stay in the loop.
pluginoven
ParticipantAccording to the new documentation (thank you, for this) I should be able to simply create an
has_filterargument for the $meta_boxes object like so:$meta_boxes[] = array( 'id' => 'gender_box', 'title' => __('Gender', 'text-domain'), 'post_types' => 'some_post_type', 'context' => 'normal', 'priority' => 'high', 'has_filter' => true, 'fields' => array( ... ), )and then grab only the meta_boxes that contain this new argument using the get_by method:
$args = [ 'has_filter' => true, ]; $meta_box_objects = rwmb_get_registry( 'meta-box' )->get_by( $args );All fields in each returned meta_box will still need to be looped through in order to check for the specific attribute. But at least this way I do not need to loop all meta_boxs. However, there is no way to directly get only the fields that have a specific attribute set, correct?
February 13, 2019 at 10:27 PM in reply to: ✅Only auto populate neighborhood field if not empty #13310pluginoven
ParticipantThank you. PR has been submitted.
Issue may be marked as resolved.pluginoven
ParticipantPerfect, thank you.
Jut for the record, the event listener was cached as follows:let select_cache = null $(document).on('change', '#my_field_id', function(event) { if (!select_cache) { setTimeout(() => { //do your thing console.log('phones ringing, dude.'); //clear the cache select_cache = null }, 100) } select_cache = event }Issue can be marked as resolved.
February 12, 2019 at 9:36 PM in reply to: ✅Only auto populate neighborhood field if not empty #13277pluginoven
ParticipantTwo weeks and crickets... The following changes would need to be made to include the
'bind_if_empty' => false, //default true
idea described above.File: js/mp-geo.js
Line: 85var $this = $( this ), dataBinding = $this.data( 'binding' ), dataBindEmpty = $this.data( 'bind_if_empty' ), addressField = $this.data( 'address_field' ), fieldValue = that.getFieldData( dataBinding, place );File: inc/class-meta-box-geolocation.php
Line: 97$binding = isset( $field['binding'] ) ? $field['binding'] : $this->guessBindingField( $field['id'] ); $bind_if_empty = isset( $field['bind_if_empty'] ) ? $field['bind_if_empty'] : 1; $address_field = isset( $field['address_field'] ) ? $field['address_field'] : ''; if ( $binding ) { $begin .= '<script type="html/template" class="rwmb-geo-binding" data-binding="' . esc_attr( $binding ) . '" data-bind_if_empty="' . esc_attr( $bind_if_empty ) . '" data-address_field="' . esc_attr( $address_field ) ...Would be fantastically 2019 if there was a magical way to submit a pull request.
pluginoven
ParticipantUpdate: I have added a working bind_if_empty. Please me know how best to submit a pull request.
-
AuthorPosts