Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,726 through 24,750 (of 94,552 total)
  • Author
    Search Results
  • fakename014
    Participant

    Hi,

    I have a custom theme for Buddypress. Currently the WP admin bar shows for admin users, but no others.
    I would like all users to be able to use the admin bar so they can access their activity, notifications, settings etc

    Is this normal for Buddypress to only show the admin bar to admins? or have I somehow done something to hide it from non-admins?

    It’s not a theme problem because I tried it with other themes and had the same problem.

    Can anyone help?

    Info:
    Wordpress 3.9.1
    Buddypress 2.0.1
    bp-custom.php –> 2 redirect functions for login and logout
    lots of plugins
    Local dev running on MAMP

    #184966
    Essam12
    Participant

    Hi, I’m new to BP and WP! I have a quick question:

    How can I show a one-line bio beneath usernames in the list of members in the ‘Members’ page of my BuddyPress website? For example, Facebook has a similar feature; it shows a name with a description beneath, e.g. ‘John Smith’ with ‘Engineer at Nuts & Bolts Co’ right beneath it.

    I found the following line of code in member-header.php:
    <h2 class=”user-nicename”>@<?php bp_displayed_user_username(); ?></h2>

    I thought about adding another line beneath for the bio field, but I’m not sure what to replace “bp_displayed_user_username();” with – I don’t think there is a “bp_displayed_user_bio();”. Should I create it? If so, how?

    Thank you for your time!

    #184957
    finchkelsey
    Participant

    I am running a multisite install and using NS Cloner to duplicate the sub sites. The site wide notice in messages in buddypress functions as far as completing and displaying the notice to all users, however it displays on all of the sites in the network. Is there a site path I should define in the DB perhaps? Thank you

    #184953
    steveparkinson
    Participant

    Novice here… this should be fun. (July 2014)

    I got someone to import users in to my sweetdate (2.6.1)/buddypress (2.5.4) site. The users are there in the WordPress users, but not in the Buddypress site. They don’t even show up in the Pending Activation. I can see them in the SQL Database.

    How can I migrate them in to the Buddypress members, searchable, database.

    Thanks in advance.

    teury
    Participant

    hola alguien me puede pasar algo de Css para yo ponerlo a mi thema.

    alguien conose algun plugins o algo. porfa nesecito ayuda.

    #184951
    jfheath
    Participant

    I’m running a subdirectory-based multisite setup using W3.9.1 and BuddyPress 2.0.1

    Going into the dialogue, it shows: Sitename, followed by the URL of the multisite setup ibstherapists.co.uk/ and then the input field, so I enter ‘test’ expecting to access the site as ibstherapists.co.uk/test

    However, once the create a site is completed, the actual URL displayed is http:///test/ – no sign of the ibstherapists.co.uk and of course the url is invalid.

    I’m new to Buddypress, so it is quite possible I’ve missed something (although I couldn’t find anything!). Could someone please give me some pointers in the right direction?

    Miatsu
    Participant

    Hello,

    I’m actually using WordPress 3.9.1 and BuddyPress 2.0.1.

    I would like to set a condition where : if current user is a member of the group X, then I display Y content. I would like to do this outside of the buddypress loop.

    How can we know if the current user is in a group and in which group he is?

    Thank you in advance !

    Miatsu

    #184947
    UrbanFix
    Participant

    Hello,
    to start with i messed up real bad.. (I think!)
    I opened php my admin and deleted every user in WP_users, even my self, I did however put my self back in and i can now log back into my site… not sure whether i needed to do anything specific and i was also wondering what the importance of user status; 0 was..?
    Now, should i be worried about the above?

    Secondly, (still in php myadmin), I navigated to wp_bp_xprofile_data and deleted everything in there too, i have added myself back in and all seems okay…

    Now when im loged in and go to the user page it says 1542 or whatever users but only shows me… and does the exact same thing with subscribers..

    I also have 3000 pending which is still there and has all the users (I decided i best stop messing around at this point and couldnt find them in phpmyadmin anyhow…)

    I also deleted buddypress and reinstalled it, which changed nothing..!

    So how bad are things?
    I’d really appreciate the help and guidance,
    Many many thanks in advance,
    UrbanFix

    #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

Viewing 25 results - 24,726 through 24,750 (of 94,552 total)
Skip to toolbar