-
yousan replied to the topic Cannot show "This is a required field" at xprofile (bug?) in the forum How-to & Troubleshooting 8 years, 10 months ago
Thanks Slava.
I set those items “required”.
https://gyazo.com/c740499272febfd0d3f6dc07afc012bc
(Sorry for Kanji characters. We can see required red asterisk)But I cannot show “This is a required field”.
Thank you.
-
yousan started the topic Cannot show "This is a required field" at xprofile (bug?) in the forum How-to & Troubleshooting 8 years, 10 months ago
Hello.
There are some required items at register page.
When make those fields empty, then proceed registration, the user faced to error page.
Some of fields are shown with “This is a required field” but some of them are not.I use x-profile. There are 3 field groups.
The first field groups (shown as main) cannot show “This is a required…[Read more] -
yousan replied to the topic bp_get_member_user_id() returns false in the forum How-to & Troubleshooting 9 years ago
Thanks Henry.
I can get the loggedin user_id with
bp_loggedin_user_id()
function by the article you shown.I had to use
bp_get_member_user_id()
at the member loop.Thank you!
-
yousan started the topic bp_get_member_user_id() returns false in the forum How-to & Troubleshooting 9 years ago
Hello.
I am trying to get a certain user’s xprofile field data.
I found a topic.
https://buddypress.org/support/topic/display-a-value-of-a-particular-custom-profile-field/So I tried
global $current_user;
[Read more]
$user_id = bp_get_member_user_id();
var_dump($user_id); // <--- false!
$class = xprofile_get_field_data('weight', $user_id…
@hogetan
Active 1 year, 5 months ago