Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,051 through 8,075 (of 69,109 total)
  • Author
    Search Results
  • #266207
    shirleyddsn
    Participant

    UPDATE: I found this topic -> Editing BuddyPress Core Files Within Child theme That suggested that I should have a buddypress folder inside my child theme directory, and that all my copied files should go in THERE! I made the change, but I still can’t update any of the actual files. I tried my PIZZA HUT test again, but this time nothing flashed on the screen. So I guess that’s not it?

    BTW – I’m just going to keep posting updates as I go so that when someone shows up, they’ll have current information on what I’ve tried. Maybe save some time that way.

    #266206
    shirleyddsn
    Participant

    Side Note:
    I dont know if I can/should ask this here, or if it should be a different post, but I’m trying to make changes to the buddypress templates in my child theme, and it seems that I’m not allowed (?!) to make changes to the actual templates?

    For example, I was trying to make changes to cover-image-header.php just to see if I can. I wanted to add “Last Active:” just before the function that lists when the member was last active. Just to see if I could. When I refreshed the page, I thought I saw for a brief second that it did in fact say “Last Active:”, before it disappeared and just showed the original content again. To make sure it was actually my code and not a glitch, I repeated the process but replaced LAST ACTIVE with PIZZA HUT. Just to make sure it was actually me. Refresh -> Pizza Hut flashed. Yup, it was me. But why wont the code stick? Could it be my child theme document tree isn’t right? Or do I need to add some code somewhere so that changes in my child folder override files in the original buddypress folders?

    When I copied my files over, I group selected the folders in plugins/buddypress/bp-templates/bp-legacy/buddypress and copied them all over to themes/my-theme/buddypress. Am I missing a folder or something?

    Also: I figured out the concept behind add_action tacking on instructions to a do_action function. But where do the DO_ACTION functions live? And am I able to modify those? I would like to add some font-awesome icons to the front of my profile menu links the way we have here, but I can’t find the code that spits out the information.

    #266179
    giuseppecuttone
    Participant

    Hi @henrywright
    thanks for your reply.
    Ok, at this time we need define it constantly…
    But maybe, it will be great know from buddypress developer if there is in thear BUDDYPRESS WORK PLAN a task for to make a FRIEND PAGE (just like GROUP PAGE, or MEMBERS PAGE).
    I do not know if you are a buddypress developer, or if you are in contact with them.
    Do you know if there is a public docuemnt with BUDDYPRESS WORK PLAN?
    Thanks for your support.

    nikitagrimm
    Participant

    Ok there, I finally figured out the problem. It turns out that the is_email() function built into WordPress is extremely slow and takes around 6 seconds to compute. Since Buddypress used the function quite leisurely, the amount of time it took to send emails ended up being quite long.

    Unfortunately a simple filter wasn’t enough, as WordPress was still processing the old function. I have removed the function and the problem is therefore “fixed”. Actually “applying a bandaid” is the more appropriate term here.

    I’m going to report a bug to WordPress asap now. Thanks for your attempts at helping me though! However, if you do have an idea why the function is so slow I would be very glad to hear it!

    #266169

    In reply to: BuddyPress Features?

    Henry Wright
    Moderator

    With reference to point 2, bbPress works very well with BuddyPress. It’s actually a sister project so you can be sure of compatibility.

    Mauricio
    Participant

    I have moved to Https, but I don’t have problem with old content, NEW content image are shown as http in buddypress.

    The solution I found was to use a plugin: SSL Insecure Content Fixer. I don’t know what it does but solved, the strange thing is that I’m actually using https for WordPress site.

    Secure provided by cloudflare

    r-a-y
    Keymaster

    The problem is BuddyPress initially records the activity item from whatever protocol that the site is running in.

    So let’s say I’m posting at http://example.com, BuddyPress would record any uploaded content using http.

    It sounds like you have moved to https, so these older activity items would still use http. I would probably recommend forcing your site to always resolve to https, then future activity items should always use https.

    As for older content, you would need to filter the activity content and replace older http instances with https.

    r-a-y
    Keymaster

    Download and unzip a fresh version of BuddyPress to wp-content/plugins/buddypress to ensure that you have all files and not a corrupted install.

    If you are using a caching plugin, you would also have to purge your cache. You shouldn’t cache the registration or activation pages anyway.

    r-a-y
    Keymaster

    I’ve noticed similar things myself.

    Can you see if the following helps?

    Add this code-snippet to wp-content/plugins/bp-custom.php file?

    remove_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20, 4 );

    remove_action( 'bp_send_email_success', 'bp_core_deprecated_email_actions', 20, 2 );

    #266146

    In reply to: Some Unique Slugs

    Henry Wright
    Moderator

    Hey @ryuunosukemiyosaki

    I believe there’s some slugs still hard coded. Take “change-cover-image” for example, here’s where it’s specified in the code base:

    https://github.com/buddypress/BuddyPress/blob/2.8.2/src/bp-xprofile/classes/class-bp-xprofile-component.php#L252

    You’ll notice it isn’t filterable or override-able.

    #266131

    In reply to: get member type broken

    _natty_
    Participant

    thanks a lot but this was already tested with no result!
    or better, same result! same id! on the context! i try to give a full vision of my site conf:

    on bp-custom on buddypress folder ive this:

    function using_mt_register_member_types() {
    	bp_register_member_type( 'Problem solver', array(
    		'labels' => array(
    			'name'          => 'Problem solvers',
    			'singular_name' => 'Problem solver',
    		),
    	) );
    
    	bp_register_member_type( 'Entrepreneur/policy maker', array(
    		'labels' => array(
    			'name'          => 'Entrepreneur/policy makers',
    			'singular_name' => 'Entrepreneur/policy maker',
    		),
    	) );	
    }
    add_action( 'bp_init', 'using_mt_register_member_types' );

    then in my plugins ive active “Member Type Field for Buddypress XProfile”
    and in mine xprofile field ive one setted to select the user type during registration by users. it show my option described above!

    then on the same bp_custom file for building a “conditional menu” ive this snippet of code:

    function add_break_in_tabs() {
    
    if ( !function_exists( 'bp_get_member_type' ) ) { 
        require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-functions.php'; 
    
    } 
    
    $user_id=bp_displayed_user_id();
    $user_id2=get_current_user_id();
    $tipo=bp_get_member_type();
    echo $user_id.$user_id2;---->SAME RESULT SHOWED!
    echo $tipo;--->NOTHING TO SHOW
    var_dump($tipo);---> BOOOL FALSE
    ....

    On the user’s list i can set type for each user.
    On registration i can see and select the type.
    On Xfield definition ive no option to select but the option showed in the registration form are correct!

    thanks a again to any contributor

    #266113
    Slava Abakumov
    Moderator

    I believe you should check WPML plugin docs.

    https://wpml.org/documentation/related-projects/buddypress-multilingual/ (note the links of required things at the bottom of that page)

    This search page can be related as well: https://wpml.org/?s=buddypress

    #266105
    lordmatt
    Participant

    Ah, yes. I’ve found it. It contains 166 files. None of which make it readily apparent (for someone who is not familiar with the internals of BuddyPress) what part they play in the overall process. Is there any documentation for this glut of files?

    For example, if I want to make a new layout for a profile, which files do I need to change?

    Do I need to keep the directory structure inside the legacy folder exact or is it somewhat forgiving?

    All I want to do is customise my site and make it look nice and after six weeks all I have is a growing list of reasons why I wish I never started. Not that any of that is necessarily your fault or problem – I’m just feeling increasingly depressed with the whole project. I’ve written more than one custom CMS from scratch and I know this should not be as hard as I am finding it.

    Anyway, enough of my waffle. Please point me at the documentation.

    #266097
    Slava Abakumov
    Moderator

    #BuddyPress Newsletter #32 – lots of interesting plugins. Yeah, a bunch of them.

    https://www.getrevue.co/profile/bpmail/issues/32-lots-of-interesting-plugins-yeah-a-bunch-of-them-58309

    shanebp
    Moderator
    #266066

    In reply to: redirect to members

    metalhead
    Participant

    Sorry if you already tried this, but let me suggest:

    Rename the Buddypress folder – it will disable the Buddypress plugin.

    If Buddypress is causing the problem, this should at least let you get back into your dashboard.

    Assuming this is the case, then you will be able to delete Buddypress the proper way, via “Plugins.”

    #266063
    metalhead
    Participant

    Read this conversation in its entirety.

    The plugin author was kind enough to guide me through the process of making that work. If you follow those instructions, your users will be able to upload their profile photo during registration.

    Although this method works, it causes a slight problem: The users won’t be able to update their photo in the future, because the default Buddypress “Change avatar” function refers to a different file, or location, than the xprofile custom fields type location.

    If you find a way to fix that problem, please let me know.

    #266062
    metalhead
    Participant

    There is a plugin called BP Simple Private that allows you to restrict access to all Buddypress pages to logged in users only. Then, if people try to visit Buddypress pages after you install the plugin, they will get redirected to the home page.

    But if I’m understanding you wrong – and you want to have a separate site just for your buddypress groups, then I will recommend setting up WordPress Multisite.

    And if I’m understanding you right – which bells and whistles do you want to disable? I’ve disabled a few things with CSS & PHP hacks – but like what do you want to see gone?

    #266038
    threwthenevr
    Participant

    Found the solution to that last post
    #Profile-cover-inner. Will only take out the actual pic.

    This will get ride of the Avatar and profile cover container,
    Added to style.css

    .buddypress div#item-header {
    display: none !important 
    }

    But I think I’ll add a toggle the container to switch it on or off. I will need to research how to do that.

    #266037
    Slava Abakumov
    Moderator

    BuddyPress Newsletter #31 – tips and tricks, bbPress, new theme and other things!

    https://www.getrevue.co/profile/bpmail/issues/31-by-slava-tips-and-tricks-new-theme-and-other-things-56258

    #266029

    In reply to: REST API design

    shanebp
    Moderator

    Designing endpoints is perhaps the major issue for this API and the subject of much discussion.

    I would encourage you to use the Issues tab on the repo:
    https://github.com/buddypress/BP-REST

    There is also a BuddyPress Slack channel. From the repo readme:
    Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypress

    #266025
    Henry Wright
    Moderator

    The easiest way to do this is to edit the home.php file. You’ll need to comment out bp_get_displayed_user_nav() and the related markup.

    Ref: your-child-theme/buddypress/members/single/home.php

    #266018
    alancr
    Participant

    Hi, i was thinking of using the plugin bb media for the users to upload numerous photos to their profiles. As i think with buddypress and bb press the profile only allows one main photo.
    Ultimately I would like the users to have a main photo and then their own private photo gallery which other users can see all their profile and gallery photos

    #266011
    David Cavins
    Keymaster

    I think I finally understand what is going wrong here. If you pass a bad group object to bp_group_has_moderators() or don’t pass a group object and the global $groups_template->group isn’t set, this error can occur.

    If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where bp_group_has_moderators() is called, and tell me if it’s being called with a $group argument (like bp_group_has_moderators( $group_object ) ) or without an argument (like bp_group_has_moderators() ).

    Do you also see an entry in your error log like the following or not?
    Trying to get property of non-object in /Users/dcavins/Sites/develop.git.wordpress.org/src/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 2576

    Thanks for your help,

    -David

    #266007
    @mercime
    Participant

    @vanessenstudio Given the screenshot, I can only guess that your theme’s stylesheet is missing lines 601 through 614 which are necessary to move the notice to the top of the page.

Viewing 25 results - 8,051 through 8,075 (of 69,109 total)
Skip to toolbar