this is great help… but how do we do this with the s2member fields when we have s2member set to integrate with buddypress profiles???
You could try looking at https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ to see how they do it. I think one of the profile field types is ‘number’ – so that might be the best place to start.
Thanks for your response! okay maybe I am stating this wrong. I have a list of entries showing various user ids as one of the fields. In the next field I simply want to show are these entries from a friend or not so that I can filter them to only show me entries from my friends. Does that make sense. I thought the purpose of the friends_check_friendships function was to compare to user ids to see if their is a relationship between them and return ‘true’ or ‘false’? Also, are the user ids in buddypress friendships the same user ids in wordpress users without buddypress? For instance the two I am comparing are user_id=1 and user_id=2, so in the function, it should result in friends_check_friendships(1,2) = true right?
Wordpress version 3.8, Buddypress 1.9, bbPress 2.5.1, Website: bekindtodogs.com
I am testing out the register page and my testers are all telling me they can’t get past the register page. They enter their info, do the spam test, and then it just loops back to Registration without moving on to the next step.
I am thinking there is something I need to do with my Activate page. I have a page called Activate, which is set in the Buddypress settings, but that page doesn’t have any bbPress Template like the Register page does. Isn’t there supposed to be a bbPress Activate Template?
I deactivated the plugins “Are You A Human?” and “Buddypress Xprofile Custom Fields Type” but that didn’t seem to matter.
Please help!
@naijaping
https://buddypress.trac.wordpress.org/ticket/5185#comment:15 ?
Have you got anything in your bp-custom.php or functions.php files (or a custom plugin etc.) that might affect this?
I’ve just updated my currently in development website from the latest 1.8 BuddyPress to the lates 1.9 and I can’t seem to find the default BP theme anymore. Is this suppose to happen? Please help!
Wordpress 3.8;
BuddyPress 1.9;
http://rostream.tk
It seems that those spamming my site are using wordpress’ default way of creating an account and not registering through buddypress. When I go to the users admin, all of the users that used buddypress were given the default forum role of “participant”. The spammers don’t have this role.
Because of my current setup, I installed the Members plugin and created a new role. Then I made the buddypress form show up only for those that I have confirmed. I would recommend that this be added to future buddypress installs as an option.
It’s my theme and I code WordPress themes for like 5 years now but I don’t see myself as a Developer it’s more a hobby 🙂
I’m solid at HTML-CSS and can read PHP when I see it happen but I can’t write PHP it out of the box.
This error shows up when I try to hide a complete xProfile-group-ID or just an unique xProfile-field-ID from the loop.
This is what I did.
Inside: my-theme/buddypress/members/single/profile/profile-loop.php
I found the start of the loop
<?php if ( bp_has_profile() ) : ?>
....
My first thought was, maybe there are default options here to control the output of which ID’s will be visible so I started the search how the bp_has_profile() was build and looked into plugins/buddypress/bp-xprofile/bp-xprofile-template.php and found this at line 150:
....
$defaults = array(
'user_id' => bp_displayed_user_id(),
'profile_group_id' => false,
'hide_empty_groups' => true,
'hide_empty_fields' => $hide_empty_fields_default,
'fetch_fields' => true,
'fetch_field_data' => true,
'fetch_visibility_level' => $fetch_visibility_level_default,
'exclude_groups' => false, // Comma-separated list of profile field group IDs to exclude
'exclude_fields' => false // Comma-separated list of profile field IDs to exclude
);
This looks very familiar to bbPress so my first thoughts was lets try to add one of those Array’s to the loop and overwrite the default value.
Just like this.
<?php if ( bp_has_profile( array ( 'exclude_groups' => 1 ) ) ) : ?>
...
This works perfect, it hides all xProfile-fields from the first Base primary Tab (back-end). Just like I wanted it because I didn’t want all the fields to show up front-end, I’ve got a few xProfile-fields that I use for user-customization of the profile-page. Each user can add color-codes to change the default menu-color and add background-images to their profile-page to make each profile a little more unique.
Those field-ID’s are just urls or color-codes and don’t have to be visable to the public, thats why I try to hide them front-end.
Apologies if this topic is repeated, my other message just vanished into the virtual space somewhere…
Weird thing happening with my BP widgets. I have the latest version of wordpress, I was waiting for BuddyPress 1.9 to be released and I just installed and activated it yesterday.
I’m working on a bilingual website (english and portuguese, english being the primary language) and surprise, surprise, I noticed that the widget members was in english while groups was in portuguese. At first I thought they would adjust to my selected languages and it would be really cool to switch language pages and see the BP widgets do that… but no, “members” is always in english, “grupos” in portuguese (no matter which language page I’m on).
Other problems with the widgets and pages are that links on widgets don’t work and the pages just show the title but no activity, no profile. The only page functioning better is the groups page, because I was able to create 3 groups, although I can’t edit them on the page. I did create a new page for each component, they have no main parent page, they’re following the Weaver II theme layout I chose for them …
The only thing (which is a big thing) is that content and links and languages don’t working. I think it might be easy to solve and I will feel like an idiot… but I’m new, I need help, can anyone give me some light on this, please? Thanks in advance!
BuddyPress uses the version of jQuery that comes with WordPress. You’re best to search for how to make WordPress do this change, then BuddyPress will use it.
@ecoportaluk Did you install https://wordpress.org/plugins/genesis-connect-for-buddypress/ or have you checked out StudioPress forums re BP customizations?
@juggledad
Thanks for explaining in more detail. If you feel this is a bug, you can submit a ticket on Trac
Trac is the best place to follow the development process and submit bug reports.
I realize at this point I am probably going to have to use multisite.
I would like to have one user be able to have two separate types of profiles depending on what kind of account they have. I have a website where people can sign up for A, B, or A and B.
If they choose A and B I’d like them to have two separate buddypress profiles that can be different names, avatars, details, ect. that sync together so if they login with A login details or B its still just one account.
So
mysite.com/members/john
super.mysite.com/members/superjohn
One account. Same person.
Is there a plugin that makes this or something similar possible? Or will my users have to sign up for two separate accounts? Thank you.
are you using a BuddyPress theme?
ok thank you. Ill keep playing with it and deactivating plugins ect. Jetpack has given issues with my theme before so ill see if that fixes it, or ill just wait till my theme dev rolls out the Buddypress support and see if the problems still exist.
When I go to the Members pages ect there is nothing on the page are there supposed to be short codes there to display the correct information when someone goes to that page?
Thank you again
Fortunately I got into the habit of backing up just prior to any plugin update, and this time it payed off big time.
I lost all my membership, group & activity pages when I upgraded (perhaps other things but I didn’t mess around with it). Prior to that, everything was functioning perfectly.
I have the following pluggins installed, and am using the Easel Theme by Philip M. Hofer (Frumph).
Plugins: (web site is http//nfltrashtalk.com)
Are You a Human
bbPress
BuddyPress
Google Analytics
s2Member Framework
Social Sharing Buttons By AddShoppers
TinyMCE Advanced
UpdraftPlus – Backup/Restore
Welcome to WordPress
WordPress SEO
WP Super Cache
Downloaded my back up files and I’m back in business! I did like the sounds of what this update was suposed to do, but I suppose the old addage “don’t fix it if it ain’t broke” holds true in this case.
I disabled group forums and now the link to my groups still have /forum on the Group’s URL. If you remove the /forum you can get to the group page.
Where do I change how the Group URL’s are generated? Thanks in advance.
Wordpress v3.8
Buddypress v1.9 (Had the same issue before 1.8, not an upgrade issue)
http://petspagetest.com
Just some observations
1. ‘my members’ isn’t the same as ‘my-members’
2. <?php echo 'is_page()='.is_page().'<br>'; ?> – why are you doing this?
I don’t know about you, but to me this seems like a bug in buddypress
There may well be a bug in BuddyPress – but I can’t tell that from the code and info you’ve posted.
I add the coode in post 1 to twentytwelve
I create a page in WordPress and call it ‘my-members’
I view the page
is_page() returns ‘1’
I install and activate buddypress
I ‘Associate a WordPress Page with each BuddyPress component directory.’ and set members pointing at ‘my members’
I view the page
is_page() now returns null
I don’t know about you, but to me this seems like a bug in buddypress
> Without joining a group,can you post under that group on BuddyPress ? Is there any chance of it ?
If a group is public, you can post, but it’ll also automatically join the user to that group when they make that post. I don’t think there’s a way of mixing group permissions with posting permissions.
What type of group did you make? Public, private, hidden?
I’m sure someone will be along with some more helpful advice, but for a quick reply — this is to be expected. BuddyPress is working as it currently is meant to, and ignores any of the theme options around page customisations.
Okay if I understand correct this Query isn’t safe and the $ID is just thrown (unprepared) in the query.
Can I do something to make it more safe or is this something that the BuddyPress Plugin Developers would have to upgrade, since the error is caused by the BP plugin.
– I’ve turned off all PHP warnings like the first paragraph says so.
I have installed buddypress and I am having problems with layout settings and selecting sidebar to display. I have Genesis Magazine-pro installed. On buddypress pages i can’t change layout settings (move sidebar to left) or select which sidebar appears for the page. It works on non buddypress page. Can you help?
Cheers
Dave