Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 23,951 through 23,975 (of 94,546 total)
  • Author
    Search Results
  • #188680
    shanebp
    Moderator

    afaik – bp_displayed_user_id() requires an echo for display.

    So in your template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php

    paste: echo bp_displayed_user_id();

    #188679
    Henry Wright
    Moderator

    bp_displayed_user_id() is the member’s ID so perhaps that’s the same as a membership ID? I’m not sure it matters though as the important part is it’s a unique identifier so whatever name we give it is irrelevant.

    You should be able to add it to your member-header.php file. Which theme are you using? Some themes might not have it so you’ll need to create it yourself if that’s the case. It might be worth reading up on the Template Hierarchy to get a feel of how BuddyPress templates work.

    #188678
    danbp
    Participant

    @sapinfoasap,

    Remove get_sidebar from the template ! Must be done on a child theme / check first your theme support.
    Get an idea of how to do this here (as example)

    #188672
    wp_maybe
    Participant
    #188669
    dylss505
    Participant

    I realize now that the Activation page for BuddyPress was not active. I have added this page. Now the authentication goes to the registering user, but it says authentication key invalid.

    Is this a bug? Has anyone fixed this on their site?

    #188665

    In reply to: Invalid Activation Key

    danbp
    Participant

    @dylss505,

    it’s an old topic related to BP 1.7. And @mercime already answered to the same question as yours.
    Read about troubleshooting on the BP Codex.

    FYI wp codex gives also general advice on how to debug. You may also find many related topics on this forum.

    Please open a new topic and give your install type, theme name and used plugin and explain your problem, when it arrived, what you already tried, etc

    #188663
    danbp
    Participant

    Hi @jabbajabba,

    create first a child-theme and add this snippet into functions.php or bp-custom.php

    We are going to use one of the existing action hook in the group header template and add it a custom function.

    function jabbajabba() {
    	echo '<a href="#">click here</a>';
    }
    //add_action( 'bp_before_group_header_meta', 'jabbajabba' );
    //add_action( 'bp_group_header_actions', 'jabbajabba' );
    add_action( 'bp_group_header_meta', 'jabbajabba' );

    The snippet has 2 commented action, so you can choose the best place for your link button.

    Reference file is
    buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php

    #188662
    hakim.alireza
    Participant

    hi
    how can i enable buddypress for guest user?
    thanks

    #188646
    Paul de Wouters
    Participant
    Kostas Gogas
    Participant

    I am trying to remove some tabs from Member page.
    (I found how to remove sub items – I was hoping for something similar)
    This What I use to hide sub-nav item:

    function bp_remove_nav_item() {
        global $bp;
    
        bp_core_remove_subnav_item( $bp->profile->slug, 'change-avatar' );
    
    }
    add_action( 'wp', 'bp_remove_nav_item' );
    #188643
    Paul Wong-Gibbs
    Keymaster

    Hi @pauldewouters, welcome to the BuddyPress forums.

    Sounds like this discussion should be moved to a Trac ticket, if someone would like to do that.

    I’m not familiar enough with this part of the code to know if this is a good way to fix the problem, but I know a man who does: @imath – hello. 🙂

    #188636
    Paul de Wouters
    Participant

    Thanks for your reply.
    So, did a little research, and Codex says:

    The function [get_current_screen] returns null if called from the admin_init hook. It should be OK to use in a later hook.

    So BuddyPress could check whether the remove_signups_from_user_query method was called through the admin_init hook and return if so:

    		if ( ( doing_action( 'admin_init' )  ) || $this->users_page != get_current_screen()->id ) {
    			return;
    		}

    This fixes the issue for me.

    #188633
    victord34
    Participant

    hello,

    please can you help me

    bp_notifications_add_notification

    im noob on php, what is the code to add notification only pages ( new page ‘name’ was creat, new page ‘name’ was edit ) ???

    and i put the code in function.php(child theme) ? or edit buddypress file ?

    thanks you so much

    #188626
    danbp
    Participant

    Hi @presis_carsten,

    could effectively be a translation issue. Why ?
    For translation, we (i translate BP into french) mostly use HTML entities for special characters.
    In brief, accented letters in HTML. For instance, if you want to type één you would type &eacute;&eacute;n.

    The only part this should never be used is in the messages, as gettext doesn’t handle mail content.

    And so far i see, the dutch phrase contains such an accented letter (beëindigen)

    buddypress-nl_NL is here. And you’re free to modify it on Glotpress and of course in your copy, with poEdit or similar.

    I checked WP & BP’s nl_NL version on Glotpress and didn’t find the phrase you mention. Could it be you use a very old translation or some notification plugin ?

    DarkPsy
    Participant

    Hello Dan,

    I’m using it in the exact same way I was a week back when everything was working just as expected, suddenly it stopped working.

    I also have this message being displayed

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in ~wordressdir~/wp-includes/functions.php on line 3245 Warning: Cannot modify header information - headers already sent by (output started at ~wordressdir~/wp-includes/functions.php:3245) in ~wordressdir~/wp-includes/pluggable.php on line 1121

    The bbPress plugin isn’t something I feel this is related to. Basically I’m baffled cos it was working a week back and now it’s not. everything is the same way. Even on a clean install it backfires.

    Buddypress 2.0.2.
    WP 3.9.2

    #188622
    danbp
    Participant

    @maria-d15
    this error message are you sure you want to do this? is generally due to a js failure, some nonce who doesn’t operate in time and order or so.

    Deactivate all plugins from FTP (just rename the plugin folder) as you can’t access your dashbord.
    Go back to your site and check that any thing is working in WP. Activate one of the wp theme: 2013 or 2014. Re check.

    Go to dashboard > pages and delete all bp related pages. Don’t forget to clear also (important) the trash after that.

    Now you have to create a new plugins folder on FTP (so you have an old xxxxplugins folder with your before used plugins) and a new one (named plugins), which is empty.

    Go back to the dashboard > extension and upload a new copy of BuddyPress. Activate the plugin, do all settings and see if it is working.

    #188621
    Henry Wright
    Moderator

    Hi @anivarth,

    Check out BP Chat. It’s a “Facebook-like chatting plugin for BuddyPress”.

    #188619
    Maria D15
    Participant

    Hey BP Support Team,

    I tried to install BP. When I activate the BP plugin an WordPress error report appears “are you sure you want to do this?” and “Try again”. If I do so nothing happens. Cant enter my dashboard anymore and had to recover my latest backup. It already happend 4 times. I also cahged to a default theme and tried again.Same happend. Dont know what to do. Need help.

    Thanks a lot!

    Maria

    danbp
    Participant

    @darkpsy,

    is there a better way to do it?

    If you expect some help, you have to tell what you already did on the way you mention.

    As you built your own theme, you perhaps use this function outside of the bbPress scope ?
    What does it give by using get_avatar() ?

    Do you read this bbPress codex page ?

    Maybe better you ask on bbPress forum – remember although bbPress is a standalone plugin, integrated with buddyPress.

    Carsten
    Participant

    I’m using BuddyPress with a Dutch translation file. In de activity notification email an HTML entity is shown instead of ë.

    Om deze notificaties te beëindigen log in en ga naar:

    Translation: To disable these notifications please log in and go to.

    Is this a problem from the translation file or should BuddyPress decode the HTML entities?

    DarkPsy
    Participant

    I’m making a custom buddypress theme for my client and up until a week back the bbp_curent_user_avatar() function was working as expected but out of nowhere it’s stopped working. I’ve tried reinstalling wordpress/buddypress about 5 times for various reasons but still no luck. has anyone else encountered this? Is there a better way to do it?

    #188607
    rthomasTechnology
    Participant

    That’s not it. I’m in members-loop.php. That (as I understand it) is the file that controls what people see when they go to the default members directory in BuddyPress (the page that shows you everyones icon, their name and when they were last active). I want to add the users email addresses to this screen. At one point I found a line of code and pasted it between:

    <div class=”item”>
    <div class=”item-title”>
    “><?php bp_member_name(); ?>

    <?php if ( bp_get_member_latest_update() ) : ?>

    <span class=”update”> <?php bp_displayed_user_email(); ?></span>

    <?php endif; ?>

    </div>

    and

    <?php do_action( ‘bp_directory_members_item’ ); ?>

    <?php
    /***
    * If you want to show specific profile fields here you can,
    * but it’ll add an extra query for each member in the loop
    * (only one regardless of the number of fields you show):
    *
    * bp_member_profile_data( ‘field=email email’ );
    */

    ?>
    </div>

    which made the email addresses show directly under the names of the site members. I can’t find that code again.

    Thanks
    Randy

    #188603
    r-a-y
    Keymaster

    @antimuffin (or anyone else) – Can you try the fix I posted here?

    https://buddypress.trac.wordpress.org/ticket/5831#comment:3

    #188601
    Paul de Wouters
    Participant

    Hi

    I wanted to integrate my plugin with BuddyPress activity stream, but a PHP notice is being thrown when BuddyPress is activated and my plugin is preforming an upgrade routine.

    Not the end of the world, but I’d like to understand why, and fix it. I’m totally new to BuddyPress development.

    The upgrade code just migrates some user meta to a new key:
    https://github.com/humanmade/comment-popularity/blob/master/inc/upgrade.php#L39

    And the PHP notice as reported by Query Monitor:
    https://www.dropbox.com/s/f4az6t0jovw67i3/Screenshot%202014-08-27%2017.43.22.png?dl=0

    Trying to get property of non-object
    /srv/www/ninjaforms.dev/content/plugins/buddypress/bp-members/bp-members-admin.php:829

    #188596
    Jean-Pierre Michaud
    Participant

    right now, all your requests are “in” buddypress… example:

    1- there are some paid chat scripts that do everything autonomous… but you need to know that chats are stored texts, same as email etc… and the feed even in ajax take a lot of server power… you need to contact a webHost that would offer you a good deal on large scale hosting if you have a lot of clients.

    2- integrated to Buddypress

    3- some buddypress plugins offer more flexibility added to existing features, like membership, access to personal data, etc… just do a search.

    4- if you see in my profile, you will see my personal timeline

    5- you need wp-login.php to be /login… use in admincp: /options/permalinks and change the default setting to anyother, and you will have these…

Viewing 25 results - 23,951 through 23,975 (of 94,546 total)
Skip to toolbar