Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 2,964 total)
  • Author
    Posts
  • in reply to: Position of metaboxes not saved when Piklist is active #3886
    Steve
    Keymaster

    @cvc1968– Welcome to the Piklist community!

    Congratulations! You’ve found a new bug. We’ll look into it, but unfortunately, this might not be a quick fix.

    A band-aid solution, might be to hide those meta boxes. You can click on screen options, and uncheck SEO and revisions.

    Wish I had better news. Sorry.

    in reply to: Taxonomy in Quick edit is different than piklist field #3885
    Steve
    Keymaster

    @justin– You’re pretty close. This tutorial explains how to do this.

    Two things:
    1) You need to add 'scope' => 'taxonomy' to your field array. Since your field is on the post type page, Piklist thinks you want to save it as a custom field. The scope tells it where you want to save.

    2) Make sure your field name is the name of the taxonomy.

    Let us know if this gets it working.

    in reply to: Shortcode redirect attribute throwing piklist error #3884
    Steve
    Keymaster

    I don’t think this is a Piklist issue. wp_safe_redirect(), performs a safe (local) redirect, using wp_redirect(). wp_redirect() does not exit automatically and should almost always be followed by exit.

    Try this:

     wp_safe_redirect($redirect);
     exit;
    
    in reply to: like_escape is deprecated #3883
    Steve
    Keymaster

    @justin– These are notices, not errors, and are nothing to be considered about. The next version of Piklist will be notice free!

    in reply to: Limit list of users by role #3878
    Steve
    Keymaster

    Glad it all worked out. Closing ticket.

    in reply to: Scope taxonomy not working #3875
    Steve
    Keymaster

    You’re very welcome.

    If you have the time, a quick 5 star review on WordPress.org goes a long way for the project: https://wordpress.org/support/view/plugin-reviews/piklist?filter=5

    in reply to: piklist-contacts? #3873
    Steve
    Keymaster

    We don’t have a date for getting out of beta… all we can say is that we work on it everyday.

    In the video we might have installed other plugins, which might have added to tabs.

    Multiple user roles are the only option in 0.9.4.26.

    in reply to: piklist-contacts? #3871
    Steve
    Keymaster

    @thewoosh– Welcome to the Piklist Community!

    Piklist Contacts is still on the drawing board. We decided to focus on getting Piklist v1.0 before moving forward with it.

    You should still be able to build your own CRM with the current version of Piklist… and then add even more awesome features when v1.0 is released.

    in reply to: Limit list of users by role #3870
    Steve
    Keymaster

    @vgrch– The role parameter sets which user role can see the field. So if you set it to “administrator”, and the logged in user is an “editor”, the field won’t display.

    I’m assuming you are basing your field off this tutorial >

    If so, then the WordPress function get_users() is what is actually generating the user list. get_users() has a role parameter that you can use. Based on that tutorial, you would modify your code to look like this:

    piklist('field', array(
     'type' => 'select'
     ,'field' => 'my_users'
     ,'label' => 'Choose a user'
     ,'attributes' => array(
       'class' => 'text'
     )
     ,'choices' => array(
        '' => 'Choose User'
      )
      + piklist(
       get_users(
         array(
          'orderby' => 'display_name'
          ,'order' => 'asc'
          ,'role' => 'author' // Only show authors in this select field.
         )
         ,'objects'
       )
       ,array(
         'ID'
         ,'display_name'
       )
      )
    ));
    

    Let us know if you need any more help.

    in reply to: Scope taxonomy not working #3869
    Steve
    Keymaster

    The field name has to match the taxonomy name so Piklist knows where to save the data. Change the field name and you should be fine:

    From this: 'field' => 'course_select',
    To this: 'field' => 'course_names',

    Let us know if you need any more help.

    in reply to: Saving Errors With Redis Cache #3866
    Steve
    Keymaster

    @satori83– Thank you for letting us know, and we really appreciate your developer digging in and identifying the issue.

    We would love to work with your team to resolve.

    It would probably be best to have your developer email us at [email protected] so we can start a conversation and figure out a solution.

    in reply to: Scope taxonomy not working #3863
    Steve
    Keymaster

    Please post your taxonomy code.

    in reply to: Scope taxonomy not working #3861
    Steve
    Keymaster

    Welcome to the Piklist community!

    Are you hiding the default meta box that WordPress creates for the taxonomy? You can’t have two identical fields on the same page. That’s just the way forms work.

    Lucky Piklist has you covered.

    Use the hide_meta_box parameter.

    Let us know if that works for you.

    in reply to: template error not array #3859
    Steve
    Keymaster

    @justin– Great! Let us know if you need anything else. Closing ticket.

    in reply to: template error not array #3857
    Steve
    Keymaster

    @justin

    Since you are using an add-more, $data['user_job'] is also an array.

    Try this:

    $user_job = $data['user_job'];
    
    foreach ($user_job as $job => $value)
    {
      echo $value;
    }
    
Viewing 15 posts - 1,711 through 1,725 (of 2,964 total)