Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,751 through 24,775 (of 94,569 total)
  • Author
    Search Results
  • #184945
    Leonyipa
    Participant

    thanks! I changed to Twenty-Thirteen and the error is resolved!!!

    but the old theme I am using is actually the BuddyPress Default theme, I really want to use it, is it possible to be fixed?

    thanks

    Perrie
    Participant

    I have been receiving this message:

    The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair

    I have posted on wordpress and they sent me to buddypress. I looked in the past forums but it seemed in the past this was fixed by the “wizard” which is not in use anymore. I am using bluehost and have done all my downloading through them with this being the only problem
    Any advice on how to fix this?

    Thanks!

    #184940
    Nomi
    Participant

    I am trying to allow user to join group using enrollment key as you can see here.
    https://buddypress.org/support/topic/join-group-by-key/

    I got it working in core file but i have no idea how to implement in my plugin is there any other way?
    Here is my code

    
    if ($_POST['enrollment-key'] =='xxx'){
     				 groups_join_group($bp->groups->current_group->id , bp_loggedin_user_id() );
     				 bp_core_add_message( __('You have successfully joined this group.', 'buddypress' ) );
     			}else{
     				 groups_join_group($bp->groups->current_group->id , bp_loggedin_user_id() );
     				bp_core_add_message( __( 'Your membership request was sent to the group administrator successfully. You will be notified when the group administrator responds to your request.', 'buddypress' ) );
     			}
    #184935
    Nomi
    Participant

    can anyone guide me how can I override following function from my plugin. I know how to use add_action but I didn’t found add_action for this function in buddypress plugin. Its using do_action and I am not sure how to get it working

    function groups_screen_group_request_membership() {
    	global $bp;
    
    	if ( !is_user_logged_in() )
    		return false;
    
    	$bp = buddypress();
    
    	if ( 'private' != $bp->groups->current_group->status )
    		return false;
    
    	// If the user is already invited, accept invitation
    	if ( groups_check_user_has_invite( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) {
    		if ( groups_accept_invite( bp_loggedin_user_id(), $bp->groups->current_group->id ) )
    			bp_core_add_message( __( 'Group invite accepted', 'buddypress' ) );
    		else
    			bp_core_add_message( __( 'There was an error accepting the group invitation, please try again.', 'buddypress' ), 'error' );
    		bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
    	}
    
    	// If the user has submitted a request, send it.
    	if ( isset( $_POST['group-request-send']) ) {
    
    		// Check the nonce
    		if ( !check_admin_referer( 'groups_request_membership' ) )
    			return false;
    
    		if ( !groups_send_membership_request( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) {
    			bp_core_add_message( __( 'There was an error sending your group membership request, please try again.', 'buddypress' ), 'error' );
    		} else {
    			bp_core_add_message( __( 'Your membership request was sent to the group administrator successfully. You will be notified when the group administrator responds to your request.', 'buddypress' ) );
    		}
    		bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
    	}
    
    	do_action( 'groups_screen_group_request_membership', $bp->groups->current_group->id );
    
    	bp_core_load_template( apply_filters( 'groups_template_group_request_membership', 'groups/single/home' ) );
    }

    its from bp-groups-screens.php

    #184934
    David Neff
    Participant

    Hello guys,

    I have a website problem. I have buddypress installed with BBPress and people are unable to register for the website.

    Here is the link to the registration form: http://noahidecorner.com/register/

    The “anyone can register” box is checked.

    PS: How can I make that page full width?

    Regards,

    David P. Neff

    medkadri
    Participant

    Hello,

    I’m new to BuddyPress and the Xprofile extension,

    I’ve just created a simple site like linkedin. I can create a field section which contains some fields. Exple:

    * Basic Info:
    – Name: my name
    – Date of Birth: my date of birth

    Now I want to do this:

    * Languages:
    – 1:
    – Languge: English
    – Level: Excellent
    – 2:
    – Languge: French
    – Level: Intermediate

    How to do it just like LinkedIn does?

    Thanks.

    #184912
    shanebp
    Moderator

    Yikes – that was just a skeleton that needs actual code in the function.

    Given your code ability and the number of code requests you’ve recently made on these forums,
    I recommend that you post a job listing here.

    #184902
    r-a-y
    Keymaster

    I’m guessing you have an older plugin that you want to support with the newer theme compatibility standard.

    Since you’re referencing bp_core_load_template( 'activity/index' ) in your example, I’m guessing you are trying to add theme compat for a new slug in the activity directory (eg. example.com/activity/new-slug/)? If so, you’ll want to copy the following code, rename the class and change a few things, so it is applicable to your plugin:
    https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-activity/bp-activity-screens.php#L301

    Then you would load up your new class with the bp_core_load_template() call.

    if ( class_exists( 'BP_Theme_Compat' ) ) {
         new BP_Activity_WHATEVER_YOUR_CLASS_IS_CALLED_Theme_Compat;
    }
    bp_core_load_template( 'activity/index' );
    #184899
    shanebp
    Moderator

    Never put code into the buddypress plugin files.

    Use your theme functions.php or use bp-custom.php.

    #184898
    JoshtheDesigner
    Participant

    Thanks! Would I put this in the Functions file in my child-theme or in the buddypress/bp-activity/bp-activity-functions.php file? If it is in the activity functions where should I put it? Sorry I am still learning buddypress.

    #184896
    shanebp
    Moderator

    Use the ‘xprofile_updated_profile’ hook

    function josh_profile_check( $user_id, $posted_field_ids, $errors ) {
      /* check $posted_field_ids to see if one of the fields you are interested in has changed
      if yes, then use bp_activity_add to add to activity stream
      */
    }
    add_action( 'xprofile_updated_profile', 'josh_profile_check', 10, 3 );

    bp_activity_add

    #184892
    shanebp
    Moderator

    Assign the button to a var, then dump it to see what is returned.

    $asdf = bp_get_button( etc. ) 
    var_dump( $asdf ); 

    Your bp_button calls look ok, afaik.

    Take a look at the function
    buddypress\bp-core\bp-core-template.php ~L. 487

    Giacomo
    Participant

    Hi all
    I’m running the latest WP and BP version.

    During the group creation process after writing group title+description I don’t see any of the text of step 2
    If I press next-step I get an error “Are you sure you want to do this?”

    The error persists after disabling all plugins but BuddyPress and switching to a default theme.

    I guess it must be something related to the dev environment but I don’t know how to troubleshoot this further, has anyone any tips I can try?

    Thanks! : )

    #184887
    hananb
    Participant

    Hello all,

    Please forgive me for my ignorance.
    I am building a BP app and trying to add tabs to groups (in addition to the default ones).
    I created a plugin based on the (first or second) example in this link : http://codex.buddypress.org/developer/group-extension-api/
    and activated it. No errors.

    Does this code generate a new tab? If not, please advise how can I generate it.

    Please help,
    Ben.

    #184884
    Nomi
    Participant

    okay i used bp_get_button but still no luck. then I removed requests-loop.php from theme buddypress folder that it can use plugin’s requests-loop.php still its not displaying

    #184877
    lorns
    Participant

    @mercime as mentioned in my original post I’m running locally using MAMP. I’ve done 3 clean installs first deleting then redownloading & installing both WordPress & BuddyPress.

    Totally stumped & frustrated.

    #184876
    @mercime
    Participant

    @lorns Have you tried deleting and then re-uploading BuddyPress manually? Files may have been corrupted or upload could be incomplete. Where are you hosted – locally or shared hosting or dedicated server, etc?

    #184875
    lorns
    Participant

    @mercime I’ve been having a little more of a dig around – if I look at the generated site code, the sign-up form has nothing set for the action attribute and I can’t find any JS script that would submit the form programmatically in place of that.

    I’ve tested it out using invalid data and can confirm that it’s not reaching the signup validation script in the BuddyPress bp-members-functions.php file. I’ve not touched/edited the plugin files, just trying to figure out whether it’s getting where it needs to go.

    #184874
    lorns
    Participant

    @mercime I was originally using the TwelveFourteen theme and it wasn’t working then. I couldn’t see the bp_default theme but I kept coming across advice that said I needed to be using the BuddyPress default theme – managed to find it in the plugin files.  I’ve just now switched back to TwelveFourteen (to make double/triple sure) but it still won’t work. The registration page just reloads with form inputs intact (other than the password).

    Definitely logged out, have tried in latest versions of Safari, Chrome & Firefox, go to Register Page, fill in details, hit submit – page reloads with all bar password fields intact.

    I’m not sure what further steps I can give you other than above. My latest install is clean, up to date, unless I’ve missed some glaring setup step but I’m sure I’ve followed the guides correctly. I’m totally stumped.

    #184869
    Doremdou
    Participant

    Hi @mercime thank you very much for your answer 🙂

    sorry, I am always on the last version: BP 2.0.1 and WP 3.9.1

    I tried what you said and I am so sad…
    The problem is indeed coming from my theme 🙁

    I have two problems coming from my theme with buddypress and activities…
    – The read more button on group activites is not working
    – and when we click on “delete” on a activity message, it does not work and display a 404 error page.

    With the twenty fourteen theme it is working fine…
    Where should I look what is wrong with my theme?
    Thank you very much for your help 🙂

    #184868
    Nomi
    Participant

    I have wasted too much time on this.. If you could help me that would be great.

    I am creating buddypress compatible theme. Everything works fine but these two buttons for groups are not displaying. It works on wordpress default theme. I added a string to check conditions and its fine and displaying string but these buttons are no where in html

    <?php bp_button( array( 'id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __( 'Accept', 'buddypress' ), 'link_text' => __( 'Accept', 'buddypress' ) ) ); ?>
    
    					<?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __( 'Reject', 'buddypress' ), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?>
    
    shpitzyl
    Participant

    Hello all.
    Does someone here know how to embed buddypress favorite button inside bbpress posts? Is it possible to get the activity id from the post id?

    #184863
    @mercime
    Participant
Viewing 25 results - 24,751 through 24,775 (of 94,569 total)
Skip to toolbar