Search Results for 'buddypress'
-
Search Results
-
Topic: Alphabetical Display Problem
I’m basically having the same problem as described in this thread.
https://buddypress.org/support/topic/alphabetically-displaying-only-buddypress-users-in-multisite/If I select alphabitical it lists all of the members on the Network and writes them into the bp_xprofile_data table.
I have bp multiblog true
Networks for wordpress (network activated)
buddypress for networks by BuddyDev (network activated)
buddypress is activated site by site
buddypress xprofile alsoWp 4.0
BP 2.1.1I also have a couple of blogs that only have 3 members but on the ‘members’ page is say’s it’s displaying 1-5 of 5
I have tried to manually clean up the database but can’t seem to find where to fix that…
If I use the BP members count tool it just ends up populating the site with every member from throughout the network.
Thank you wpengine and vaultpress!
Topic: BUddypress Mention
Hi guys can you help me how to get all user mention to specific user and how also to get all the mention that user create
‘
Topic: oEmbed in BP Profile Field
Hey all,
The most recent post I saw concerning this issue was back in 2013, and it included a link to @modemlooper ‘s website.
http://modemlooper.me/allow-youtube-embed-in-buddypress-profile-fields/
But the URL seems to be down…
Any chance this golden info is somewhere else? Or even better; is @modemlooper still with us today?
Thanks,
\MTopic: forum on site not working
Dear BuddyPress,
I am contacting you all on behalf of my client who is currently having problems with their website. One of her staff members sent me an email saying they were unable to edit, delete or remove posts on my site’s forum. Not even their own. Their also experiencing problems with posting and/or responding to post. It sometimes allows them to write the post and press the post button but when they check to see if their post has loaded, it is nowhere to be found. I reached out to the organization that powers the forum but I don’t think they will be able to assist me. I’m not sure if WordPress or Buddypress controls the forums on various websites or if the organization that powers the forum can help with forum issues.
My client is using WordPress 3.7.4. and bbPress 2.4.
Hey there guys, i’m working on a website where i’m integrating s2member functionality with buddypress. I thought some of the things I’ve come across may be useful to other people.
1. Filter Users Displayed in Members Directory by s2member role.
In your plugins/buddypress/bp-templates/bp-legacy/buddypress/members/ folder edit the file “members-loop.php”. Just under
<?php do_action( 'bp_before_members_loop' ); ?>at the top 20 lines of the file we need to write some PHP code to build a comma separated list of ID’s based on the s2member role or roles that we want. In my case I wanted only members of “s2member_level2”.
<?php $args = array ( 'role' => 's2member_level2', 'fields' => array( 'id' ) ); // The User Query $user_query = new WP_User_Query( $args ); $custom_ids = ''; for($i = 0;$i < sizeof($user_query->results); $i++){ $a = $user_query->results[$i]->id; $custom_ids .= $a.","; } ?>Now that we’ve made a comma separated string of ids ($custom_ids), we need to pass it to the members loop.
Change
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>to
<?php if ( bp_has_members('per_page=30&type=alphabetical&'.'include='.$custom_ids ) ) : ?>
In my case I wanted to make sure atleast 30 members showed up, and that they were in alphabetical order.Done.
2. Importing s2member custom fields to buddypress fields
You may be asking; why??? Well, it turns out that when you have the s2member option to integrate with buddypress it doesn’t actually import it’d data to the buddypress tables. It just binds it’s self to the ‘Base’ group, Which will show up by default in buddypress profiles. When it doesn’t import to the buddypress tables, it was very difficult for me to manipulate how the information showed up. Particularly the fact that I have the users give me their address information, and I don’t want that to even be an option to show in user profiles.
So instead of using s2member to integrate automatically, I wrote a function that would check a users information when they login. If they have certain information in s2member that is not in their BP Profile, it will add it automatically.
in functions.php add the code:
<?php add_action('wp_head','s2_profile_field_update',10,2); function s2_profile_field_update() { global $current_user; get_currentuserinfo(); if( get_user_field("s2member_login_counter") < 1000 ) { if( current_user_is("s2member_level2") ) { if(xprofile_get_field_data('Nationality',$current_user->id) == '' && get_user_field('nationality') != '') { xprofile_set_field_data('Nationality', $current_user->id, get_user_field('nationality')); } } } } ?>You can change Nationality to what ever the name is of the extended BP field (in users>profile fields).
And of course you can duplicate the if statements for how every many fields you want to import from s2memeber -> BP.
Also note thatif(get_user_field("s2member_login_counter") < 1000)mean’s that this process will run for any user that logs in with membership role s2member_level2 and has logged in less than 1000 times. I used 1000 times because I want any member at this moment who logs in to have their profiles populated. In the future I will drop it down to 1 or 2.I’ll post more as I gather it. But in the mean time I hope this helps some people.
\M
I’m using buddypress user account pro and have created 2 different user types ‘coach’ and ‘athlete’
I’ve also created a custom tab in my groups nav menu titled ‘Coaches’
http://www.dev.globalsportcoach.com/groups/nfl/COACHES/
I’ve been able to add the buat shortcode to the tab which will display all coaches on the site however i’d like to only display the coaches that are part of each group eg. only display NFL coaches in the NFL group using an if statement or similar, can anyone help me out?
function display() {
echo do_shortcode(‘[buatp user_type=”coach”]’);
}Hello
this is my first time to install buddypress, my WP is 3.9.1
in back end, buddypress is newest version which showed this following message, how can i solve this problem ?
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/mysite.com/wp-includes/functions.php on line 3245
thanks a lot
Hello,
Please I have an issue, My s2member pro handles my member registration form, the buddypress handles group forums while bbpress handles my sitewide forums….This is what i want sir: during member registration a user registers his year of graduation lets say 1982, then i want the group forum to give him access to group 82 only. if another user inputs 1983 as his year of graduation during member registration…he should have access to only group 83 in the group forums and so on…please how can I do this please since am a novice.
Topic: Invalid activation key
Hello. I am from turkey.
I installed buddypress and bbpress.
Requests:
1-I want to use default wordpress registration page, how can I do?
2-If I want to use buddypress registiration page, There are problems below.
I tested a lot of users. My SMTP is not problem, registiration e-mail is sending. But If I click http://www.okulsayfam.com/aktivasyon/?key=f1ee6d467bd0e031b7d73be9cbf61313 : (link is for example)Invalid activation key.
Please provide a valid activation key.I tested a lot of users. Please hepl me, I am looking for a long time.