-
zoltok posted on the forum topic Problems using apostrophes and accented characters in profile field in the group How-To and Troubleshooting: 14 years ago
Hi Chouf1, Perhaps you’ve misunderstood. Accented fields are not a problem to create or use if you’re using the basic template – my problems only arose when I tried to call those fields and use them conditionally in the members loop in a customized theme. So, for example , that would be equivalent to displaying […]
-
zoltok posted on the forum topic Problems using apostrophes and accented characters in profile field in the group How-To and Troubleshooting: 14 years ago
Alrighty, I figured it out!! So, it looks like the function “bp_get_member_profile_data”, which is suggested for use on the members-loop page, doesn’t work with field IDs, nor accents, nor apostrophes. To get around this, I used the function that is used in member-header.php (bp_profile_field_data), which does accept field IDs, but specified the…[Read more]
-
zoltok posted on the forum topic Problems using apostrophes and accented characters in profile field in the group How-To and Troubleshooting: 14 years ago
Hi r-a-y,
Good suggestion. This worked perfectly for the single members page. However, I’m still having the same problem on the Member Directory page… This returns nothing:
bp_get_member_profile_data( 'field=17' );
-
zoltok started the forum topic Problems using apostrophes and accented characters in profile field in the group How-To and Troubleshooting: 14 years ago
Hello there, I have added a field in the user setup that uses both accented characters and an apostrophe (AnnĂ©e d’inscription). I am having a lot of difficulty calling and testing this field in both the members directory and the individual profile. In the members directory, I have to remove both the accents and the […]
-
zoltok joined the group BuddyPress Moderation 14 years, 1 month ago
-
zoltok joined the group Welcome Pack 14 years, 1 month ago
-
zoltok posted on the forum topic Accessing profile data in the member loop – checkbox? in the group How-To and Troubleshooting: 14 years, 1 month ago
Ok, here was the solution! Indeed, if nothing is returned, the user hasn’t checked it. The problem was that I had to change the function to include the “get”.
$isMember = bp_get_member_profile_data( 'field=Member' );
if ($isMember == "") {
?><div class="member">Member</div><?php
} -
zoltok posted on the forum topic Javascript Errors in Members section in the group How-To and Troubleshooting: 14 years, 1 month ago
Thanks for the reply hnla. Apologies, my first instinct was to come here as I thought maybe someone familiar with how the ajax is referenced in the default theme could help me duplicate it in Buddymatic. For the moment, I’ve used the suggestion of the other poster, which was to duplicate and rename each and […]
-
zoltok posted an update 14 years, 1 month ago
@wpmuguru Hi Ron, I seem to be having some problems with AJAX requests with Buddymatic. You don’t happen to know what might be the problem do you? I posted about it here:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/javascript-errors-in-members-section/
Thanks! -
zoltok started the forum topic Javascript Errors in Members section in the group How-To and Troubleshooting: 14 years, 1 month ago
Hello all, I am about 90% of the way through the development of a website, and I’m just tackling the members section now. It seems all ajax functions – filtering users or the activity stream, user updates, adding friends, etc – aren’t working. I’m using a child theme of Buddymatic. To narrow down the problem […]
-
zoltok posted on the forum topic Profile Field adds Award in the group How-To and Troubleshooting: 14 years, 2 months ago
How would something like this be adapted for the directory loop? Is it possible? I am hoping to show whether users have a particular checkbox ticked in their profile (for the same purpose, to show a “badge”).
-
zoltok posted on the forum topic Accessing profile data in the member loop – checkbox? in the group How-To and Troubleshooting: 14 years, 2 months ago
Anyone?? I found this forum discussion: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-field-adds-award/?topic_page=2&num=15
I know it’s possible in the profile page, but can anyone tell me if the above method could be adapted for the directory loop?
-
zoltok posted on the forum topic Accessing profile data in the member loop – checkbox? in the group How-To and Troubleshooting: 14 years, 2 months ago
I would have thought that too, and that’s the technique I’m using elsewhere to the same effect, with a different function – xprofile_get_field_data (‘Field Name’, $user_id). But using that function doesn’t seem to return anything, member or not, in the member loop.
-
zoltok posted on the forum topic Custom profile field – how to use in theme? in the group How-To and Troubleshooting: 14 years, 2 months ago
Ok, thought I’d follow up in case anyone tries to do the same thing. Here’s the code that ended up working: $user_id = $comment->user_id; $isMember = xprofile_get_field_data( ‘Member’, $user_id ); if ($isMember == “”) { } else { ?> AbonnĂ©<?php } No idea how this would be done if you were testing for more than one […]
-
zoltok started the forum topic Accessing profile data in the member loop – checkbox? in the group How-To and Troubleshooting: 14 years, 3 months ago
Hi there, I’m in the process of modifying the member loop for the member directory to show specific member fields. Everything is going well for text fields, but now I’d like to show a small badge if the user has identified themselves as a member of our service. In the profile, I’ve created a checkbox […]
-
zoltok posted on the forum topic BP Xtra Signup in the group Third Party Components & Plugins: 14 years, 3 months ago
Great plugin! Personally I am using it ONLY for the email subscription. I would like to see integration with Campaign Monitor, as it’s my email tool of choice, but in the meantime I’ve created a MailChimp account to gather email addresses.
-
zoltok joined the group Third Party Components & Plugins 14 years, 3 months ago
-
zoltok posted on the forum topic Custom profile field – how to use in theme? in the group How-To and Troubleshooting: 14 years, 6 months ago
Just wondering, does anyone have any thoughts on this? Still at a bit of a loss as to how to approach this…
-
zoltok posted on the forum topic Custom profile field – how to use in theme? in the group How-To and Troubleshooting: 14 years, 6 months ago
Yes, I’m trying to style the comments of a particular group a little differently. The community I’m building is for users and potential clients of a membership-based service. Anyone can sign up, but I’d like to give commenters who are actual members of the service a little bit of a different treatment, so their comments […]
-
zoltok posted on the forum topic Custom profile field – how to use in theme? in the group How-To and Troubleshooting: 14 years, 6 months ago
Ok, update on progress. I finally found some examples in the forums of people calling profile data. Here’s what I’ve currently got in my template files, this seems to be working:
$user_id = $comment->user_id; $isMember = xprofile_get_field_data( 'Member', $user_id ); echo 'Member: '. $isMember;
The field is a radio button with only one option.…[Read more] - Load More
@zoltok
Not recently active