Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 77 total)
  • Author
    Posts
  • in reply to: Settings Page Style #19919
    Content PilotContent Pilot
    Participant

    Hi Long, thanks for pushing a patch. I am using Composer to load this plugin with this code

    "meta-box/mb-settings-page": "dev-master"

    But after running this command, Composer says there is nothing to update.

    composer update meta-box/mb-settings-page

    Do you all need to push the code to the master branch or tag the release?

    in reply to: Settings Page Style #19885
    Content PilotContent Pilot
    Participant

    Hi Long, I am seeing the same thing. no-boxes style is being ignored if tabs are not present. I think myself and the other commentators want a single page, flat settings page. no tabs, no boxes, just basic fields. Thanks

    public function settings_page( array $settings_pages ) : array {
            $settings_pages[] = array(
                'id'          => 'social-media',
                'option_name' => 'poa',
                'menu_title'  => esc_html__( 'Social Media', 'poa' ),
                'parent'      => 'options-general.php',
                'style'       => 'no-boxes',
                'columns'     => 1,
            );
    
            return $settings_pages;
    
        }
    Content PilotContent Pilot
    Participant

    Hi,

    Have you had an opportunity to review the PR? I've been using it and it works fine, but it would be nice at some point check it out or merge it to the stable version.

    Thanks

    in reply to: Yoast 14.1 adds classes that break Meta Box styles #19865
    Content PilotContent Pilot
    Participant

    You can close this ticket, it was fixed in Yoast 14.2.

    Content PilotContent Pilot
    Participant

    Long!

    Thank you for moving quickly on this.

    Exactly what I needed.

    Works great.

    Please close this ticket.

    Content PilotContent Pilot
    Participant

    Hi Long, has there been any progress on adding this functionality.

    Thanks in advance for the effort.

    Content PilotContent Pilot
    Participant

    Long,

    I submitted a pull request with an update that worked for me, so you can check or improve it when you have a chance.

    Thank you

    Content PilotContent Pilot
    Participant

    Hi Long,

    I must admit that this is a very bad suggestion. You are telling me to add custom code to a plugin that you maintain and send out updates to. What happens when you push out another update? Not update our plugin or update the plugin and go back in by hand to add our custom code. Neither is a good solution.

    I am happy to send over some code via a pull request but this repo is private. My BitBucket username is [email protected]

    I suggest another shortcode attribute be added after line 46 in src/Shortcodes/Register.php

    'hide_form' => is_user_logged_in()

    And then replace is_user_logged_in() in src/Forms/Register.php on line 6 with

    $this->config['hide_form']

    And in your shortcode parameters, you can have:

    [mb_user_profile_register hide_form="false"]

    This is only a start. Even with these changes, I do not see the form. I don't understand enough about the has_privilege method to adjust it to show the form.

    Can you all add this code and take it to the finish line?

    Thanks for your help.

    Content PilotContent Pilot
    Participant

    Thanks for the answers Long,

    That's fine, but I can't sort by wp_mb_relationships's order_from with native parameters. Also, I'm not sure that's the correct behavior, cross relationships reflect the admin order.

    I might think it should be set here, but give me a hint if you think I can help you.

    in reply to: Taxonomy field breaks frontend form #19201
    Content PilotContent Pilot
    Participant

    I know I am late to the game on this thread but I am just now seeing this issue on a site I built last year. I am updating my plugins and noticed that my taxonomy and taxonomy_advanced fields are not populating with any terms.

    Was this what was happening to you?

    I am running MB 5.2.4 and MB Frontend 2.2.0

    Content PilotContent Pilot
    Participant

    This is what broke my website.

    #4 from Mauro's original post. Hide the form if a user is already logged in. Seems logical.

    I was using this user registration form so that admins could register authors. Meaning that an admin is logged in, as their admin account, then they browse to a frontend form to register a new user. I have this form setup with a post type creation form as a workflow for creating users attached as authors to a single post type object.

    All I need is for the registration form to be exposed even if the user is logged in.

    in reply to: Add fields to Genesis Custom Post Type Archive Metabox #19038
    Content PilotContent Pilot
    Participant

    Any idea if you have time for this one?

    I could contact somebody at StudioPress/Wpengine to get you a copy of Genesis.

    Content PilotContent Pilot
    Participant

    Anh, I think I found the issue. I sent you a pull request.

    https://github.com/wpmetabox/mb-relationships/pull/34

    Thank you

    in reply to: Single metabox on Reciprocal Relationship #17692
    Content PilotContent Pilot
    Participant

    UPDATE.

    A branch was created at GitHub.

    Anh, I checked out the branch and did some initial testing in the admin, DB, and your frontend test. I noticed in the database that when you save the post, it places that post ID into the from column and if you save another post, it flips and places itself into the from column. The frontend WP_Query works both ways so I am a little lost. I see in the commits you adjusted the query.

    Should we leave it as is or do the first post always need to be in the from column and not switch around on every save_post action? That is how posts2posts works.

    in reply to: Single metabox on Reciprocal Relationship #17597
    Content PilotContent Pilot
    Participant

    Hi Ahn, have you had a chance to think about this and read my comment on github?

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