Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to make group avatars sharper in the forum How-to & Troubleshooting 9 years, 11 months ago

    Can you check the size of the image on your server?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Protect Groups From Deletion in Admin Dashboard in the forum Creating & Extending 9 years, 11 months ago

    If a non-admin user tries to delete a group from within the admin area, they’ll get redirected to your home page.

    add_action( 'groups_before_delete_group', function() {
    if ( ! is_admin() ) {
    return;
    }
    if ( ! current_user_can( 'manage_options' ) ) {
    wp_redirect( home_url() );
    exit;
    }
    } );

    Note: I haven’t…[Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Recommend caching plugin for BP in the forum Third Party Plugins 9 years, 11 months ago

    Sure does. But if you had 100 pictures on one page, that’d be the biggest cause of slowness for that particular page.

    Use Chrome dev tools (the “Network” tab) to sample a few pages (home page, user profile, directory) and look at the size and see what’s happening.

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Replicate data to another database in the forum How-to & Troubleshooting 9 years, 11 months ago

    As both sites are WordPress, you can, for example, share the wp_users table between separate WordPress installations, but all the BuddyPress profile data is stored in custom BuddyPress tables. The non-BuddyPress site will have no idea where or how to get the profile data from the BuddyPress-powered site.

    You could, for example, copy the database…[Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Conditional fields required logic & importing info from DB in the forum Creating & Extending 9 years, 11 months ago

    BuddyPress doesn’t support conditional profile fields (yet?). This is asked frequently but I can’t remember if anyone’s built a plugin that handles this. You might have to hack something together bespoke for your theme.

    Regarding the second point, I’d recommend creating a custom field type, if you know PHP. It’s not too hard to do — I worked on…[Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Private message "Send To" field does not seem to use "user_login" value in the forum How-to & Troubleshooting 9 years, 11 months ago

    You’re correct. The relevant function is messages_new_message(): https://buddypress.trac.wordpress.org/browser/trunk/src/bp-messages/bp-messages-functions.php#L130

    You can set the BP_ENABLE_USERNAME_COMPATIBILITY_MODE constant to get BuddyPress to accept user_login values on the message compose screen rather than the user_nicename. See…[Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Gibbs updated the Changing Internal Configuration Settings page, on the BuddyPress Codex 9 years, 11 months ago

    N.B: This article lists deprecated settings as well as current ones

     

    There are many internal configuration settings that can be changed by adding a configuration definition line to your […]

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Recommend caching plugin for BP in the forum Third Party Plugins 9 years, 11 months ago

    I can’t speak for all the BuddyPress development team but, personally, I would not recommend W3TC. There is a specific bug with its Object Caching implementation that breaks password resets on BuddyPress for some obscure reason we weren’t able to track down.

    You need an Object Cache plugin, which will be backed by a Memcached or Redis instance,…[Read more]

  • Profile picture of Steve Taylor

    Steve Taylor replied to the topic Using member types tabs for custom members directory filter in the forum How-to & Troubleshooting 9 years, 11 months ago

    Thanks. As far as I can see, the relevant section there that deals with the Members directory is looking at the ordering drop-down. It’s not what I would call a ‘filter’, i.e. filtering results by certain criteria to shown only a sub-section of members. I was thinking that the tabs (where currently there’s only ‘All Members’) would be the more…[Read more]

  • Profile picture of Masoud

    Masoud replied to the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    @sharmavishal
    hi. thanks for the answer, i got it.

  • Profile picture of Kinex Media

    Kinex Media's profile was updated 9 years, 11 months ago

    Kinex Media

    @kinexmediainc

    View Profile
  • Profile picture of Masoud

    Masoud replied to the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    @danbp
    do i need to update the codes in my theme manually, everytime you roll an update for the plugin?
    because as it’s said in many places, when i create a folder named “Buddypress”
    in my theme, it will override the original. correct?

    for example. now it’s version 2.5.3 and i copied the general.php from plugin in my theme’s buddypress folder.
    so…[Read more]

  • Profile picture of Masoud

    Masoud replied to the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    @shanebp
    hi, the function worked very well.
    and thanks for your help.

  • Profile picture of Masoud

    Masoud replied to the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    @danbp
    thanks for your complete explanation. but there is not such a file members/single/settings/general.php in my socialchef theme.
    and yes, i do have a buddypress folder in my socialchef theme.
    so i created the path. and copied the general.php from buddypress plugin files to the destination folder.
    and did the changes as i want.
    thanks a lot.

  • Profile picture of Masoud

    Masoud replied to the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    @danbp
    first of all i have to thank you for your quick answer and great support.
    i am very satisfied with the support of this plugin. you guys are great.
    thank you very much.
    —-
    1 & 2 ) the function worked great, but the “private message” button in profile still remains!
    i mean if a user can not send message so there is no need to show them that…[Read more]

  • Profile picture of Masoud

    Masoud started the topic [Resolved] how hide tab only for user? not remove/disable in the forum How-to & Troubleshooting 9 years, 11 months ago

    hi.
    i want to hide some tabs only for non-admins.
    for example “Compose”
    underMessage > Compose.
    in bp-messages/classes/class-bp-component.php lines:199 & 287.
    it’s possible to add a conditional if().
    <strong>if(current_user_can(administrator))</strong>
    {
    $sub_nav[] = array(
    'name'=> __( 'Compose', 'buddypress' ),
    'slug'=> 'compose',
    'parent_url'=>…
    [Read more]

  • Profile picture of @mercime

    @mercime replied to the topic Show Member profile photo on category stream in the forum Creating & Extending 9 years, 11 months ago

    @wpbp999 Sorry, we do not have access to the premium theme. The best place to ask is at the theme developer’s forum. 🙂

  • Profile picture of Masoud

    Masoud replied to the topic help in writing a function? hooks? actions? in the forum How-to & Troubleshooting 9 years, 11 months ago

    @shanebp
    thank you very much.
    the code above run with no eror.
    —–
    UPDATE:
    i put it in my theme functions.php. and it works.
    by mistake i was thinking that i have to put it in bp-custom.php to make it work.
    but it has to be in FUNCTIONS.PHP of your THEME.

  • Profile picture of Steve Taylor

    Steve Taylor started the topic Using member types tabs for custom members directory filter in the forum How-to & Troubleshooting 9 years, 11 months ago

    The system I’m building assigns members to particular local authorities, and each local authority has a particular member selected as the ‘primary contact’. On my BP members directory listing, I want to add a tab next to ‘All Members’ to just list ‘Primary Contacts’. I’m going to have to do some synching of metadata to then make it possible to…[Read more]

  • Profile picture of Wedding Toronto Limousine

    Wedding Toronto Limousine's profile was updated 9 years, 11 months ago

    Wedding Toronto Limousine

    @weddinglimo12

    View Profile
  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In