Forum Replies Created
-
AuthorPosts
-
carassius
ParticipantIf I delete the install from the bundle, then install the update plugin before activating my plugin, it works fine.
Same cannot be said about admin columns
carassius
ParticipantI also seem to be having issues with admin columns not working as well
this is my TGMPA activation file
<?php /** * Include the TGM_Plugin_Activation class. */ require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php'; add_action( 'tgmpa_register', 'wcd_register_required_plugins' ); /** * Register the required plugins for this theme. */ function wcd_register_required_plugins() { $plugins = array( // Bundled Plugins. array( 'name' => 'MB Admin Columns', 'slug' => 'mb-admin-columns', 'source' => dirname( __FILE__ ) . '/plugins/mb-admin-columns.zip', 'required' => true, 'force_activation' => true, 'force_deactivation' => true, ), array( 'name' => 'MB Columns', 'slug' => 'meta-box-columns', 'source' => dirname( __FILE__ ) . '/plugins/meta-box-columns.zip', 'required' => true, 'force_activation' => true, 'force_deactivation' => true, ), array( 'name' => 'MB Group', 'slug' => 'meta-box-group', 'source' => dirname( __FILE__ ) . '/plugins/meta-box-group.zip', 'required' => true, 'force_activation' => true, 'force_deactivation' => true, ), array( 'name' => 'MB Tabs', 'slug' => 'meta-box-tabs', 'source' => dirname( __FILE__ ) . '/plugins/meta-box-tabs.zip', 'required' => true, 'force_activation' => true, 'force_deactivation' => true, ), array( 'name' => 'Meta Box Updater', 'slug' => 'meta-box-updater', 'source' => dirname( __FILE__ ) . '/plugins/meta-box-updater.zip', 'required' => false, 'force_activation' => false, 'force_deactivation' => false, ), // WordPress Plugin Repository. array( 'name' => 'Meta Box', 'slug' => 'meta-box', 'required' => true, 'force_activation' => true, 'force_deactivation' => true, ), ); $config = array( 'id' => 'wcd-team', 'default_path' => '', 'menu' => 'tgmpa-install-plugins', 'parent_slug' => 'plugins.php', 'capability' => 'manage_options', 'has_notices' => true, 'dismissable' => false, 'dismiss_msg' => '', 'is_automatic' => false, 'message' => '', ); tgmpa( $plugins, $config ); }carassius
ParticipantCoonamble? Stupid iPhone, that should be Clonable Fields
carassius
ParticipantYou can see the tables and backend video here if you want a better understanding.
https://beaverlodgehq.com/advanced-tables-demo/carassius
ParticipantAll great
function p52_contact_get_relationship_options( $options = array() ) { $options = array( 'prospect' => 'Prospect', 'lead' => 'Lead', 'client' => 'Client', 'agency' => 'Agency', 'assitant' => 'Assistant', 'supplier' => 'Supplier' ); $settings = get_option( 'p52crm_settings' ); if ( ! empty( $settings['contact_relationship'] ) ) { foreach ( $settings['contact_relationship'] as $value => $label ) { $options[$value] = $label; } } return apply_filters( 'p52_contact_relationship_options', $options ); }array( 'name' => 'Relationship', 'id' => $prefix . 'relationship', 'type' => 'select', 'options' => p52_contact_get_relationship_options(), 'placeholder' => 'Choose your relationship', 'columns' => 6 ),carassius
ParticipantAhh I updated admin columns but not columns ๐
carassius
ParticipantNo, Meta Box 4.8.7
carassius
ParticipantI get the same error and also cannot seem to load fields into tabs
carassius
ParticipantUser Meta extension is causing the issue, I went through and disabled everything (I only have Meta Box Extensions and SG Cache installed) and then switched all plugins back on
carassius
ParticipantNope, just uploaded everything to a live site and it doesnt display either, here is a recording to show you what I mean

carassius
ParticipantActually, may be a Desktop Server issue as CPT are not showing either
carassius
ParticipantThanks, received it and will have a play today and see if I can get it working and how it stacks up
carassius
ParticipantHave some work to do on this project involoving some custom code for metabox, if interested in being hired again, let me know.
carassius
ParticipantAs an example of how I am trying to work it
function bs_get_meta_fields() { $meta = array( '' => 'Choose Meta Field' ); $fields = rwmb_meta(); /* doesnt work */ foreach ( $fields as $field ) { $meta[$field->id] = $field->name; } return $meta; }carassius
ParticipantWonder if the issue is with a difference of include and require_once then
-
AuthorPosts