Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 93 total)
  • Author
    Posts
  • in reply to: Meta Box Updater Not Working #5374
    carassiuscarassius
    Participant

    If 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

    in reply to: Meta Box Updater Not Working #5373
    carassiuscarassius
    Participant

    I 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 );
    }
    
    in reply to: Coonamble fields have no default #5327
    carassiuscarassius
    Participant

    Coonamble? Stupid iPhone, that should be Clonable Fields

    in reply to: Freelance Job: Custom work #5318
    carassiuscarassius
    Participant

    You can see the tables and backend video here if you want a better understanding.
    https://beaverlodgehq.com/advanced-tables-demo/

    in reply to: Add filters to select array #5103
    carassiuscarassius
    Participant

    All 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
                ),
    in reply to: Margin Issues #5102
    carassiuscarassius
    Participant

    Ahh I updated admin columns but not columns ๐Ÿ™‚

    in reply to: Activation Error #3686
    carassiuscarassius
    Participant

    No, Meta Box 4.8.7

    in reply to: Adding Field to Tab or Group trigger a JS error #3682
    carassiuscarassius
    Participant

    I get the same error and also cannot seem to load fields into tabs

    in reply to: Custom Taxonomy Content not Showing #3680
    carassiuscarassius
    Participant

    User 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

    in reply to: Custom Taxonomy Content not Showing #3679
    carassiuscarassius
    Participant

    Nope, just uploaded everything to a live site and it doesnt display either, here is a recording to show you what I mean

    in reply to: Custom Taxonomy Content not Showing #3678
    carassiuscarassius
    Participant

    Actually, may be a Desktop Server issue as CPT are not showing either

    in reply to: Customizer #3676
    carassiuscarassius
    Participant

    Thanks, received it and will have a play today and see if I can get it working and how it stacks up

    in reply to: List all Meta Fields for current post #3673
    carassiuscarassius
    Participant

    Have some work to do on this project involoving some custom code for metabox, if interested in being hired again, let me know.

    in reply to: List all Meta Fields for current post #3666
    carassiuscarassius
    Participant

    As 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;
            
    }
    in reply to: Loading within plugin #3618
    carassiuscarassius
    Participant

    Wonder if the issue is with a difference of include and require_once then

Viewing 15 posts - 16 through 30 (of 93 total)