Start a new topic
Solved

Upload screen, sort option, faecbook login

Hay,


First of all, great theme ! thanks.


We have 3 things in which we need help.

1. in the upload screen, it is possible to disable advanced settings. Stand mark pictures as featured. Now they have to click the green button.

2. is it possible to change the balk with all, article, audio etc in a sort option. Like most viewed and most likes?

3. Do you have tips adding content to he home page for google ranking?

4. When can we expect the update with Facebook log-in feature? 


1 Comment

1.you can simply achieve this with the little modification in includes/config/uploader/frontend_post.php find the following code


 

$tags = exc_get_categories_list( array( 'hide_empty' => 0, 'taxonomy' => 'post_tag' ) );

$options['_config']['accordion_uploader']['additional_settings']['tags_input'] = array(
                     'label'         => __('Tags', 'exc-uploader-theme'),
                     'type'          => 'select2',
                     'attrs'         => array(
                                             'multiple'      => 'multiple',
                                         ),

                     'validation'    => '',
                     'layout'        => 'uploader/tags',
                     'select2'       => array(
                                             'tags'      => array_values( (array) $tags )
                                         ),

                     'help'          => __( 'Enter the description of your media file.', 'exc-uploader-theme' )
             );

$options['_config']['accordion_uploader']['additional_settings']['post_status'] = array(
                 'label'         => __('Privacy', 'exc-uploader-theme'),
                 'type'          => 'clickable',
                 'attrs'         => array(
                                     'data-max_limit' => '1',
                                 ),

                 'options'       => array(
                                     'publish' =>
                                         array(
                                             'label'     => __('Public', 'exc-uploader-theme'),
                                             'data-id'   => 'publish'
                                             ),

                                     'private' =>
                                         array(
                                             'label'     => __('Private', 'exc-uploader-theme'),
                                             'data-id'   => 'private'
                                         ),

                                     'protected' =>
                                         array(
                                             'label'                 => __('Protected', 'exc-uploader-theme'),
                                             'data-linked_fields'    => 'post_password'
                                         ),

                                     ),

                 'option_skin'   => 'withalpha',
                 'layout'        => 'uploader/clickable',
                 'default'       => 'publish',
                 'validation'    => 'required'
             );

$options['_config']['accordion_uploader']['additional_settings']['post_password'] = array(
                 'label'         => __('Password', 'exc-uploader-theme'),
                 'type'          => __('text', 'exc-uploader-theme'),
                 'attrs'         => array(
                                         'class' => 'form-control',
                                         'id'    => 'post_password',
                                     ),

                 'layout'        => 'uploader/password_field',
                 'validation'    => 'min_length[3]|max_length[50]',
                 'help'          => __('Enter the title of your media file.', 'exc-uploader-theme')
             );

$options['_config']['accordion_uploader']['additional_settings']['comment_status'] = array(
                 'label'         => __('Comments Status', 'exc-uploader-theme'),
                 'type'          => 'clickable',
                 'attrs'         => array
                                     (
                                         'data-max_limit' => '1',
                                     ),

                 'options'       => array(
                                     'open' =>
                                         array(
                                             'label' => _x( 'Open', 'extracoding uploader frontend post comment status', 'exc-uploader-theme' ),
                                         ),

                                     'closed' =>
                                         array(
                                             'label' => _x( 'Closed', 'extracoding uploader frontend post comment status', 'exc-uploader-theme' ),
                                         ),
                                     ),

                 'option_skin'   => 'withalpha',
                 'layout'        => 'uploader/clickable',
                 'help'          => 'The space for help note will goes here.',
                 //'default'         => 'closed',
             );

$options['_config']['accordion_uploader']['additional_settings']['license'] = array(
                 'label'             => __('License', 'exc-uploader-theme'),
                 'type'              => 'clickable',
                 'attrs'             => array(
                                         'data-max_limit' => '1',
                                         ),

                 'options'           => array(
                                             array(
                                                 'label' => __('Standard License', 'exc-uploader-theme'),
                                             ),

                                             array(
                                                 'label' => __('Creative Common License', 'exc-uploader-theme'),
                                             ),
                                         ),

                 'option_skin'       => 'withalpha',
                 'layout'            => 'uploader/clickable',
                 'help'              => 'Select the license type of this media file.',
                 //'validation'      => 'required'
             );

 

And Replace With this code


 

$tags = exc_get_categories_list( array( 'hide_empty' => 0, 'taxonomy' => 'post_tag' ) );

// $options['_config']['accordion_uploader']['additional_settings']['tags_input'] = array(
//                      'label'         => __('Tags', 'exc-uploader-theme'),
//                      'type'          => 'select2',
//                      'attrs'         => array(
//                                              'multiple'      => 'multiple',
//                                          ),

//                      'validation'    => '',
//                      'layout'        => 'uploader/tags',
//                      'select2'       => array(
//                                              'tags'      => array_values( (array) $tags )
//                                          ),

//                      'help'          => __( 'Enter the description of your media file.', 'exc-uploader-theme' )
//              );

// $options['_config']['accordion_uploader']['additional_settings']['post_status'] = array(
//                  'label'         => __('Privacy', 'exc-uploader-theme'),
//                  'type'          => 'clickable',
//                  'attrs'         => array(
//                                      'data-max_limit' => '1',
//                                  ),

//                  'options'       => array(
//                                      'publish' =>
//                                          array(
//                                              'label'     => __('Public', 'exc-uploader-theme'),
//                                              'data-id'   => 'publish'
//                                              ),

//                                      'private' =>
//                                          array(
//                                              'label'     => __('Private', 'exc-uploader-theme'),
//                                              'data-id'   => 'private'
//                                          ),

//                                      'protected' =>
//                                          array(
//                                              'label'                 => __('Protected', 'exc-uploader-theme'),
//                                              'data-linked_fields'    => 'post_password'
//                                          ),

//                                      ),

//                  'option_skin'   => 'withalpha',
//                  'layout'        => 'uploader/clickable',
//                  'default'       => 'publish',
//                  'validation'    => 'required'
//              );

// $options['_config']['accordion_uploader']['additional_settings']['post_password'] = array(
//                  'label'         => __('Password', 'exc-uploader-theme'),
//                  'type'          => __('text', 'exc-uploader-theme'),
//                  'attrs'         => array(
//                                          'class' => 'form-control',
//                                          'id'    => 'post_password',
//                                      ),

//                  'layout'        => 'uploader/password_field',
//                  'validation'    => 'min_length[3]|max_length[50]',
//                  'help'          => __('Enter the title of your media file.', 'exc-uploader-theme')
//              );

// $options['_config']['accordion_uploader']['additional_settings']['comment_status'] = array(
//                  'label'         => __('Comments Status', 'exc-uploader-theme'),
//                  'type'          => 'clickable',
//                  'attrs'         => array
//                                      (
//                                          'data-max_limit' => '1',
//                                      ),

//                  'options'       => array(
//                                      'open' =>
//                                          array(
//                                              'label' => _x( 'Open', 'extracoding uploader frontend post comment status', 'exc-uploader-theme' ),
//                                          ),

//                                      'closed' =>
//                                          array(
//                                              'label' => _x( 'Closed', 'extracoding uploader frontend post comment status', 'exc-uploader-theme' ),
//                                          ),
//                                      ),

//                  'option_skin'   => 'withalpha',
//                  'layout'        => 'uploader/clickable',
//                  'help'          => 'The space for help note will goes here.',
//                  //'default'         => 'closed',
//              );

// $options['_config']['accordion_uploader']['additional_settings']['license'] = array(
//                  'label'             => __('License', 'exc-uploader-theme'),
//                  'type'              => 'clickable',
//                  'attrs'             => array(
//                                          'data-max_limit' => '1',
//                                          ),

//                  'options'           => array(
//                                              array(
//                                                  'label' => __('Standard License', 'exc-uploader-theme'),
//                                              ),

//                                              array(
//                                                  'label' => __('Creative Common License', 'exc-uploader-theme'),
//                                              ),
//                                          ),

//                  'option_skin'       => 'withalpha',
//                  'layout'            => 'uploader/clickable',
//                  'help'              => 'Select the license type of this media file.',
//                  //'validation'      => 'required'
//              );

 

2. You can simply have the post with the following to attribute in shortcode mf_media_query 


meta_key="_exc_views_count" orderby="meta_value_num"


3. Honestly speaking this is not our domain but our most of clients are using yoast seo plugin


4. You can expect it pretty soon.


1 person likes this
Login or Signup to post a comment