Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,476 through 13,500 (of 69,016 total)
  • Author
    Search Results
  • #237179
    kuperman87
    Participant

    Thank you for the answer but isn’t it a kind of BuddyPress bug?

    If I’m using is_page(), with page id or slug which is the default WordPress conditional tag, it’s obvious, that I want to display this widget only on this page, no on the all of the group or member single pages.

    In the previous version I don’t have this issue. Can this be reported to BuddyPress dev team?

    #237177
    Henry Wright
    Moderator

    I’ve had problems when using is_page() in BuddyPress in the past. In addition to that conditional, try putting in further checks such as bp_is_groups() or bp_is_friends() (or whatever is relevant to your task).

    See here for a list of template tags available:

    Template Tag Reference

    #237175
    danbp
    Participant

    FYI, to stay independant of any theme, custom code lives better in /plugins/bp-custom.php

    #237170
    ChristophK2003
    Participant

    OK, I fixed, a bit embarrassing, but I created a buddypress.php in my theme folder to add custom code, which was working. But then we decided we do not need that anymore and therefore removed the custom code, but I kept in file just in case. But this was causing in the end the blank. When I removed this file I could access everything again.

    danbp
    Participant

    Add this snippet to your child-theme functions.php or bp-custom.php

    Nedds also a template overload of
    /your-theme/content.php
    as you should add an action or the function call near the (blog) post.

    function bpfr_pm_to_author() {	
    
    	$author = get_the_author();
    
    	echo '<a href="'.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . get_the_author() ) .' title="Private Message"">Private Message</a>';
    } 
    #237163
    nkeatign
    Participant

    This is basically a really old version of what I need.. its not working but same exact idea (except we dont have comments, only posts). About 1000 posts total from 1000 different users

    BP Import Blog Activity

    #237162
    nkeatign
    Participant

    Any ideas on this? Legacy wordpress posts simply do not show up buddypress activity streams.

    i have the buddypress profile showing all new posts since the time buddypress was installed, but how might i add buddypress activity records for every users old posts?

    #237159

    In reply to: NEED HELP PLEASE!

    djsteveb
    Participant

    I am pretty sure ” register and comes out the message that check the email to activate ” has been already answered in the forums here a time or tow – please search the forums for your answer first.

    your bp associated pages info: https://codex.buddypress.org/getting-started/configure-components/

    #237143
    David Bisset
    Participant

    Thanks. Sadly this isn’t working out. I’m going to post this here in case someone can tinker with it (you’ll need BP and bbPress installed):

    https://dl.dropboxusercontent.com/u/14006840/curriki-group-import.zip

    Yeah, i’m trying to use the BP native functions and hooks. I have no problem with the BuddyPress flow – just when it comes to relying on bbPress to create the forums is when it falls apart.

    If anyone figures this out, i’ll throw them some PayPal change for some coffee. 🙂

    #237138
    David Bisset
    Participant

    @shanebp

    The change to ‘bp_ready’ gets past the “crapstop” but my plugin no longer shows up in the menu. Although i’ve always thought ‘bp_loaded’ was the proper hook here, for the moment i’ll take it.

    Here’s the full bit of code. Perhaps i’m not init the class properly here?


    function curgi_group_import_init() {

    if ( !function_exists('bp_forums_new_forum') ) { echo "crapstop"; exit; }

    buddypress()->curgi_group_import = new CurrikiGroupImport();

    }
    add_action( 'bp_ready', 'curgi_group_import_init', 20 );

    #237133
    Matthias
    Participant

    Want to show number of
    topics created:
    replies created:

    in the buddypress user profile.
    bbpress without buddypress did the job without modification…

    Any ideas?

    mrgiblets
    Participant

    Brilliant thank you @danbp that’s exactly what I was looking for.

    I know you were being sarcastic when you said “The light goes on when you click on ↑↑↑ Documentation ↑↑↑” but as I’ve explained in other threads on here, the way the codex is laid out is very confusing for a new user.

    Maybe you guys that have all been working with this for years know your way around, but I spent ages trawling through the docs and couldn’t find that holy page you’ve just given me the link to.

    Remember, I’ve only been using Buddypress for a couple of days. I didn’t even know what it was that I was looking for so how was I supposed to search for the term “Activity Loop”?

    I’m sorry if the questions I’m asking are coming across as lazy but I assure you that is not the case. I just wanted somebody to point me in the right direction which you have just done, so thanks again.

    #237125
    Hugo Ashmore
    Participant

    Closing this thread as the question is being answered on a similar question by the OP:
    https://buddypress.org/support/topic/could-somebody-please-exaplain-the-basics-of-modifying-the-activity-templates/

    #237118
    danbp
    Participant

    Hi,

    did you searched in bbPress ?
    plugins\bbpress\includes\extend\buddypress

    maybe you’ll find some answers there ?

    like bbp_add_group_id_to_forum() in extend/buddypress/functions.php

    danbp
    Participant

    The light goes on when you click on ↑↑↑ Documentation ↑↑↑
    The sun comes up when you enter activity loop in the search box
    and you get

    Activity Loop

    BP use only dynamic pages and some templates, depending of the context and shows them on the appropriate page (here: activity)

    BP templates are all in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/
    Fr your question, see
    /activity/single/
    /activity/

    And about theme

    BuddyPress Theme Development

    #237110
    mrgiblets
    Participant

    Thanks @shanebp,

    As soon as I’m happy that Buddypress is going to work for me i’ll be in touch 😉

    #237104
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php

    Then in that file put one of these snippets wherever you like:

    -show all roles for a user

    $user = new WP_User( bp_displayed_user_id() );
    
    if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
    	foreach ( $user->roles as $role )
    		echo $role;
    }

    – show just the first role

    $user = new WP_User( bp_displayed_user_id() );
    echo $user->roles[0];
    #237098
    danbp
    Participant

    Have you tried another setting for Toolbar ?
    Default is yes. Uncheck and see if you get a difference.

    Configure BuddyPress

    #237096
    mrgiblets
    Participant

    Thanks for the replies guys, but I want to do more than rename the page.

    I want to see the template code that is constructing the page so I can get a better idea of how Buddypress works.

    Any idea where this is located?

    #237094
    OsamaNuman
    Participant

    I mean the BP profile,
    so if I translate all the strings in the(../buddypress.pot) can you tell me how I can show the strings when I switch to the translated language?
    bear with me please 🙂
    Because when I use (PolyLang) language switcher -I am using 2 languages for my website-, all the navigation menus transfer to the translated language except for the (BP Profile Page) remains in English -and when pressed it transfers back to the English language-.
    So can I provide a new page of (BP profile page) in my translated menu that shows the strings in the translated language? or you have another way to do that?

    Regards and THX for your reply …

    #237082
    @mercime
    Participant

    @mrgiblets @ihavetodothis you can change the name of Sitewide Activity when you create a New Page and name it as “Vavoom” for example (leave text area blank) and publish that page. Then you go to admin menu Settings > BuddyPress > Pages and assign “Vavoom” for example to the Activity component and save.

    #237076
    danbp
    Participant

    The picture shows that you also use OneAll social login….

    You have to debug. Read here first: https://codex.wordpress.org/Debugging_in_WordPress

    Activate TwentyFifteen and deactivate all plugins except BuddyPress.
    See it the issue is still in.

    Reactivate each plugin one by one untill you find a culptrit

    #237072
    r-a-y
    Keymaster

    If you have to disable activity auto-refresh, this is telling me that there are other problems.

    Try re-enabling auto-refresh and use Firebug to see what JS errors are being logged. Also try purging your browser cache to determine that you are running the latest BP JS.

    Activity auto-refresh uses the WP Heartbeat API. The relevant JS is here:
    https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-templates/bp-legacy/js/buddypress.js#L1661

    Let us know what your debugging finds.

    #237071
    leonardoarias
    Participant

    @danbp Sorry for the links. They were fake urls anyway.
    Yes, the activity component has an assigned page.
    The problem happens with all the default themes from wordpress.


    @r-a-y
    I thought so. But my javascript is enabled. Tried from different browsers and computers.
    And yes, I installed Buddypress from the Wp admin dashboard.

    ——

    UPDATE: I “temporarily” solved the problem. I just disabled “Activity Auto-refresh: Automatically check for new items while viewing the activity stream”. Now, it works.

    But, I would like to use the Activity Autorefresh. But I feel we are getting closer to the problem. Do you know what file is used for the “Activity Auto-refresh” feature? So I can debug even further and see what is causing the conflict.

    Thanks.

    r-a-y
    Keymaster

    It’s a problem with any theme using the TrueThemes framework:
    https://buddypress.trac.wordpress.org/ticket/6335#comment:6

    They are trying to force comments open on WP pages. When their code hits a BuddyPress page, their code will generate a new page due to the way they are forcing comments open and because the BuddyPress page ID is 0.

    Themes using the TrueThemes framework can use this code snippet to disable their force comments code:

    remove_action('template_redirect', 'tt_get_comments_status');

Viewing 25 results - 13,476 through 13,500 (of 69,016 total)
Skip to toolbar