Search Results for 'buddypress'
-
AuthorSearch Results
-
January 8, 2018 at 12:56 pm #270012
Topic: BuddyPress Groups Wizard |Cancel button?
in forum How-to & Troubleshootingangrywarrior
ParticipantWelp pretty much as it says;
Is there a way to add a “cancel” button to the group creation wizard. If a end-user regrets his/her decision to create group then the group has been created anyway. So a potential bloat of the system which loads of unfinished grops can be prevented if there only was a “cancel” button in each step of the wizard.Thanks a lot in advance! 😉
January 8, 2018 at 6:15 am #269999leog371
ParticipantOk, So hello again NiceCap. So what I see is that your activity link in the “Community” drop down menu link in the header there is actually being sent to the current /logged-inMmembers (Current User’s)/profile /activity page. Not the “Community Sites” activity page.
What your getting is this
https://www.cb-riding.com/members/leog371/what you want is this
https://www.cb-riding.com/activityThis is probably due to either having your menu setup wrong or your pages in settings/buddypress set up with the wrong pages. I would start by going into your menus. Its under appearance in your wp dashboard and make sure that link gores to https://www.cb-riding.com/activity.
Then go to Settings/buddypress and make sure that the pages are set up correctly. Meaning “Activity Page” should be set to “Activity Page”.
It appears that the activity stream is not taking on your header and your theme stuff. Not sure whats going on there, you should check that out. Anyways, your activities page is here
January 7, 2018 at 1:19 pm #269981In reply to: Incompatibility with PHP 7
Varun Dubey
Participant@crandalln
BP have PHP7 support, Forum moderators have also confirmed it.
https://buddypress.org/support/topic/buddypress-php7-compatible/January 7, 2018 at 1:14 pm #269980In reply to: i want to edit buttons.
Varun Dubey
Participant@qaribhinder You can change button labels and terms using language files https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
January 7, 2018 at 12:37 pm #269976In reply to: How to Install BuddyPress
Varun Dubey
Participant@southstarasbestos You can follow documentation steps
Installation
ConfigurationJanuary 7, 2018 at 7:25 am #269974In reply to: How to re-direct Login page
leog371
Participant@dopeboy and @saz25. Here you go, I created a tutorial for you. Let me know if its helpful. Create Modal Login
January 7, 2018 at 5:51 am #269971In reply to: HTTP Error while uploading image
Anthony Tornambe
ParticipantI use buddypress plugins to optimize it.
January 6, 2018 at 9:08 pm #269966leog371
ParticipantI completely Disagree! BuddyPress has served me well in over 250 projects. I only use 3 plugins on average and never use any pre-made themes. I have developed over 250 perfectly working and extremely customized communities and learning websites as well as intranet sites using BuddyPress and have never had any issues with it. I have never had any issues making it do just exactly what I want to to do “Well, there maybe one or 2 items I would change”.
Anyways, my point is, if you know how to work with WP’s flavor of messed up PHP, if you know how to use the codex, the extensive list of attributes and hooks, actions and filters that are listed all over the web, BuddyPress is a pretty puppy that can pretty much act, do or become anything you want without all the plugins.
As far as the help goes around here, Well, yes, It has a lot to be desired. When you post a question, you must realize that not everyone here can help. A lot of the members here are looking for help themselves. The guys who can help are often times bogged down trying to help others and along with having work of their own to complete for their jobs at the same time. So yes, the help here is sparse but no one ever said that this was the help desk or the help line. Its just a forum for people to ask questions and get replies from other members and sometime staff that will help out someone when we can.
And Finally……
Wordpress and BuddyPress are basically developers platforms. It just so happens that its simple enough that basically anyone who has a desire to learn or are at least brave enough to look into some files can make changes and even figure out how to make a theme if they want. No one ever said it was easy for everyone which is why a lot of people pay other people to do the work for them. If you fall into this category, please just pay someone to do the work and stop whining about not getting help because you dont know what your doing.January 6, 2018 at 8:50 pm #269965In reply to: Buddypress Avatar Cropping Mobile – Portrait
leog371
ParticipantHi TFord06, It looks like this is a duplicate post of your other post “Buddypress Avatar Cropping Mobile – Portrait”. I have replied on your other posting.
Please try to limit your queries to just one post please. It helps keep the clutter down in the forums. ThanksJanuary 6, 2018 at 5:42 pm #269959In reply to: How to Install BuddyPress
leog371
Participant1. go into your WP dashboard
2. go to “Plugins” tab just below “Apperance” and Just above “Users”
3. Hover Over “Plugins” and click “Add New”
4. You Should see the “Buddypress Plugin” card right there. Click Install
5. If not, simply use the search feature there to search for BuddyPress
6. Once you find the “BuddyPress Plugin” click install
7. After Install, Activate it
8. After you activate it, go to the “Settings” tab at the bottom of your WP Dashboard
9. Under “Settings” you will see a “BuddyPress” Tab
10. Got thru the 3 tabs of settings to set it up. Its easy and quick
11. Check the new pages that you and BuddyPress Just added and see what kind of adjustments need to be made for your visual theme.
12. Viola! you have BuddyPress.
Should take less than 10 minutes for everything except any minor or major adjustments or tweaks in your theme if you even need any.January 6, 2018 at 5:25 pm #269957In reply to: i want to edit buttons.
leog371
Participant/** * Output the Add Friend button. * * @since 1.0.0 * * @see bp_get_add_friend_button() for information on arguments. * * @param int $potential_friend_id See {@link bp_get_add_friend_button()}. * @param int|bool $friend_status See {@link bp_get_add_friend_button()}. */ function ct_add_friend_button( $potential_friend_id = 0, $friend_status = false ) { echo get_add_friend_button( $potential_friend_id, $friend_status ); } /** * Create the Add Friend button. * * @since 1.1.0 * * @param int $potential_friend_id ID of the user to whom the button * applies. Default: value of {@link bp_get_potential_friend_id()}. * @param bool $friend_status Not currently used. * @return false|string HTML for the Add Friend button. */ function get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) { if ( empty( $potential_friend_id ) ) $potential_friend_id = bp_get_potential_friend_id( $potential_friend_id ); $is_friend = bp_is_friend( $potential_friend_id ); if ( empty( $is_friend ) ) return false; switch ( $is_friend ) { case 'pending' : $button = array( 'id' => 'pending', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button pending_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ), 'link_text' => __( 'Cancel Friendship Request', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button pending_friend requested' ); break; case 'awaiting_response' : $button = array( 'id' => 'awaiting_response', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button awaiting_response_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/', 'link_text' => __( 'Friendship Requested', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button awaiting_response_friend requested' ); break; case 'is_friend' : $button = array( 'id' => 'is_friend', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'friendship-button is_friend', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ), 'link_text' => __( 'Unfriend', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button is_friend remove' ); break; default: $button = array( 'id' => 'not_friends', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button not_friends', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ), 'link_text' => __( 'Add Friend', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'add', 'link_class' => 'btn btn-danger' ); break; } /** * Filters the HTML for the add friend button. * * @since 1.1.0 * * @param string $button HTML markup for add friend button. */ return bp_get_button( apply_filters( 'get_add_friend_button', $button ) ); } ?>January 6, 2018 at 5:24 pm #269956In reply to: i want to edit buttons.
leog371
Participant/* Example to Change item names of user’s and group’s nav menus ... Profile Menu https://codex.buddypress.org/developer/navigation-api/#examples */ function bpcodex_rename_profile_tabs() { buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Forums', 'textdomain' ) ), 'forums' ); buddypress()->members->nav->edit_nav( array( 'name' => __( 'MY Groups', 'textdomain' ) ), 'groups' ); } add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );/* Example to Rename Group Menus https://codex.buddypress.org/developer/navigation-api/#examples*/ function bpcodex_rename_group_tabs() { if ( ! bp_is_group() ) { return; } buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() ); buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Members', 'buddypress' ) ), 'members', bp_current_item() ); buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Activity', 'buddypress' ) ), 'home', bp_current_item() ); } add_action( 'bp_actions', 'bpcodex_rename_group_tabs' );/* Example to Remove subnav tabs from Group Settings https://codex.buddypress.org/developer/navigation-api/#examples*/ function bpcodex_remove_group_manager_subnav_tabs() { // site admin will see all tabs if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) { return; } // all subnav items are listed here. // comment those you want to show $hide_tabs = array( // 'group-settings' => 1, // 'delete-group' => 1, // 'group-avatar' => 1, // 'group-invites' => 1, // 'manage-members' => 1, // 'forum' => 1, // 'group-cover-image' => 1 ); $parent_nav_slug = bp_get_current_group_slug() . '_manage'; //Remove the nav items foreach ( array_keys( $hide_tabs ) as $tab ) { bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' ); } } add_action( 'bp_actions', 'bpcodex_remove_group_manager_subnav_tabs' );January 6, 2018 at 4:27 pm #269954Renato Alves
ModeratorYou can certainly use BuddyPress WP CLI for that: https://github.com/buddypress/wp-cli-buddypress
It has a
wp bp group membercommand.Something like
wp bp group member remove --group-id={GROUP_ID} --user-id={MEMBER_ID}January 5, 2018 at 8:05 am #269938In reply to: Custom links for BuddyPress related profile fields.
seanbees
ParticipantHey @vapvarun I appreciate your response. However I am not speaking of the default links that BuddyPress natively provides. I am speaking of creating custom menu links where I can swap out the members username, for example my username being “seanb” with a default name or something along those lines. That way it will take them to their own respective page.
January 5, 2018 at 8:01 am #269937Varun Dubey
Participant@ingohaeck try to deactivate other BuddyPress plugins and keep BuddyPress plugin active; it might be possible any 3rd party plugin is filtering your activity stream.
January 5, 2018 at 7:58 am #269936In reply to: Custom links for BuddyPress related profile fields.
Varun Dubey
ParticipantHi @seanbees
You can find BuddyPress specific links with menu section, Click on “Screen Options” to open up the panel at the top of the screen and check the “BuddyPress” option under the “Show On Screen” section.January 5, 2018 at 7:48 am #269934In reply to: Profile Fields Issue
Varun Dubey
Participant@hypuk BuddyPress only adds Name fields as primary field, it might be possible your theme or any plugin is adding those fields via custom codes.
January 5, 2018 at 7:37 am #269932In reply to: Buddypress integration separately
Varun Dubey
Participant@ranajoyc BuddyPress expend the WordPress functionality, it uses the same user tables which are created by regular WordPress installations. WordPress users will always be part of your BuddyPress community.
January 4, 2018 at 11:44 pm #269928In reply to: the7 theme
crazycoolbs
ParticipantThe 7 is not compatible with buddypress. I buy this theme before 2 week and just wonder how to do it the buddypress.
January 4, 2018 at 9:57 am #269921In reply to: Filter activity action
Skyrie
Participant@graeme_bryson and for anyone else who wants to know, this code should work!
function my_activity_posted_by_action( $action, $activity ) { $action = sprintf( __( '%s', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) ); return $action; } add_filter( 'bp_activity_new_update_action', 'my_activity_posted_by_action', 1, 2 );January 3, 2018 at 3:14 pm #269913Peter Hardy-vanDoorn
ParticipantThis should do the trick:
function bgmc_nosubs_redirect() { if ( current_user_can( 'Customer' ) && is_buddypress() ) { wp_redirect( home_url( '' ) ); exit(); } } add_filter( 'template_redirect', 'bgmc_nosubs_redirect' );Note – untested, but theory is sound 🙂
January 3, 2018 at 3:08 pm #269911In reply to: Paid Membership Pro and Buuddypress – Registration
pmhn
ParticipantHi Will,
Sorry for the post-hijack but I’ve been looking for a solution to a problem that you’ve eluded to;
Are you saying that s2Member will allow users to register using BuddyPress, to join a buddypress group (using https://en-gb.wordpress.org/plugins/buddypress-registration-groups-1/) AND a corresponding mailchimp group, all within the same registration process?
If so then I’d like to kiss you – I’ve been looking for a solution to this for months.
Chris.
January 3, 2018 at 1:33 pm #269910In reply to: Course Group Error
quentro
ParticipantTo resolve this issue, Open and edit file at /plugins/boss-learndash/templates/learndash-buddypress/buddypress-group-single.php
Replace line #116 with the next line.
printf( _n( '%s '.LearnDash_Custom_Label::get_label( 'lesson' ), '%s '.LearnDash_Custom_Label::get_label( 'lessons' ), count($total_lessons), 'boss-learndash' ), count($total_lessons) );January 2, 2018 at 1:28 am #269875In reply to: HTTP Error while uploading image
knight287
ParticipantI came across this topic: https://buddypress.org/support/topic/http-error-when-uploading-buddypress-avatar-profile-photo/
I checked and got “PHP GD library is installed on your web server”. So PHP GD is installed on the server.
January 2, 2018 at 12:48 am #269871In reply to: Removing specific BuddyPress tabs
seanbees
ParticipantTried editing the topic category, would not let me. Should be in “How-to” instead of “Installing BuddyPress”.
-
AuthorSearch Results