Support Forum » User Profile

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Plugin not working #21802
    H C WilliamsH C Williams
    Participant

    I will recreate the user and resend the details.
    Many thanks.

    in reply to: Plugin not working #21719
    H C WilliamsH C Williams
    Participant

    We are already working on a dev site - I will send login details in a moment.
    Many thanks for your help.

    in reply to: Plugin not working #21648
    H C WilliamsH C Williams
    Participant

    Hey Sure,
    These images show the whole process of creating a job on the back-end and also show the front-end view after it's created:

    https://ibb.co/P6rcgn8
    https://ibb.co/KxLNNjv
    https://ibb.co/HdRxtz1
    https://ibb.co/XtVpQX0
    https://ibb.co/zHvbKrv

    in reply to: Plugin not working #21600
    H C WilliamsH C Williams
    Participant

    Hi Long - any luck with the custom fields on the frontend form?
    We have followed your instruction, but as yet they are not showing.
    Any advise would be greatly appreciated.

    in reply to: Plugin not working #21587
    H C WilliamsH C Williams
    Participant

    Hi,

    That bring up the title and content boxes - which work great.
    But there are none of the custom fields, what am I missing to make them show up?

    https://www.ukaa.org.uk/dev/submit-job-role/

    Many thanks again

    in reply to: Plugin not working #21571
    H C WilliamsH C Williams
    Participant

    That's great - now however, I cannot get the shortcode to get my custom fields.

    I can get a basic form to post the title and content into my custom post type "Jobs" but nothing more.

    How can I get the form to register these fields, the title and post into my custom post type "jobs"?

    $meta_boxes[] = array(
        // Meta box id, UNIQUE per meta box. Optional since 4.1.5
        'id' => 'jobs-meta',
        // Meta box title - Will appear at the drag and drop handle bar. Required.
        'title' => __( 'Job Content', 'rwmb' ),
        // Post types, accept custom post types as well - DEFAULT is array('post'). Optional.
        'pages' => array( 'base_jobs' ),
        // Where the meta box appear: normal (default), advanced, side. Optional.
        'context' => 'normal',
        // Order of meta box: high (default), low. Optional.
        'priority' => 'high',
        // Auto save: true, false (default). Optional.
        'autosave' => true,
        // Register this meta box for posts matched below conditions
        //'include' => array('ID'  => array( 4 ),),
        // List of meta fields
        'fields' => array(
                        array(
                            'name' => esc_html__( 'Job Description', 'your-prefix' ),
                            'desc' => esc_html__( 'Enter the Job Description here', 'your-prefix' ),
                            'id'   => "{$prefix}job_desc",
                            'type' => 'wysiwyg',
                            'cols' => 20,
                            'rows' => 3,
                        ),
                        array(
                            'name'  => esc_html__( 'Company name', 'your-prefix' ),
                            'id'    => "{$prefix}job_company",
                            'desc'  => esc_html__( 'Enter company name here', 'your-prefix' ),
                            'type'  => 'text',
                            'clone' => false,
                        ),
                        array(
                            'name'  => esc_html__( 'Job Salary', 'your-prefix' ),
                            'id'    => "{$prefix}job_salary",
                            'desc'  => esc_html__( 'Enter the occupation or status here', 'your-prefix' ),
                            'type'  => 'text',
                            'clone' => false,
                        ),
                        array(
                                            'name'             => __( 'Image', 'rwmb' ),
                                            'id'               => "{$prefix}job_image",
                                            'type'             => 'image_advanced',
                                            'max_file_uploads' => 1,
                                            'desc'               =>'Upload the company logo',
                                        )
                        
    ));
    
    //custom Post Type Jobs////////////////
    $customlabels = array(
      'name' => 'jobs',
      'singular_name' => 'jobs',
      'add_new' => 'Add New',
      'add_new_item' => 'Add New Jobs',
      'edit_item' => 'Edit Jobs',
      'new_item' => 'New Jobs',
      'all_items' => 'All Jobs',
      'view_item' => 'View Jobs',
      'search_items' => 'Search your Jobs',
      'not_found' =>  'No Jobs found',
      'not_found_in_trash' => 'No Jobs found in Trash',
      'parent_item_colon' => '',
      'menu_name' => 'Jobs'
    );
      register_post_type(
        'base_jobs', array(
          'labels' => $customlabels,
          'public' => true,
          'publicly_queryable' => true,
          'show_ui' => true,
          'show_in_menu' => true,
          'query_var' => true,
          'rewrite' => array( 'slug' => 'build-to-rent-job' ),
          'capability_type' => 'post',
          'has_archive' => true,
          'hierarchical' => false,
          'menu_position' => null,
          'menu_icon'=> 'dashicons-portfolio',
          //'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
          'supports' => array( 'title', 'thumbnail'),
          'taxonomies'=> array('category', )
          )
      );
    

    I have tried many combinations like this:

    [mb_frontend_form id="job-content"]
    [mb_frontend_form id="jobs-meta"]
    [mb_frontend_form id="base_jobs"]
    [mb_frontend_form id="base_jobs" post_fields="rw_job_desc,rw_job_company,rw_job_salary,rw_job_image"]

    Please advise.

    in reply to: Font end image upload input not showing #11151
    H C WilliamsH C Williams
    Participant

    Hi Anh,

    I have tried a different code sharing platform.

    Do let me know if this works:
    https://codeshare.io/an3ygM

    Kind regards

    Harrison

    in reply to: Font end image upload input not showing #11106
    H C WilliamsH C Williams
    Participant

    Hi Anh,

    Thanks for picking this up.

    There are no errors showing in the Console.

    So far as I can see there is no button being created.

    The HTML is below, many thanks again.

    Kind regards

    Harrison

    https://ghostbin.com/paste/grant/fwbngm5k9khztpmoar238sfnsxmnfcvc/accept

    in reply to: Font end image upload input not showing #11088
    H C WilliamsH C Williams
    Participant

    Hi Anh,

    Do you have any advice for the issue below?

    We have looked at editing the user permissions in the functions file, however, even as a new user you cannot see any input buttons.

    Kind regards

    Harrison


    Hi Anh,

    Sorry to come back to you on this, but I was wondering if you had any advice on this issue?

    Kind regards

    Harrison


    Hi Anh,

    Thanks for the reply, I did see that post - we following to our functions.php:

    function mb_allow_subscriber_uploads() {
        if ( is_admin() ) {
            return;
        }
    
    // Replace 'subscriber' with the required role to update, can also be contributor.
    $subscriber = get_role( 'subscriber' );
    $subscriber->add_cap( 'upload_files' );
    
     $subscribers = get_role( 'customer' );
    $subscribers->add_cap( 'upload_files' );
    
     $subscribered = get_role( 'administrator' );
    $subscribered->add_cap( 'upload_files' );
    }
    add_action( 'init', 'mb_allow_subscriber_uploads' );

    Sadly, this made no difference at all.

    I not sure if the input buttons will be hidden if the user doesnt have permissions to upload - but we dont have them - just the labels.

    Thank you again for your advice.

    Kind regards

    Harrison

    in reply to: Font end image upload input not showing #11026
    H C WilliamsH C Williams
    Participant

    Hi Anh,

    Sorry to come back to you on this, but I was wondering if you had any advice on this issue?

    Kind regards

    Harrison


    Hi Anh,

    Thanks for the reply, I did see that post - we following to our functions.php:

    function mb_allow_subscriber_uploads() {
        if ( is_admin() ) {
            return;
        }
    
    // Replace 'subscriber' with the required role to update, can also be contributor.
    $subscriber = get_role( 'subscriber' );
    $subscriber->add_cap( 'upload_files' );
    
     $subscribers = get_role( 'customer' );
    $subscribers->add_cap( 'upload_files' );
    
     $subscribered = get_role( 'administrator' );
    $subscribered->add_cap( 'upload_files' );
    
    }
    add_action( 'init', 'mb_allow_subscriber_uploads' );

    Sadly, this made no difference at all.

    I not sure if the input buttons will be hidden if the user doesnt have permissions to upload - but we dont have them - just the labels.

    Thank you again for your advice.

    Kind regards

    Harrison

    in reply to: Font end image upload input not showing #11005
    H C WilliamsH C Williams
    Participant

    Hi Anh,

    Thanks for the reply, I did see that post - we following to our functions.php:

    function mb_allow_subscriber_uploads() {
        if ( is_admin() ) {
            return;
        }
    
    // Replace 'subscriber' with the required role to update, can also be contributor.
    $subscriber = get_role( 'subscriber' );
    $subscriber->add_cap( 'upload_files' );
    
     $subscribers = get_role( 'customer' );
    $subscribers->add_cap( 'upload_files' );
    
     $subscribered = get_role( 'administrator' );
    $subscribered->add_cap( 'upload_files' );
    
    }
    add_action( 'init', 'mb_allow_subscriber_uploads' );

    Sadly, this made no difference at all.

    I not sure if the input buttons will be hidden if the user doesnt have permissions to upload - but we dont have them - just the labels.

    Thank you again for your advice.

    Kind regards

    Harrison

Viewing 11 posts - 1 through 11 (of 11 total)