yousan replied to the topic Cannot show "This is a required field" at xprofile (bug?) in the forum How-to & Troubleshooting 5 years, 6 months ago
I set those items “required”.
(Sorry for Kanji characters. We can see required red asterisk)
But I cannot show “This is a required field”.
yousan started the topic Cannot show "This is a required field" at xprofile (bug?) in the forum How-to & Troubleshooting 5 years, 6 months ago
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]
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.
I am trying to get a certain user’s xprofile field data.
I found a topic.
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, 8 months ago