Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,026 through 25,050 (of 94,553 total)
  • Author
    Search Results
  • #184071

    In reply to: Help with profiles

    danbp
    Participant

    It’s a field builder plugin, not a filter, so no it wouldn’t help you. BuddyPress already do this (building fields and fields section) for xprofile component, so such a plugin is not to use with BP.

    Conditionnal fields is an old and remaining “must have” thing, but the state of the art is far away i guess.
    https://buddypress.org/support/topic/buddypress-conditional-profile-fields-available-now/

    i would take a try over Gravity Form at your place.

    #184070
    danbp
    Participant

    Where do you use this code ?

    Read here and see especially the recommendation at the end of the post:

    Members Loop


    or view more here:

    Add custom filters to loops and enjoy them within your plugin

    #184062
    blu3shad0w
    Participant

    Hi

    I’m trying to figure out how to do something with profiles in buddypress and wondered if you would be able to assist.

    I’m a novice with all the buddypress coding btw…..

    I’ve downloaded the buddypress xtended fields plugin.

    What I’m after is the following.
    each of the numbers are different levels…

    1 Select game type
    Options would be MMORPG, FPS, Other.

    If other is selected then subject to admin approval it be added as an extra option.

    2 Select Game name
    So for MMORPG you would have Neverwinter, DDO, Marvel, Other.
    Again if other is selected then subject to admin aprroval it be added as an extra option.

    FPS and the others would have different options.

    3) Account Name 1 + Additional account
    If additional account is selected then it would display Account 2 etc up to say a max of 10.

    4) Number of characters.+ additonal character

    5) Character Name – text field entry.
    Class – Drop down field of say 5 options + other
    Race – Drop down field of 5 options + other
    level – number 1 to 60
    Date last updated.

    there is a plugin about conditional fields, but not sure if this can handle this? Also I shall look at doing a spreadsheet that might show better what im after.

    Cheers

    blue

    #184049
    danbp
    Participant

    Are you aware about css styling ?
    The css goes into your theme style.css, not in the core file.

    Please read a little the codex before asking for such basic things !
    Read about child-theme and buddypress customization. On BP’s codex and WP codex too.
    You can also learn a lot by only reading topics on this forum.

    #184048
    paton400
    Participant

    Hey guys, me again!

    I’m using a plugin called BuddyPress xProfiles ACL (which is great) to allow certain user roles to edit information in users profile fields (I don’t want the individual users to have access to make these changes).

    This works great, but it also allows these user roles to read through other users private messages, change avatars, settings etc.

    I’d like to make it that my managers can log in (front end) and change their authorised profile fields for other users (NOTHING ELSE).

    I don’t mind admin having access to all, but not anyone else.

    Please can you tell me how to set this up?

    Regards

    #184046
    paton400
    Participant

    Hi Danbp,

    I managed the first part no problem, but to so much with the second.

    I just pasted the following into each of the index.php folders in bp-templates/bp-legacy/buddypress/(activity, blogs, forums, groups and members)

    #activity-all span, 
    #members-all span{
    	display:none;	
    }

    Nothing seems to have happened. The counter still appears and displays zero.

    #184027
    Vino
    Participant

    It’s possible “View all Members” page show hear.

    Activity
    Profile
    Messages
    Friends
    View all Members
    Groups
    Settings

    How do I add an item to this menu?

    How do display this menu inside my template? (The default page template only displays the main navigation.)

    #184024
    r-a-y
    Keymaster

    Here is the BP release archive page:
    https://codex.buddypress.org/developer/releases/

    This is what I would do. Disclaimer: Don’t blame me if anything goes wrong with your site. 🙂

    Now with that out of the way. First of all, backup your database, your plugins and theme.

    Next, make sure you have a development environment set up. Do not do this on a production site!

    Disable all BP plugins to be safe.

    I would update to the latest version of WordPress first. Then, upgrade to BuddyPress 1.9.2. Then, update to BuddyPress 2.0.1.

    Update any outdated plugins and reactivate the BP plugins. Then, test your site out. See if there are any bugs.

    Once you’ve confirmed everything is good, then do the same on your production site.

    #184023
    r-a-y
    Keymaster

    If you’re not using the Friends component, why not disable it under the BuddyPress components menu?

    Configure BuddyPress

    Uncheck “Friend Connections” and save.

    If you’re using the wp_bp_friends table in weird ways. Disable the friends component and create your own custom component plugin referencing this table. You should really have created a new table and namespaced it differently to avoid these issues you’re running into.

    You could also try removing the button:
    remove_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 );

    This would need to be called before the page loads.

    #184022

    In reply to: Ning Import

    @mercime
    Participant

    @doodledogcody as of now, there’s only a premium plugin https://premium.wpmudev.org/project/ning-to-buddypress-user-importer/ that does Ning to BP import.

    #184008
    Morgan Kay
    Participant

    I am using the following code to add a custom post type to users’ activity streams:

    
    add_filter ( 'bp_blogs_record_post_post_types', 'ecomukti_activity_publish_custom_post_types',1,1 );
    function ecomukti_activity_publish_custom_post_types( $post_types ) {
    	$post_types[] = 'product';
    	return $post_types;
    }
    
    add_filter('bp_blogs_activity_new_post_action', 'ecomukti_cpt_activity_action', 1, 3);
    function ecomukti_cpt_activity_action( $activity_action,  $post, $post_permalink ) { 
        global $bp;
        if( $post->post_type == 'product' ) {
            if ( is_multisite() )
                $activity_action  = sprintf( __( '%1$s created a new campaign, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', '<a href="' . get_blog_option( $blog_id, 'home' ) . '">' . get_blog_option( $blog_id, 'blogname' ) . '</a>' );
            else
                $activity_action  = sprintf( __( '%1$s created a new campaign, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' );
        }
    
        return $activity_action;
    }
    

    However, I also want this activity to show up in the group loop for all groups the user belongs to. How can I get this to show on the group page?

    I have read the following pages, but I haven’t found them helpful:

    Add custom filters to loops and enjoy them within your plugin

    Groups Loop

    #184007
    saturdaysound
    Participant

    @shanebp

    Thanks for that! It’s doing something different now, but not what I need unfortunately.

    What is happening now is that the Title and Content are the only thing on the page, there is no other content… not my page header, not the Buddypress profile page, nothing at all.

    Here’s the new code.

    function profile_tab_favourites() {
          global $bp;
     
          bp_core_new_nav_item( array( 
                'name' => 'Favourites', 
                'slug' => 'favourites', 
                'screen_function' => 'favourites_screen', 
                'position' => 40,
          ) );
    }
    add_action( 'bp_setup_nav', 'profile_tab_favourites' );
     
     
    function favourites_screen() {
        //add title and content here - last is to call the members plugin.php template
        add_action( 'bp_template_title', 'favourites_title' );
        add_action( 'bp_template_content', 'favourites_content' );
        bp_core_load_template( 'buddypress/members/single/plugins' );
    }
    function favourites_title() {
        echo 'Title';
    }
    
    function favourites_content() { 
        echo 'Content';
    }

    -NOTE: my buddypress templates are all inside a directory called “buddypress” on root, hence the “buddypress/members/single/plugins” not “members/single/plugins”.

    Any known reason for this behaviour?

    #184006
    danbp
    Participant
    #184005
    shanebp
    Moderator

    Try changing this:

    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘buddypress/members/single/plugins’ ) );
    

    To this:

    bp_core_load_template( 'members/single/plugins' );

    #184003
    danbp
    Participant

    This filter will remove any members count everywhere. Goes into bp-custom.php or theme’s functions.php

    add_filter ('bp_get_total_member_count', '__return_false');

    Now you see a count with zero. But this count is hardcoded in a span. So you can hide this with css:

    #activity-all span, 
    #members-all span{
    	display:none;	
    }

    See html/css details in index.php of each folder in bp-templates/bp-legacy/buddypress/

    #184002
    saturdaysound
    Participant

    Hello!

    I’m having trouble with getting my content to work when adding a new tab to the profile page. Here’s my code:

    
    function profile_tab_favourites() {
      global $bp;
      bp_core_new_nav_item( array( 
        'name' => __( 'Favourites' ), 
        'slug' => 'favorites', 
        'screen_function' => 'favourites_screen', 
        'position' => 40 ) 
      );
    
      function favourites_screen() {
        //add title and content here – last is to call the members plugin.php template
        add_action( 'bp_template_title', 'favourites_title' );
        add_action( 'bp_template_content', 'favourites_content' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'buddypress/members/single/plugins' ) );
      }
    
      function favourites_title() {
        echo 'Title';
      }
    
      function favourites_content() {
        echo 'Content';
      }
    }
    add_action( 'bp_setup_nav', 'profile_tab_favourites' );

    Adding the tab works great, but my screen function doesn’t work at all. infact, when I click on my tab I just get 404’d and there’s no content echoing at all.

    I have searched and searched for an answer everywhere and I can’t find anyway to figure this out. I would love some advice.

    If you need me to supply anything, just let me know!

    Thanks!

    ajm113
    Participant

    Hi I just migrated my site to a new server, and everything works fine and all, but not it appears BP-Album is broken, and will no longer let me upload photos or make changes to avatars.

    I get this nasty error when ever I log into wordpress admin.

    Your sever does not meet the minumum requirements to run Bp-Album, this means the plugin may not function correctly. Please check that you have the required WordPress and BuddyPress versions, as well as up to date versions of PHP, MYSQL and the GDLib.

    Server Specs:
    PHP 5 suPHP
    MySQL 5.5
    Wordpress 3.9.1
    BuddyPress 2.0.1
    Apache 2.2.27

    Any help would be appreciated, thank you! 🙂

    tormorten
    Participant

    Hi,

    I don’t know if this is a BuddyPress bug or something in my own code, but I’ve been struggling with this for a couple of weeks.

    I create a new, hidden, group as per usual. Everything good all the way so far.

    After this I go to wp-admin to use the “Groups” option page. I can’t seem to find the group anywhere. I try making it a public group (I can manage it because I still have it open in another tab in my browser). Still doesn’t show up.

    On this installation I have almost 200 other hidden groups that show up just fine. Does anyone have any idea why this may be?

    I’d greatly appreciate a response to this!

    Thanks,
    Tor

    #183994
    ariane1001
    Participant

    Hi, it was the theme. after updating it everything worked again.

    If you look for information about updating you find an old post that says you have to deactivate buddypress before updating. But when you do that, and your theme is using parts of buddypress this will nog work and give the white screen.
    It would be nice if the info would be more up to date.

    #183992
    mrknutsson
    Participant

    Hello,

    I’m using BuddypPress 1.6.4 with WordPress 3.5.1

    I want to upgrade my BuddyPress 1.6.4/WordPress 3.5.1 to BuddyPress 2 and WordPress 3.9.1 but cant find any information how to do the upgrade. In the codex there is information about how to upgrade from older versions of BuddyPress to 1.6. http://codex.buddypress.org/getting-started/upgrading-buddypress/ but no info about how to go from there to BuddyPress 2..

    Also, there is no info in the plugin page in the admin panel next to the BuddyPress plugin about any new versions.

    Anyone with more info about this or experience of upgrading from BuddyPress 1.6 to 2?

    Thanks / Marcus
    http://www.musiklararportalen.se/

    Anonymous User
    Inactive

    Hi,

    Depending on the theme you use (regular WordPress theme, BP Default or a child of it, or a standalone BuddyPress theme), you can override some templates to achieve your goal.

    Have a look at the codex starting with this page : https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    If it’s a regular WordPress theme, then you can can add a buddypress folder in it and copy these templates into it respecting the ‘tree’ :
    – bp-templates/bp-legacy/buddypress/activity/index.php
    – bp-templates/bp-legacy/buddypress/members/single/activity.php

    Once done, you should have :
    – yourthemefolder/buddypress/activity/index.php
    – yourthemefolder/buddypress/members/single/activity.php

    Then into these two files search for bp_get_template_part( 'activity/post-form' ); and you should see a line above an if statement containing is_user_logged_in().... Replace is_user_logged_in() by bp_current_user_can( 'theminimumcapability' )

    where theminimumcapability is the the role capability you’re targeting. See the WordPress codex to define it : https://codex.wordpress.org/Roles_and_Capabilities

    #183986
    Anonymous User
    Inactive

    Hi,

    You can use the Group Extension API to build your own group area : https://codex.buddypress.org/developer/group-extension-api/

    Morgan Kay
    Participant

    I want to add a menu item to the groups page.

    I have found plenty of information about how to use bp_core_new_nav_item() to add menu items to the profile page, and pages such as this http://themekraft.com/blog/customize-profile-and-group-menus-in-buddypress/ that explain how to add and reorder menu items on the groups page, but I haven’t been able to find anything about how to add a menu item to the groups page.

    Does anyone know how to do this?

    #183981
    hragupathi
    Participant

    Hello,

    new to buddypress and attempting to add some user profiles to our company website.

    Is there a way to set permissions on buddypress? We are trying to add user profiles to our company site. What we want to do is allow users(our customers) to sign up, but we want to restrict the ability to view members and send private messages to only the admins. How would I go about doing this in buddypress? When I take away the members page, the ability to see/edit/view profiles is taken away as well.

    RikusWhite
    Participant

    Hey guys.

    I’m new to buddypress and have found it great to work with on my site as I am starting a paid membership community for business users.

    I do have one problem that still hangs over my head. I am trying to restrict some member types from posting activities from their profiles. This will only be available for some users.

    Is there a plug-in that I require? Am I missing something in the setting somewhere?

    Please help out.
    Thanks.

Viewing 25 results - 25,026 through 25,050 (of 94,553 total)
Skip to toolbar