Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterNo problem. Let me know if you need anything else ๐
Anh Tran
KeymasterCan you please try updating again? I've just checked and there's no problem.
If the update fails, can you send me the error message? The #2 error will be still there if you couldn't update.
Anh Tran
KeymasterHi there,
Thanks for the bug report! I've fixed it in this commit. I'll release new version soon.
Anh Tran
KeymasterHi,
I'm making some improvement to the
text_listfield, regarding your suggestion :). What do you think about this layout?https://imgur.elightup.com/d4qxPLa.png
Or do you prefer everything in 1 column, like this?
https://imgur.elightup.com/WNFY0wp.png
PS: To upload screenshot, please upload it to a service https://imgur.com and paste the link here.
Anh Tran
KeymasterUnfortunately, no. It's only available for
textfield.Anh Tran
KeymasterHello,
Thanks for the link. It makes sense :).
I'll put this in the development plan :).
May 29, 2018 at 2:15 PM in reply to: if i add 0 value for select filed code not exporting values #9848Anh Tran
KeymasterThanks, I'll check that.
Anh Tran
KeymasterBut why do you want this? Because for settings, you should be an admin to make changes. And if you're an admin, it's much easier to go to Dashboard > Your Settings Page to make changes. I'm quite confused about the use case of this.
Anh Tran
KeymasterI'm afraid no. If you're using
textfield, you can select values or enter your own value using datalist. See this docs for more info:https://docs.metabox.io/fields/text/
It's not supported in Fieldset Text, though.
Anh Tran
KeymasterI'm afraid you have to do it manually. Because the plugin provides UI to users to interact, you should interact :). To shorten the time, you can just enter the Value, the Key will be automatically filled in.
Anh Tran
KeymasterHi,
Please use this snippet:
add_filter( 'rwmb_frontend_insert_post_data', function( $data, $config ) { if ( 'meta-box-id' == $config['id'] ) { $data['comment_status'] = 'closed'; } return $data; }, 10, 2 );Anh Tran
KeymasterHi,
As you're using
text_list, they'll display in a row like this:https://imgur.elightup.com/xipaodj.png
All you need to do is using simple text fields for them. Please create 3 text fields for year, berths and fixed beds. And you'll get them in a column.
Anh Tran
KeymasterHi, I've just updated the plugin to remove the debug function in the #2 error :(. Sorry about that.
Regarding the #1: you need to change the code at this line to your code that register users. If you submit multiple times, it returns the same user info and thus, WordPress will throw an error of existing username/email.
Anh Tran
KeymasterI think the way you access to
global $postis incorrect. That global object is not available when registering meta box. To get the post ID, please use this code instead:https://github.com/wpmetabox/library/blob/master/conditional-display/better-include.php#L66
Anh Tran
KeymasterHello,
I've just updated the plugin (v1.0.1) that add support for ignoring the register process and allow you to register the user by your own. Please update and see the demo code here:
-
AuthorPosts