Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 346 through 360 (of 3,708 total)
  • Author
    Posts
  • in reply to: WPML Issue with file_advanced input #18140
    Anh TranAnh Tran
    Keymaster

    Hi Archimidis,

    If you need to enter custom value for custom fields of posts in secondary language, then you probably need to set not translating the posts, like in this screenshot:

    https://prnt.sc/qxr7bb

    Anh TranAnh Tran
    Keymaster

    Hi,

    Do you have any plugin for media settings? That lines just loop through all image sizes to get correct URL for all sizes.

    in reply to: url type field bug #18138
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    That's right. Because the input type=url (which is used in URL field) can't be validated in Gutenberg due to Ajax submission. Unfortunately, there's no workaround for it at the moment :(.

    in reply to: Hidden field does not have value #18137
    Anh TranAnh Tran
    Keymaster

    Hi Calpaq,

    I've just tested with your code and see the value is saved in the DB and outputted on the front end well. Please see this video:

    https://www.loom.com/share/01825f5971624b159f50fdccf7b86c5a

    in reply to: 'label-password' Shortcode attribute issue #18136
    Anh TranAnh Tran
    Keymaster

    Hi Pogeun,

    Can you try label_password instead of label-password (underscore, not dash)?

    Anh TranAnh Tran
    Keymaster

    Hi LU,

    You can do that by adding this snippet to your theme:

    add_filter( 'rwmb_admin_menu', '__return_false', 99 );
    
    in reply to: Membership Directory #18108
    Anh TranAnh Tran
    Keymaster

    Hi James,

    I've not used Posts Table Pro, so I can't say about it. But you can do it with Meta Box plugins.

    Do I set up 2 custom post types? 1 for dealers & 1 for salespeople & connect them using MB Relationships? Or do I make everyone a WP user & add custom fields to Users with the User Meta extension?

    This is a great question and I think the most important question, no matter you choose to do it by your own or use Posts Table Pro plugin.

    I'll list the pros and cons of each method and you can choose one (just note that both methods work!):

    Using post types:
    - Pros: You can benefit from WP template system (e.g. archive page, single page)
    - Cons: There's no login for post types. So you still need to create a post for each user and connect it with the user. You can use MB Relationships for that purpose or just use post_author attribute from WP.

    Using user profile:
    - Pros: No need to create a post type for users and no need to connect that post type with user.
    - Cons: You have to work on the template by your own (querying all (one) users and display their info).

    In long term, I think the 2nd method is better since the data is more simpler to understand. The template issue is not a big problem, I guess.

    in reply to: Access a field before saving #18107
    Anh TranAnh Tran
    Keymaster

    Hi,

    If you need to modify field value before saving into the DB, please use rwmb_{$field_id}_value filter or use rwmb_after_save_field action.

    in reply to: Empty field group #18106
    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. I'll check and fix this bug.

    in reply to: Shortcodes don't display on custom posts #18105
    Anh TranAnh Tran
    Keymaster

    Hi Allan,

    The shortcode rwmb_meta you use assumes that the field value it gets is for the current post (which is a dog profile). That's why it doesn't output anything, since cat's age is a cat's custom field.

    To display a custom field of a cat profile, please pass the object_id to the shortcode: [rwmb_meta id="cats_age" object_id="123"].

    Anh TranAnh Tran
    Keymaster

    Hi,

    All the option is stored in a single option in the WP database. So you can just use get_option and delete_option functions to get and remove them. Just note that you need to pass the option_name, not settings page ID.

    in reply to: No Admin Columns Showing #18091
    Anh TranAnh Tran
    Keymaster

    Hi guys, sorry for not following up the thread. I think the solution above should work. Please let me know if you have any trouble with that.

    in reply to: Beaver Themer Field Connecter Not Working with Users #18090
    Anh TranAnh Tran
    Keymaster

    Hi, I've just updated the plugin on Github to support post author's and user's custom fields. Please try it and let me know if you need anything.

    in reply to: User Selection Match #18087
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think "matches" is a many-to-many relationship, and you can use the plugin to create that relationship between users.

    in reply to: Beaver Themer Field Connecter Not Working with Users #18085
    Anh TranAnh Tran
    Keymaster

    Hi, user meta is not supported yet. It's in our list of task and we'll do it soon.

Viewing 15 posts - 346 through 360 (of 3,708 total)