Search Results for 'buddypress'
-
Search Results
-
Topic: Order of members results
Hi,
I need some help with setting the results in a different order.
On two seperate locations I want to show the profiles with birthdays in different order.location 1) I want to show all ‘members’ (I’ll style it in a 3 or 4 column grid), ordered by First name alphabeticly OR by birthdate excluding year. But I think the first option is easier and actually more natural to users.
From the documentation here I got this code, and took some stuff out and added the birthdate field.
This code works as in, it displays the members, add a link to the profile and adds the birthdate.
Now I just need this to be ordered by name alphabeticly.<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?> <?php do_action( 'bp_before_directory_members_list' ); ?> <ul id="members-list" class="item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <li> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> </div> <?php do_action( 'bp_directory_members_item' ); ?> <?php echo bp_member_profile_data('field=geboortedatum');?> </div> <div class="action"> <?php do_action( 'bp_directory_members_actions' ); ?> </div> <div class="clear"></div> </li> <?php endwhile; ?> </ul> <?php do_action( 'bp_after_directory_members_list' ); ?> <?php bp_member_hidden_fields(); ?> <?php endif; ?>Location 2) Show 5 profiles with the first upcoming birthdays.
Changing the above code with this:
if ( bp_has_members( bp_ajax_querystring( 'members' ).'&max=5' ) ) :I get to limit the output of only 5 profiles. But I don’t know if this limit is can/will be applied before or after the order.
I would like to order these on dates after ‘today’
I now use a datepicker to add birthdate, but could add 2 seperate number fields for day and month, as I guess this will be easier to filter with.
So I did get some results, but the ordering is something I can’t figure out and would like some help with. I found a plugin before (buddypress birthday widget) but its not working as I would like it to and after earlier contact I have not received any response from the plugin def for some time now, so I’m trying to make something myself.
Hope someone can point me in the right direction.
Kind regards,
Martijn
Hello,
The ultimate goal is to mask the content and selector when a member arrives on the page of a public group to which it has not acceded. In fact he will see just the top of the page, and description button to join group
screenshot:
https://framapic.org/j4FYWFvZmHVI/sOyIzEz0Gl7F.pngThe idea is to reach over activities and other menu group visited oblige to register if he sees that description, avatar and the button to join
I found bp_group_is_member to test ()
http://buddypress.wp-a2z.org/oik_api/bp_group_is_member/
If I do not put any argument, I understand that it will test whether the member is party group (and I add the condition to be displayed in a group?I have an error message:
« Fatal error: Call to undefined function bp_group_is_member() in /var/www/../wp-content/plugins/bp-custom.php on line 3 »What I found to achieve the goal:
if ( !bp_group_is_member() || bp_is_active('groups') ) {add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activity_types_non-membre' );} function my_bp_activity_types_non-membre( $retval ) { $retval['action'] = array( //'activity_comment', //'activity_update', //'created_group', //'friendship_created', nouv relation entre membre //'joined_group', //'last_activity', //'new_avatar', //'new_blog_comment', //'new_blog_post', //'new_member', //'updated_profile', //'rtmedia_update' ); return $retval;Regards
Hello,
I can not load ANYTHING on buddypress whether it be someones profile, photos, settings, messages anything…it tells me that the website has too many redirects.I tried placing some coding (that I saw in an older forum here from 4 years ago) into bp-custom and bp-loader but that did not change anything. The website launches in 2 days and I REALLY need help!
My htaccess file has the following:
# BEGIN s2Member GZIP exclusions
<IfModule rewrite_module>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
RewriteRule .* – [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
AuthName “Developer”
AuthUserFile “/home3/reelhookedco/.htpasswds/public_html/passwd”
AuthType Basic
require valid-userPlease help!
Thank you!
Is there a way to remove the “add photo” and “add video” features on BuddyPress Activity Plus? This would leave only the upload Link feature. I already use a plugin for pics and videos and I like Activity Plus better than BP Links. Maybe there is a code I could enter into the Code Snippets Plugin that i have downloaded?
i have wordpress theme Twenty Fourteen and I have BuddyPress Version 2.6.2
For my company’s buddypress plugin, we have the Achievements plugin as well. The only issue is that in the members section (http://community.copypress.com/members/) it sorts by the most recent member. Instead, we’d like to sort by the members with the most badges and certifications. I’m not sure how to do that. I have a sneaking suspicion that it is in the members-loop.php file or the achievements.php file but I’m not sure as to how to do so. Any help in this regard would be much appreciated.
Thank you.
Topic: BuddyPress Branding
Topic: Custom Theme Template Path
Hi guys,
I’m working on adding BuddyPress support to my theme, but I want to load all of the functions and theme template files for BuddyPress in a plugin. Does anyone know how this can be done? Is there a way to change the path in which buddypress searches for the template files?
Thanks,
Topic: Login conflict
Hello,
I’ve installed buddypress with another plugin. They both require logins. However, when I login with buddypress, it automatically creates an account for the other plugin and vice versa. I would like to restrict this feature as one login is for kids and the other is for adults. We don’t want adults chatting with kids etc.
You can see this at our site trinikidscorner.com. There’s a kids corner and a parents zone. They each create user accounts for the other plugin, which we don’t want.
Can you direct me as to how this can be done, please?
Thanks in advance!is there a way I can enable @mentions to post to a friends wall whenever I write it on my wall? When on Facebook, I can tag people whenever i post anything(status, pics…) and they can choose to allow it on their wall. Currently, from my wall, I can post @someone and it only shows it on my wall and the activity feed and doesn’t give the other user the option to allow it to post on their wall. Any way to alter this? I looked into photo tagging… RtMedia has a photo tagging add-on but it is for $99. (I use rtMedia for my photos/albums). Looking for a free/much cheaper option.
I have Buddypress Wall and my wordpress site is Twenty Fourteen theme.
I just upgraded BuddyPress on my staging server. Previously it was version 2.4.3, now it’s 2.6.2. WordPress was also automatically upgraded recently to version 4.6.1 (my client and I are using WP Engine, which automatically upgrades every so often).
However, once I upgraded BP, I began receiving a warning on the member directory portion of the website.
Here is a link to the staging site, specifically the page giving me a problem, the member directory: https://goo.gl/m6IKrs
I keep receiving repeats of the following warning, one for every single profile picture:
Warning: Invalid argument supplied for foreach() in /nas/content/staging/ltb/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 266And then on individual profile pages, I receive the warning once.
Does anybody know what could be causing this?
Does anyone here have any idea to remove bbpress notification in activity column.
I find it irritating and best remove the forum from buddpypress
I was also given the site below but dont find it useful.