ioria04
Forum Replies Created
-
Well, actually I have found in different forum others asking for the same. Personally I am not able to write code extension for this.
How can I use radio button for that? let’s assume I have a custom field, named “registered” (label and slug), which can assume value true/false (boolean datatype).
In UM I create a radio button, in meta key I put the slug… what do I need to enter in “Edit Choices” to make it to work in edit by the user? see Radio? field settings in Field Types Setting – Ultimate Member. “0” and “1”? can I indicate value and label for the front end?
Thanks for any help.
Ioria
Forum: Plugins
In reply to: [Code Snippets] PHP Warning: Undefined array key “HTTP_REFERER”Thank you @bungeshea. I think I have found the snippet, disabled, let’s see what happens now.
Have another question… who is generating the error in error_log? is wordpress? I do not find it in internet.
Regards.
Forum: Plugins
In reply to: [Code Snippets] PHP Warning: Undefined array key “HTTP_REFERER”Need to add that at line 16 there is no attempt to access array using key “HTTP_REFERER”.
Thank you @missveronicatv . But I do not have the gear icon for “other profiles”, even if I have administrator role.
Do I need to flag any parameter to enable that?
Thanks.
Hi @missveronicatv,
I have installed, but I am not sure how this could help.
I was looking for boolean in this list https://docs.ultimatemember.com/article/86-field-types
I have anyway solved using a check box with two values YES and NO, which is not the same, but anyway working…
Thanks.
- This reply was modified 1 year, 2 months ago by ioria04.
Forum: Developing with WordPress
In reply to: ‘post’ for post_type does not work for WP_QueryHi @paulkevan and @bcworkz ,
I think you are both right. But you know what?
With this code I solved the problem, I do not know why? (I am not that expert, mine was just a tentative).
$args2 = array( ? ? ? ? ? ? 'post_type' => 'post', ? ? ? ? ? ? 'author__in' => array($user_id), ? ? ? ? ? ? 'post_status' => 'any', ? ? ? ? ? ? 'cat' ? => $category_id, ? ? ? ? ? ? 'posts_per_page' => -1, ? ? ? ? );
Practically i have used
'author__in' => array($user_id),
and it worked!!!
Thanks.
Mario.