Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,101 through 12,125 (of 69,129 total)
  • Author
    Search Results
  • #244358

    In reply to: Display Name

    Prabin
    Participant

    hi @jake-reimer, you can do this. you need to customize member-header.php file inside your child theme.

    Copy BuddyPress *members* folder from bp-default folder inside your child theme, and search for member-header.php file located inside members->single folder.

    and inside member-header.php file, find this code,

    <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
    <span class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></span>
    <?php endif; ?>

    replace bp_displayed_user_mentionname(); this with your desired function name. either first name, or full name or DisplayName.

    Cheers.

    Prabin
    Participant

    @danbp, @henrywright thanks for the feedback. 😀 I may have to need your other further helps regarding BuddyPress issues and modifications.

    #244352
    djsteveb
    Participant

    @xrossgg well fudge – I tried posting a thorough reply, but I guess my post is going to held in moderation for having too many links in it. Maybe one of the @mods will un-moderate it.

    Search the forums here for “activity filter” – look for things with “parse_args” –

    maybe the thread here can get you started: https://buddypress.org/support/topic/documentation-for-remove_action-activity-streams/

    #244347
    danbp
    Participant

    See this plugin, which is made for that:
    https://wordpress.org/plugins/buddypress-sitewide-activity-widget/

    WP’s comment widget is for main blog comments, not activity comments.

    #244341
    gebar
    Participant

    Thanks for the answer.

    Strangely enough, this subform is open by default (with the checkbox unchecked). If you look at the code I gave in the initial question, you will see that the checkbox value is set to 1 in register.php, and the div with the blog details is also set to class=”show” by default (although in buddypress.js there is a section to handle exactly the toggling of the subform on-off). Any idea why?

    However, I will try your suggestion. It must better than setting the checkbox checked in register.php.

    #244340
    danbp
    Participant

    @gebar,
    the allow blog checkbox is a conditionnal who open a sub form via ajax. If you remove it from the template, it will compromise the register process. But as the only thing we need is the value (0 or 1), we have to change it from 0 (empty) to 1 (ckecked) in the core. The function who made this is bp_get_signup_with_blog_value which contains a filter for $value.

    Give this a try. Add it to bp-custom.php

    function create_blog_activated( $value ) {
    if ( function_exists( 'bp_get_signup_with_blog_value' ) )
    // default value is ''
    	$value = 1;
    return $value;
    }
    add_filter( 'bp_get_signup_with_blog_value', 'create_blog_activated', 10, 1 );

    Now the register page shows blog activation part open and checkbox is ticked.

    #244338

    In reply to: Group Post support

    danbp
    Participant

    BuddyPress is a plugin dedicated to members, not blogs. On a multisite install, each member can get his separate blog, without limitation. These member blogs are then refrenced on a blog directory. An each membrer profile will show a blog directory with that member’s blog(s).

    Groups is a component to group members, not blogs. If you need a group blog, instead or in addition of individual member blogs, you can use BuddyPress Groupblog. Such blog will be for all group members and each group can have only one blog. But each group member can have his own blog. In this case, the network will have a main blog, group blogs and individual blogs.

    Whatever solution you use, a blog is always part of WordPress and will work exactly like the main site blog where you installed BuddyPress.
    This means that it’s the responsability of each member with a blog to admin his blog, even if the main site admin has priority and can allow/disallow plugins and themes. Usually disallowed, so members can only use what main site admin decided they can use.

    Enhancement can be asked on Trac. Read here about user participation and contribution to BuddyPress.

    Participate and Contribute

    #244331
    thenetking
    Participant

    Omg I just had a whole wall of text written up and while researching a link from earlier I found this:

    https://gist.github.com/jonasnick/6125869

    and it made my comments show up in activity, hopefully it’s what others need. Why I had to fight with buddypress and search the net for hours to make wordpress comments work is beyond me. I still don’t know if it’s supposed to out of the box or not, which I’ve tested.

    #244330
    djsteveb
    Participant

    @hamiltontroy007 – Is the issue the same when you use chomre vs firefox vs IE ?

    if you switch to the 2014 theme does the same issue occur?

    If not, then it would appear to be something with the Kleo theme, and I don’t think your chances of getting help in the bp forums to debug a premium theme are very high.

    “asked Kleo support and they had a look and said it is related to buddypress. ” – I think that’s like saying your issue has something to do with “http” since it’s internet related. I would of expected a much better answer from a premium theme developer that seems to have made more then $200,000 selling a theme that claims to be “the greatest community theme on the market”

    just one more reason I sigh when it comes to bp and themes.
    and my 2 cents on the issue without knowing much about any of this.

    shanebp
    Moderator

    Have you read this codex page?
    Note the section at the bottom: ‘Preserve the Order’

    #244318

    In reply to: Fatal error

    djsteveb
    Participant

    @collinkemp – in this kind of situation I either ftp in or get to cpanel file manager.. either download a copy of your wp-content folder with http://ftp.. or make a zip / compressed folder of your wp-content folder to have a backup.

    Then go into your wp-content/plugins/
    – delete rtmedia err “buddypress-media” folder. Check if site comes back.
    – if not start deleting other plugins and checking.. and or
    – delete the non-default themes your have in you wp-content/themes folder

    This should get you back to basic wordpress and buddypress and default theme – then you should be able to get into your wp-admin section and go to appearance – themes and select one of the defaults..

    you may figure out what the hiccup was during the delete and check process.

    sometimes when my rtmedia updates I have to go into permalinks – change them, save, then change them back and save again.. don’t know why, but 50% of the time rtmedia updates causes a bunch of my static “pages” to be “404 not found” and the permalinks change then change back and save fixes it.. it’s a weird bloated plugin.. but glad it’s here.

    danbp
    Participant
    danbp
    Participant

    Please don’t double post. It doesn’t bring more answers.

    You already received some answers. This topic is closed and can be continued here:
    https://buddypress.org/support/topic/urgent-need-a-hook-which-is-called-during-click-og-comment-button-urgent/

    #244309
    palmdoc
    Participant

    I have read and checked more than three times. My original question is I want to delete a member from a group – i.e. remove them from a group not from the site.
    I really hope there is better group member management for Buddypress as it is a nightmare when there are thousands of members.

    #244305
    danbp
    Participant

    Afaik there is nothing out to do this.

    As start point, this snippet which let you hide a profile by user_id. Add it to bp-custom.php

    
    function bpfr_hide_user_profile() {
    global $bp; 
    // hide user_id 35
    if(bp_is_profile && $bp->displayed_user->id == 35 && $bp->loggedin_user->id != 35) :
       wp_redirect( home_url() );
       exit;
    endif;
    }
    add_action( 'wp', 'bpfr_hide_user_profile', 1 );

    Also, from here
    https://buddypress.org/support/topic/temporarily-blocking-a-user-while-keeping-their-datanetwork/
    https://wordpress.org/plugins/buddypress-verified/

    danbp
    Participant

    I’m wondering what is a username for you.

    WP register only a user by username (aka pseudonym), email and password. BP add a Name field in which you can add anything: username, first or lastname. In the user table, there is also display_name, wich is the combination of first and last name from a WP user profile, before BuddyPress was installed or if you allow your users to enter the dashboard, and they start to play with their profile settings. IMHO, it’s better they haven’t that access when BP is activated. 👮

    When on the members directory, you (connected or not) can search a member by using his username.

    If you use WP’s site search from toolbar or the search widget (same thing), it doesn’t work, as members are not post types… 👣

    For now, i’m unsure what you want to fetch. Do you mean display_name ?

    All search forms available in BP are contextualized, as @henrywright expected.

    A BP class can be extended, a core function with a filter can be extended. You simply add your own to it.
    In other cases, like for bp_core_action_search_site function (in bp-core-classes.php)
    there is an action and a filter. Wow. 💪

    You can rewrite the whole function and use the action hook or only change a part of it by using the filter.

    remove_action( 'bp_init', 'bp_core_action_search_site', 7 );
    function my_custom_core_action_search_site() {
       bla bla bla....
    }
    add_action( 'bp_init', 'my_custom_core_action_search_site', 7 );

    or
    add_filter( 'filter_name', function_name');

    Theorie here:
    https://buddypress.org/support/topic/how-to-override-core-function/

    But before hacking to deep, read here:

    Members Loop

    Maybe you could find some interesting things about include or search_tems options. 👀

    If all this is too much for you, consider this plugin:
    https://wordpress.org/plugins/buddypress-global-search/


    @prabin04
    , @henrywright
    🚧 i’m really not an expert in matter of BP search, but thank you for your consideration.

    #244301
    Jasper
    Participant

    Thanks but this doesn’t work for what we need.

    If not so important that the user can’t sign in. What we need is for their BuddyPress profile to disappear when they get suspended and reappear when they get reactivated. We need to be able to put their profiles into sleep mode and not be visible by the public.

    #244300
    danbp
    Participant

    Anything related to notifications is in /buddypress/bp-notifications/ folder.

    Best place to see commented BP code in a glance is
    http://hookr.io/plugins/buddypress/#index=a

    #244297
    danbp
    Participant

    shareit/wordpress/sample-page/groups/test this path looks strange.

    In which directory are WP/BP installed ?

    Configure BuddyPress


    Each component page must stay blank and without any template models or parent page…
    Permalinks must be enabled, using any option except “default”.

    #244292
    Henry Wright
    Moderator

    Can you try on a test install? It may be the ACF plugin and we need to rule that out.

    On your test install, be sure there’s no plugins running aside from BuddyPress and have the TwentyFifteen theme activated. Also, remove any custom code you may have elsewhere such as bp-custom.php

    #244285
    Pete Hudson
    Participant

    No, I was referring to a post to the Buddypress Activity Feed. Is “Activity Entry” the proper term?

    We just launched our site and are getting a good bit of activity. Just looking to figure out how many BP Activity Feed entries/posts we should have before we start deleting the older ones and if there’s a way to automate that. We currently have 950.

    Thanks.

    #244275
    Henry Wright
    Moderator

    Try disabling all plugins aside from BuddyPress. Sometimes a rogue plugin can interfere with the registration process.

    Tafmakura
    Participant

    Never mind, found the answer a great article by Ryan Fugate

    BuddyPress: The Lowdown on Loop Filtering

    djsteveb
    Participant

    as lionel pointed out in other dupe topic – there is another forum replies on similar issue in regards to this when using localhost / wamp on local server I guess – https://buddypress.org/support/topic/resolved-404-the-requested-url-not-found-on-this-server/

    #244270
    djsteveb
    Participant

    ugh – just realized this is a duplicate thread from same poster.. grr.. how to merge. meh.
    another answer to this – what I do when this situation arises first:
    https://buddypress.org/support/topic/the-requested-url-groupscreate-was-not-found-on-this-server/#post-244269

Viewing 25 results - 12,101 through 12,125 (of 69,129 total)
Skip to toolbar