Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 39 total)
  • Author
    Posts
  • in reply to: Meta Box showing in sidebar instead of below content #48170
    jmcbadejmcbade
    Participant

    Screenshots of the fields NOT showing?

    Yes I can select "side" but the fields do not show on the side.

    At this point it's on a localhost because I wanted to give Metabaox another try. It's frustrating that something as simple as this is an issue. I am NOT trying to be adversarial with this. I'm just frustrated.

    ACF has no issues with this ability.

    in reply to: Meta Box showing in sidebar instead of below content #48133
    jmcbadejmcbade
    Participant

    Custom fields only show below the edit screen

    in reply to: Event calendar with recurring events #40050
    jmcbadejmcbade
    Participant

    There is no sample to build an event calendar with Meta Box. But instead of build everything from scratch, you can use a third-party event calendar plugin such as
    https://wordpress.org/plugins/the-events-calendar/
    https://wordpress.org/plugins/modern-events-calendar-lite/

    Are any of these or another plugins able to inject data from a CPT/Metabox?

    in reply to: Event calendar with recurring events #40049
    jmcbadejmcbade
    Participant

    There is no sample to build an event calendar with Meta Box. But instead of build everything from scratch, you can use a third-party event calendar plugin such as
    https://wordpress.org/plugins/the-events-calendar/
    https://wordpress.org/plugins/modern-events-calendar-lite/

    Are any of these or another plugin able to inject data from a CPT/Metabox?

    in reply to: Certain MB Blocks render only in one language #38667
    jmcbadejmcbade
    Participant

    Trying to follow this as I want to use MB with Polylang. The link to your video returns file not found.

    Am I going to be able to use MB with Polylang CPTs?

    in reply to: MB + Polylang #38666
    jmcbadejmcbade
    Participant

    I want to use Polylang with MB and CPTs.

    Is this resolved?

    in reply to: Dashboard for logged in user #31406
    jmcbadejmcbade
    Participant

    I am testing your development inside Oxygen which is my use case and I get a template shorcode string in an error box:

    eyJzb3VyY2UiOiJodHRwczovL3dwLW94eWdlbi1tZXRhYm94IiwiY29tcG9uZW50IjpbeyJpZCI6MSwibmFtZSI6ImN0X3NlY3Rpb24iLCJvcHRpb25zIjp7ImN0X2lkIjoxLCJjdF9wYXJlbnQiOjAsInNlbGVjdG9yIjoic2VjdGlvbi0xLTIwOCIsIm5pY2VuYW1lIjoiU2VjdGlvbiAoIzEpIiwiY3RfZGVwdGgiOjF9LCJjaGlsZHJlbiI6W3siaWQiOjIsIm5hbWUiOiJjdF9zaG9ydGNvZGUiLCJvcHRpb25zIjp7ImN0X2lkIjoyLCJjdF9wYXJlbnQiOjEsInNlbGVjdG9yIjoic2hvcnRjb2RlLTItMjA4Iiwib3JpZ2luYWwiOnsiZnVsbF9zaG9ydGNvZGUiOiJbbWJfZnJvbnRlbmRfZGFzaGJvYXJkIGVkaXRfcGFnZT1cIjE4OFwiXSJ9LCJuaWNlbmFtZSI6IlNob3J0Y29kZSAoIzIpIiwiY3Rfc2hvcnRjb2RlIjoidHJ1ZSIsImFjdGl2ZXNlbGVjdG9yIjpmYWxzZSwiY3RfZGVwdGgiOjJ9LCJkZXB0aCI6MiwiJCRoYXNoS2V5Ijoib2JqZWN0OjE1NCJ9XSwiZGVwdGgiOjEsIiQkaGFzaEtleSI6Im9iamVjdDoxNDcifV0sImNsYXNzZXMiOnt9LCJjb2xvcnMiOnt9fQ==

    in reply to: Dashboard for logged in user #31389
    jmcbadejmcbade
    Participant

    So I can't use this feature if I am using Oxygen.

    Is this going to be resolved soon? How soon?

    Oxygen is soon to release their 3.9 version with Metabox support.

    in reply to: Dashboard for logged in user #31388
    jmcbadejmcbade
    Participant

    Yep. Using Oxygen.

    I will take a look soon without other plugins but I need to use Oxygen. This is critical for my use case.

    in reply to: Dashboard for logged in user #31385
    jmcbadejmcbade
    Participant

    Sir, this is SO frustrating! You STILL are not answering the question I am asking and I am at a loss as to why.

    When I have a cpt that I have entries assigned to a "Staff" user, I try to use "Dashboard" but when I log in as them and view the dashboard, they are listed as the logged in user in the heading but they have "0" posts. They definitely are the post Author for several posts.

    I am having no issue to change the author!! I am getting "0" posts when loading the dashboard for ANY user/author using the Dashboard. Not even "Hello World!" when I log in as admin.

    Shortcode for form is: [mb_frontend_form id="announcement-cf" post_type="announcement-cf" ajax="true" edit="true" submit_button="Add/Update" allow_delete="true" confirmation="Announcement was Added/Updated"]

    The ID for the page with the shortcode is "188"

    The shortcode calling the page is: [mb_frontend_dashboard edit_page="188"]

    What else do you need at this point?

    in reply to: Dashboard for logged in user #31364
    jmcbadejmcbade
    Participant

    I'm sorry but you have missed my question. Please read more carefully?

    This is not to get a Role. I am trying to use Dashboard for the logged in user as explained in the documentation for how to use Dashboard.

    I'm trying to use Dashboard method in the way it's written right now, not by Role.

    That code is just to set the author to all the CPT posts no matter who enters the post.

    Before I was able to see all posts for the logged in user. Now I can't see any posts.

    I'm using the shortcode: [mb_frontend_dashboard edit_page="188"]. where "188" is the ID of the page where I have the edit form shortcode:
    [mb_frontend_form id="announcement-cf" ajax="true" edit="true" submit_button="Add/Update" allow_delete="true" confirmation="Announcement was Added/Updated"]

    This worked before but now all is failing.

    in reply to: Save, Edit & Delete Methods WITHOUT Dashboard #31231
    jmcbadejmcbade
    Participant

    I can't hard code the post ID.

    There is a parameter called "current" Should that work somehow?

    in reply to: Save, Edit & Delete Methods WITHOUT Dashboard #31187
    jmcbadejmcbade
    Participant

    If I have an archive listing and in that listing I want to pass the ID to the form on a page page and populate it for editing, what would that shortcode look like?

    May I have an example please?

    jmcbadejmcbade
    Participant

    The code you gave me was a start but the slug was missing. This solves that:

    add_action( 'rwmb_announcement-cf_after_save_post', 'update_post_title' );
    function update_post_title( $post_id ) {
    // Get the field value
    $my_new_post_title = rwmb_meta( 'announcement_title', '', $post_id );
    // generate new post post_slug
    $delimiter = "-";
    $unwanted_array = ['ś'=>'s', 'ą' => 'a', 'ć' => 'c', 'ç' => 'c', 'ę' => 'e', 'ł' => 'l', 'ń' => 'n', 'ó' => 'o', 'ź' => 'z', 'ż' => 'z',
    'Ś'=>'s', 'Ą' => 'a', 'Ć' => 'c', 'Ç' => 'c', 'Ę' => 'e', 'Ł' => 'l', 'Ń' => 'n', 'Ó' => 'o', 'Ź' => 'z', 'Ż' => 'z',]; // Polish letters for example
    $str = strtr( $str, $unwanted_array );
    $slug = strtolower(trim(preg_replace('/[\s-]+/', $delimiter, preg_replace('/[^A-Za-z0-9-]+/', $delimiter, preg_replace('/[&]/', 'and', preg_replace('/[\']/', '', iconv('UTF-8', 'ASCII//TRANSLIT', $str))))), $delimiter));
    // Preprare update post
    $my_post = array(
    'ID' => $post_id,
    'post_title' => $my_new_post_title,
    'post_name' => $slug,
    );
    wp_update_post( $my_post );
    }
    

    Modify the "Unwanted" as you wish of course!

    in reply to: Admin Columns: Sample code has PHP Errors? #31152
    jmcbadejmcbade
    Participant

    Yes, that is what I was saying.

    BTW, also when you replied to me here, your system did not send any notification.

Viewing 15 posts - 1 through 15 (of 39 total)