Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'questions'

Viewing 25 results - 301 through 325 (of 2,107 total)
  • Author
    Search Results
  • #253740
    danbp
    Participant

    You should never hack core files, as you already said ,you will have to redo your customization after each update !

    1) https://codex.buddypress.org/themes/

    2) BP will be updated, and your custom work will remain intact, as long as you use a child-theme and bp-custom.php Child theme and bp-custom have priority when BP is loaded. Anything which is not in them will then be taken directly from BP or theme. Read about template hierarchy on codex.

    All this is detailled on codex. If questions, seacch the forum, they’re many topics around this.

    #253524
    danbp
    Participant

    Hi @subairtc,

    see bp_activity_get_where_conditions filter in bp-activity-classes.php ~L. 418

    Here a similar question with more details.

    Also, maybe you can do something based on this snippet, with a different approach.

    /**
     * Change order of activities query string.
     * @param string $query Query string.
     * @return string $query Modified query string.
     */
    function bpfr_filter_activity_default( $query ) {
    	if ( empty( $query ) && !empty( $_POST ) ) {
    		$query = 'order=ASC';
    	}
    	return $query;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_filter_activity_default', 999 );

    Apologize if i’m wrong. ๐Ÿ˜‰

    #253158

    In reply to: BP project info

    Henry Wright
    Moderator

    I doubt there’s a tutorial on this particular setup, but any specific questions you have feel free to post here and we’ll do our best to help you out ๐Ÿ™‚

    Glenn
    Participant

    it’s not entitlement, it’s just (clearly unjustified) expectation. my questions were very simple questions for BuddyPress aficionados. and i’m not the only one who gets ignored in here, it’s apparent.

    please excuse me for asking for help. i’ll know better next time.

    and at least i wasn’t rude.

    shanebp
    Moderator

    requests for help in these forums donโ€™t seem to get much attention to me

    Everyone here is a volunteer. Nobody is obligated to answer your questions – especially ones steeped in entitlement.

    If you want more attention and faster attention – hire a developer.

    Or at least use gist to share the code you’ve written in attempting to find a solution.

    For your task, I would use the Group Extension API.

    #253042
    Henry Wright
    Moderator

    @lekins101 great stuff ๐Ÿ™‚

    Hi @pattiearnold

    If you need help with translations, please feel free to open a new topic with any questions you have.

    #252749
    Henry Wright
    Moderator

    Hi @janeakshar

    Try asking over at bbPress. They should be able to help with bbPress-related questions like this.

    Ref: https://bbpress.org/forums/

    #252654

    In reply to: Blog commenting system

    MLHS
    Participant

    I’ve installed on a staging server and have started to play around with it. I do see that the activity feed does indeed have ajax for new comments and activity. What I’m seeing is that if I comment on an article, the article is not ajaxified. Is that something that is easy to code into my theme?

    Thanks for answering my dumb questions. I spent a long time searching and I can’t seem to find anything else discussing this.

    Thanks, Henry.

    #252579
    Henky
    Participant

    Hello FORUM,

    Had there 2 questions.
    1.
    if I * activity * removed then the page can not be accessed.
    Is also understandable since the visit of the Members * activity * the first thing appears.

    Is it possible * activity * hide and then a message appears * for text Only for friends *?

    . 2
    can I change the sequence of the menus?
    the agency first * profile * appear and not * activity *

    thanks for your help and for my bad english,)

    #252520
    Jens
    Participant

    Okay, seems like I really have to learn more about PHP. Via google I found https://wordpress.stackexchange.com/questions/60272/find-out-if-logged-in-user-is-not-subscriber. That gave me a rough idea, but I did not manage to change the code for a redirect.

    However, I found a workaround. I placed the following code…

    <?php if ( current_user_can('member') ) : ?>

    and

    <?php endif; ?>

    in these files:

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php (lines 27 and 144)
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php (13 and 122)

    Thereยดs no redirection now, but the content is not visible anymore for the role “subscriber”, but visible for “member”.

    #252439
    vinzen
    Participant

    Would disabling the BuddyPress registration process and falling back on WordPress one’s by creating a custom registration form help avoid the need to sync BuddyPress to WordPress profile? – as I interpreted from here – http://stackoverflow.com/questions/15379839/registration-form-in-buddypress. Thanks.

    #252311
    Paul Wong-Gibbs
    Keymaster

    > โ€“ Official inclusion to Buddypress?
    Assuming you mean the plugins discussed here a year ago, no plans.

    Beyond that, your questions are best addressed to the plugin author via their website.

    davidryal
    Participant

    update2: found shane’s answer here:
    http://wordpress.stackexchange.com/questions/196929/how-to-get-member-list-based-on-role-by-using-buddypress

    …and got it to work to only show a single role, which covers about half the users I want to show. I don’t really understand array syntax, but am now neck-deep in the new “role__in” thing in 4.4

    …and finally got it to work, after finding https://gist.github.com/sbrajesh/2142009 (the most recent comment is key, bringing in “role__in”

    #252012
    danbp
    Participant

    Hi,

    i tested and cannot confirm the described issue. The link of a name suggestion is normally
    http://site-name/members/USERNAME/messages/compose/# and AJAX provide autocomplete CSS and username. Your slug contains the word ‘undefined’. No idea where it cames from… perhaps a js conflict somewhere.

    Have you checked with different browsers ?

    That said, i have some questions:
    why do you say (only friends connected) ? By default, you can send a message to any of your friends – they don’t need to be connected. Did you enabled a special setting so you can only communicate with connected members ?

    The other question is the strange output of Testleher example. The name comes up with additionnal (demo) and (lehrer). Are both member types or similar you added, manually or with a third party plugin ?

    If you have a local test install, i would recommand you to install bp-default-data plugin and heavily test the message component, without any other plugins at first, and to activate the other plugins one by one.

    #251945

    In reply to: Insert Notification

    shanebp
    Moderator

    bbPress questions are better asked on bbPress support forums.

    Info re BuddyPress notifications:
    https://codex.buddypress.org/developer/function-examples/bp_notifications_add_notification/

    #251944

    In reply to: Search Members

    shanebp
    Moderator

    bbPress questions are better asked on bbPress support forums.

    #251837
    kory27
    Participant

    Hi,

    It was actually my permalinks settings.

    I changed that and it works, kind of. I’m quickly learning that nothing with Buddypress is as it seems and the support forum you need to budget days to get an answer to things that seem like obvious functionality. i.e. how to limit roles displayed on Member Directory pages and how to set the default role upon setup.

    If anyone has the same issue or wants to help, you can find related posts here:

    How to change role displayed on Member page Buddypress 2.5

    How to change default member role in Buddypress 2.5

    I’m quickly losing faith in the Buddypress community. It completely seems overwhelmed and not interested in what users want, but moreover, what they want to do. I’ve seen this sentiment echoed by others as well. Don’t get me wrong, I appreciate the project, but at the point I’ve never gotten a reply to an issue in less than 3 days. Just seems the opposite of community when no one gets back to you on direct questions with specific functionality.

    I will post in the other areas when I get solutions.

    Thanks.

    #251823
    mattheoh
    Participant

    Hi thanks for your answer ! I appreciate that.

    I have two questions / remarks

    1/ I need the name of the group to be dynamic , it won’t be always the same in the different posts- I mean : it can be a button for joining “group horses” in article 1, “group dogs” in article 2 …
    that’s why I wanted to use the slug of article (and put the same slug for the group) – But if we use a shortcode (that I think is the best) , I ll just have to add the variable as you said…

    2/ the Nonce is not dynamic ??!! It’s always the same for each link ?!
    cause when I tried that in single PHP :
    <?php echo '<a href=" '.wp_nonce_url( bp_loggedin_user_domain() . '/groupes/' . get_the_slug() '/join') .' ">join group</a>'; ?>
    I had a security alert “Are you sure you want to do that ?”

    Thanks again for your time.

    #251774
    allisonnance
    Participant

    How would this stop custom profile fields from site A showing up on site B? For example, on one site we have a field where the user puts their annual company revenue. We don’t want this to show on the other site/s. We need other questions. I’ve attached a screen shot.
    profile screenshot

    #251676
    shanebp
    Moderator

    The site admins have added code or a plugin that requires you to be logged in before you can view the members page. If you are not logged in, you will be sent to the home page.
    You should contact the site owners with any other questions.

    Henry Wright
    Moderator

    Hey @fenixbazaar

    Give the guys a shout over at bbPress. They handle forum-related questions.

    #251395
    danbp
    Participant

    @dvpl,

    please open your own topic if you have an issue. This is an annoucment topic and not intended for support questions.

    thank you.

    #251281
    pedrohgl18
    Participant

    sorry for my dumb questions.
    my cover imagens aren’t working ๐Ÿ™ . i tried update but dont change the image.

    let me explain, i’m using a wlms theme and not a buddypress theme
    this is what i did, first i try tu edit the files functions and cover-image-header from this folder
    /public_html/wp-content/plugins/buddypress/bp-themes/bp-default
    not work this way.

    So finally i WIN !! thanks for u ! hahaha
    this is the folder u have to edit ( for future questions by another users )
    i edit insite the child theme
    /public_html/wp-content/themes/wplms_modern functions.php
    and
    /public_html/wp-content/themes/wplms_modern/members/single member-header.php

    valuser
    Participant

    Have revisted this interesting query!

    Consulted this similar query

    and have come up with another possible solution
    (so long as the main site has a different theme or child theme to the other sites.)

    in functions.php of sub-sites’ themes insert

    add_action( 'template_redirect', 'redirect_to_specific_page' );
    
    function redirect_to_specific_page() {
    
    if (is_page('Register') && ! is_user_logged_in() ) {
    
    wp_redirect( 'http://yourmainsite.dev/register/', 301 ); 
      exit;
        }
    }

    would not work with slug is_page(‘register’}

    #250646

    In reply to: Visible profile fields

    shanebp
    Moderator

    You can get a profile field value like so:

    $child = xprofile_get_field_data( 'child', $user_id );
    
    if ( ! empty( $child ) ) 
        echo $child; 

    Getting the $user_id and changing the layout are both questions specific to bbPress and best asked on their forums.

Viewing 25 results - 301 through 325 (of 2,107 total)
Skip to toolbar