Search Results for 'buddypress'
-
AuthorSearch Results
-
May 19, 2014 at 7:41 pm #183125
In reply to: multi step registration
SK
Participant@henrywright
Unfortunately no updates. The wireframes have been done for a while, but I don’t believe a decision has been taken.
@ciromanigrasso
Please visit and chime in at
https://buddypress.trac.wordpress.org/ticket/4132 and https://buddypress.trac.wordpress.org/ticket/5583May 19, 2014 at 4:48 pm #183120In reply to: Buttons From Profiles And Pages Are Gone
danbp
ParticipantProbably a theme issue. Which one do you use ? If you use a premium theme, you should ask on the theeme support anyway, not here.
Read here.May 19, 2014 at 4:45 pm #183119In reply to: Contributors can't see groups
May 19, 2014 at 4:44 pm #183118In reply to: Modifying / Customising the registration process
danbp
Participant@ciromanigrasso
open a new tread please – this one is 3 1/2 years old…. 👿 – read here before and explain YOUR issue!Thx
May 19, 2014 at 4:39 pm #183117In reply to: How add filter to bp_the_profile_group_field_ids?
danbp
Participant@simpleone,
you found the reason why it doesn’t work on one site and not on the other !
1.9.1 and 2.0.1 are sligthly different BP version !
And the function you mention whas only introduced in BP 2.0, so this can’t anyway work on previous versions.Actually there is a small bug in BP 2.0+ when using this function to modify profile groups. I opened a ticket about this and @imath provided a patch that works and let the function handle correctly on profile groups. I personnally use this function to conditionnally show/hide fields from the base group without problems. My profile form contains over 20 fields in differents groups, even Base, and are all required and viewable by members only.
I advise you to cancel whatever you have done about this so far, to apply the patch, to add the function to bp-custom.php and to test again.
May 19, 2014 at 4:14 pm #183116danbp
ParticipantPlease don’t post BP files, it’s really unnecessary. We’re all BP user ! 👿
Sorry, i didn’t correctly understand your request. I thought you wanted to change the order of the selectbox filters. If you also interested, see this old tread.SWA shows by default all site activities and they can be filtered. It is well documented on the Codex.
If for some reason you don’t want to modify a theme file, you can use a custom function and put it into bp-custom.php
Example ( BP 2.0+ only)
function make_swa_show_notice_only( $retval ) { if ( bp_is_page( 'activity' ) ) { $retval['action'] = 'activity_update'; } return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );Now the swa shows only notices (if exist). If you need to see a member activity, you have to go on his profile. Same for groups, the activity is only on the group page.
May 19, 2014 at 4:35 am #183105dugfunny
Participantheres my code….
<?php do_action( 'bp_before_directory_activity' ); ?> <div id="buddypress"> <?php do_action( 'bp_before_directory_activity_content' ); ?> <?php if ( is_user_logged_in() ) : ?> <?php bp_get_template_part( 'activity/post-form' ); ?> <?php endif; ?> <?php do_action( 'template_notices' ); ?> <div class="item-list-tabs activity-type-tabs" role="navigation"> <ul> <?php do_action( 'bp_before_activity_type_tab_all' ); ?> <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li> <?php if ( is_user_logged_in() ) : ?> <?php do_action( 'bp_before_activity_type_tab_friends' ); ?> <?php if ( bp_is_active( 'friends' ) ) : ?> <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_groups' ); ?> <?php if ( bp_is_active( 'groups' ) ) : ?> <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_favorites' ); ?> <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php if ( bp_activity_do_mentions() ) : ?> <?php do_action( 'bp_before_activity_type_tab_mentions' ); ?> <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_activity_type_tabs' ); ?> </ul> </div><!-- .item-list-tabs --> <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> <?php do_action( 'bp_activity_syndication_options' ); ?> <li id="activity-filter-select" class="last"> <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> <select id="activity-filter-by"> <option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option> <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option> <?php if ( bp_is_active( 'blogs' ) ) : ?> <option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option> <option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'forums' ) ) : ?> <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option> <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'groups' ) ) : ?> <option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option> <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'friends' ) ) : ?> <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option> <?php endif; ?> <option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option> <?php do_action( 'bp_activity_filter_options' ); ?> </select> </li> </ul> </div><!-- .item-list-tabs --> <?php do_action( 'bp_before_directory_activity_list' ); ?> <div class="activity" role="main"> <?php bp_get_template_part( 'activity/activity-loop' ); ?> </div><!-- .activity --> <?php do_action( 'bp_after_directory_activity_list' ); ?> <?php do_action( 'bp_directory_activity_content' ); ?> <?php do_action( 'bp_after_directory_activity_content' ); ?> <?php do_action( 'bp_after_directory_activity' ); ?> </div>May 18, 2014 at 7:17 pm #183093In reply to: E-Mail notification after registration
Henry Wright
ModeratorCheck out this article on what hooks are and how you can use them to interact with WordPress and BuddyPress:
May 18, 2014 at 7:09 pm #183090In reply to: E-Mail notification after registration
flohaase
ParticipantSorry, I am new to WordPress and BuddyPress so I Need some more information.
May 18, 2014 at 6:07 pm #183088danbp
ParticipantYou simply have to modify the html order of the select you will find in /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php.
This will only affect the site wide activity Show: [All]
If you want the same behaviour on all activity pages, you have to change accordingly each index.php file of each activate component.
May 18, 2014 at 3:04 pm #183083In reply to: report user report abuse flag something?
localiseorg
ParticipantThe only one I have personally tested is this: https://wordpress.org/plugins/bp-moderation/
It’s clunky but seems to work. I have no idea what mess it might create in the database.
For any community or social networking platform to survive, it’s essential that content moderation can be divested to and distributed amongst the end-users. IMHO this sort of functionality should be bundled with BuddyPress.
May 18, 2014 at 1:09 pm #183079In reply to: How add filter to bp_the_profile_group_field_ids?
danbp
ParticipantIn addition, i woud warn any user who want to use bp_parse_args to exclude profile groups (exclude_groups only), that you will get a php warning.
To avoid this, please read this ticket and apply the patch (BP 1.5 to 2.0.1).May 18, 2014 at 11:24 am #183078In reply to: 2.1 top features
SK
Participantif this part of the core functionality (and the chat as well), then so much the better.
I agree. And if you do feel that way, you should go say so at the Trac ticket https://buddypress.trac.wordpress.org/ticket/4126
May 18, 2014 at 8:48 am #183075In reply to: How add filter to bp_the_profile_group_field_ids?
danbp
ParticipantHi @SimpleOne,
read from line 154 in bp-xprofile-classes.php file. It contains many information for what you want to do.
See also on Codex here and hereYou can also revert your changes back and use this kind of function (goes into theme’s functions.php or bp-custom.php):
function simple_one_hide_some_profile_fields( $retval ) { if( bp_is_profile_edit() ) { $retval['exclude_fields'] = '48'; //field ID's separated by comma } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'simple_one_hide_some_profile_fields' );May this help ? 😉
May 18, 2014 at 12:14 am #183070In reply to: Activation link in email takes user to blank page
cyndimarie
ParticipantI fixed the issue by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.
May 18, 2014 at 12:13 am #183069In reply to: Need help identifying errors found in debug mode
cyndimarie
ParticipantI fixed the fatal error by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.
Thanks for the help 🙂May 17, 2014 at 10:03 pm #183066In reply to: Nothing seems to work
shanebp
ModeratorCheck your permalink settings and re-save them.
May 17, 2014 at 6:23 pm #183061In reply to: Rename "Groups" label on profile menu
Morgan Kay
ParticipantI just figured out how to do this the other day and wrote a blog post about it:
Using BuddyPress Language Files to Customize Headers and Messages
I hope that helps!
May 17, 2014 at 5:19 pm #183060In reply to: 2.1 top features
SK
Participant2. Profile header to show more info of use at a glance (much like what is shown on buddypress homepage that showcases James Jacoby’s profile header)
Check out and chime in: https://buddypress.trac.wordpress.org/ticket/4126
May 17, 2014 at 12:01 pm #183050In reply to: Issues with BP Multisite Enable
moonhopper
Participantduh! private messaging was turned off in Buddypress options in the newly separated blogs. That solved 1/ …. Still looking for 2/
May 17, 2014 at 8:48 am #183045In reply to: Creating Profile Button
hkcharlie
ParticipantOK, I make a short code button like this:
[button link=”groups” size=”medium” color=”teal”]My teams[/button]
Because Buddypress is so fantastical now, the link above works! It will take me to :
http://mywebsite.com/members/username/groups/However, now I am on the “My Groups” page, if I click on another short coded button eg:
[button link=”friends” size=”medium” color=”teal”]My Friends[/button]
it takes me to :
http://mywebsite.com/members/username/groups/friends/and therefore doesn’t work.
May 17, 2014 at 8:27 am #183044In reply to: Insert Code Next to BP Profile Avatar
danbp
Participanthi @ricardo_s
file reference is bp-templates/bp-legacy/buddypress/members/single/members-header.php
Codex infos about loopsPut the function in your-theme/functions.php or in bp-custom.php.
Example
function my_function_name () { // your stuff here if ( $data = bp_get_profile_field_data( 'field=your_field_name ' ) ) : ?> <div class="what_you_want"> <?php echo xprofile_get_field_data( 'your_field_name', bp_displayed_user_id() ); ?> </div> <?php endif; } add_filter( 'bp_before_member_header_meta', 'my_function_name' );May 17, 2014 at 6:04 am #183039In reply to: Multi Select Box in Profile fields doesn't work
kansas3d
ParticipantThanks for your post.
Good to know that I’m not the only one.
I still couldn’t get it fixed.
It really looks like it’s a bug that exist since the new update of WordPress and Buddypress.May 17, 2014 at 6:01 am #183038In reply to: [Resolved] How to hide more than one profile field?
SimpleOne
ParticipantCorrection to my last post. I meant to say…
I was able to successfully hide certain profile fields from being displaying (by modifying profile-loop.php). And I was able to hide the same fields from being displayed when a user goes to edit their profile (by modifying edit.php).
NOTE: Both files are located in: /bp-templates/bp-legacy/buddypress/members/single/
I still need help figuring out how to avoid the above-mentioned “required fields” error message upon clicking the Save Changes button.
May 17, 2014 at 5:57 am #183037Prince Abiola Ogundipe
Participantthe following thread will solve your problem
https://buddypress.org/support/topic/block-activity-stream-types/
Naijaping
-
AuthorSearch Results