Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,151 through 17,175 (of 69,106 total)
  • Author
    Search Results
  • #180843
    Boone Gorges
    Keymaster

    > the hobbled together mess

    Just to push back a little on this one. There are a couple of key ways in which BP’s current permalink router is not ideal (it’s not amenable to caching; it’s not non-pretty-permalink friendly; it’s hard to write unit tests for it; it leaves some slugs difficult to change). Moving toward the WP Rewrite API is a worthwhile project, because improving on these areas are worthwhile things to do.

    However, it’s important not to overstate the problem. The current system works just fine for many thousands of BuddyPress sites. While there would be new efficiencies and configuration possibilities with a new system, it’s unlikely that their absence to date has ever been a dealbreaker for any BuddyPress site. @synaptic or others, I may be wrong about this, and if there are specific ways that the current router is holding you back, it would be very helpful to know more about those details.

    In any case, while it will require a large amount of work to build a new system that’s compatible with the old, it’s not doing any active harm to existing (or new) sites to use the current (perfectly functional) system. So let’s not get too carried away with the idea of forking our own project 🙂

    metalmick
    Participant

    This is what I did, ignoring the bit above:

    The function bp_displayed_user_mentionname is declared in /plugins/buddypress/bp-activity/bp-activity-template.php:1027

    As this function is a filter, we can simply remove it to remove the @username from the template. But because the hardcoded @ sign before the username, we have to add a CSS rule with the remove_filter function. The function above will do all that.

    Add these snippet to your bp-custom.php (read here if you don’t know this file)

    /* remove @username from the profile header */

    function bpfr_remove_mention_from_profile() {

    echo ‘<style> h2.user-nicename { display:none; } </style>’; // hide the h2 containing the @

    if( bp_is_user() && ! bp_get_member_user_id() ) { // be sure we get the right user_id
    $user_id = ‘displayed: ‘. bp_displayed_user_id();
    } else {
    $user_id = ‘get_member_user: ‘. bp_get_member_user_id();
    }

    remove_filter( ‘bp_get_displayed_user_mentionname’, bp_activity_get_user_mentionname( bp_displayed_user_id() ) );

    }
    add_filter( ‘bp_get_displayed_user_mentionname’, ‘bpfr_remove_mention_from_profile’ );

    #180831
    Renato Alves
    Moderator

    I would totally not recommend to disable it. You should spend more time to figure the problem out. In my BuddyPress test installations (local and live), it sends the emails just fine, so there is a problem, maybe in your server, template, I don’t know, somewhere.

    But, if you really wanna disable this, after a quick search here and in Google, I found some possible solutions.

    Obs.: I haven’t tested it, so use it at your own risk.

    https://buddypress.trac.wordpress.org/ticket/3443
    https://buddypress.org/support/topic/i-would-like-to-disable-email-activation/#post-43483

    #180826
    justsayno1
    Participant

    I am having this exact issue. I am a developer and I know how to run through the steps mentioned here..

    What I have tried is to find a user that is stuck in not being activated and running putting this on one of my pages:

    <?php                                                                                                        $user = get_userdatabylogin('busaany'); echo $user->ID;                                                                                                    echo get_user_meta( $user->id , 'activation_key', true );
    ?>

    This yeilded an activation key:
    2429b4ee92830f6557b5b5be271b5078defe

    So I tried to plug that into the activation key url as such:

    http://bounty.co.nz/activate-account/?key=2429b4ee92830f6557b5b5be271b5078defe

    This brought me to the invalid key page as mentioned by others… This is a major issue and I am getting all sorts of stress/grief from my client. I am 100% committed to fixing this issue myself if that is what has to be done. But I was hoping that my putting this here could give the buddy press devs some more info on what is going on. This use HAS signed up, this use HAS tried to go to this link and it failed first time.

    I have used a plugin called buddypress pending activations to try and remedy this and trouble shoot it. It allows me to figure out who is being caught and it is a non-trivial amount of users. The user remains in the pending regardless of visiting that link or entering the code into the box on the page…

    Any leads? I will be getting this locally set up and try and debug buddypress as I am certain this is buddypress thing now not a server issue. But if you can get me any help or direction that would be great. If I can fix this I will let you guys know and we can get this resolved in the core.

    Regards,
    Justsayno1

    #180824
    pswanson22
    Participant

    Aces – thanks for your help on this. Now I have a new problem, though – lots of redirect loops.

    Whenever I go to my main network dashboard, Settings>Buddypress>Pages, all of the pages there give me redirect loop errors. I’ve managed to get around it a little bit by using plugins rather than the actual Buddypress pages, but this seems like a bad solution in the long term. I’m also using the Domain Mapping plugin, so that my site at http://sites.unishanoi.org/tech redirect to http://tech.unishanoi.org.

    Any help I could get with this would be greatly appreciated!

    #180819
    modemlooper
    Moderator

    BuddyPress doesn’t have an API, what are you using to get json?

    #180815
    b a
    Participant
    #180812
    Halo Diehard
    Participant

    @tietoep the Group Forums I am speaking of *are* bbPress, as chosen by the BuddyPress Group in the Group’s settings. I explained this quite clearly in the first post 😉

    #180811
    Sigtric
    Participant

    Upon further review buddypress is actually causing this same thing to happen to all my theme options. (using Atahualpa)

    #180809
    Sigtric
    Participant

    I don’t know what exactly it is. I just know if the buddypress plugin is enabled, nav-menu.php doesn’t work. I have to turn off buddypress so I can edit my menu, then enable it again.

    I have not, I installed 1.9.2, thru the plugin installer inside WordPress. Might that newer version help then?

    #180808

    What exactly in BuddyPress is the problem? Have you tried the 2.0 beta?

    BuddyPress 2.0 Beta 1 is now available

    #180805
    Anonymous User 5853594
    Inactive

    @halo-diehard
    The Group Forums component in BuddyPress has been retired and it is indeed advised to use bbPress (version 2.x).

    #180801
    Xevo
    Participant

    Fixed it, seems like BuddyPress had a conflict with me turning ?s= into /search/.

    Anyone got an idea how I can make this work?

    #180785
    robertFudge
    Participant

    Hi Mike,

    I don’t think that you can entirely remove the xProfile name field from BuddyPress (Even with the plugin that is available). So I decided why fight it? I cloned the WP username. The only potential problem with this is that the WP username is public – I used a plugin to force stronger WP username and passwords to help with this.

    Here is the base of what I did:

    – On the registration form hide the xProfile name field (CSS display: none) and make a javascript listener (CHANGE) function to change the xProfile name field to the value of the WP username. This will take care of the form validation – xProfile name field is required. See reference…

    – For the edit your profile section I hide the xProfile name field, I also included a PHP function that made the value of this equal to the WP username, in the state that a user was added from the dashboard. (I did not provide PHP, I essentially grabbed WP logged in username…) – You can also display the xProfile name field input as readonly (add attribute: readonly).

    Now all xProfile name field instances in BP are the same as the WP user.

    Reference:
    jQuery(‘input#signup_username’).change(function () {
    jQuery(‘input#field_1’).val(jQuery(this).val());
    });

    danbp
    Participant

    Hi @metalmick


    @username
    on the profile header is displayed with this code in BP 1.9.2
    (see bp-themes/bp-default/members/single/members-header.php:28)

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

    The @ sign is hardcoded in the span, so you have to remove it manualy from the file.
    To do this, you can hide it with a CSS rule or you can remove the whole if statement if you use member-header.php file within a child theme/theme.

    A more elegant solution would be to do this with a function, so we haven’t to think about theme modification or to forgot a CSS rule or to check BP after each update.

    The function bp_displayed_user_mentionname is declared in /plugins/buddypress/bp-activity/bp-activity-template.php:1027

    As this function is a filter, we can simply remove it to remove the @username from the template. But because the hardcoded @ sign before the username, we have to add a CSS rule with the remove_filter function. The function above will do all that.

    Add these snippet to your bp-custom.php (read here if you don’t know this file)

    /* remove @username from the profile header */
    
    function bpfr_remove_mention_from_profile() {	
    
    	echo '<style> h2.user-nicename { display:none; } </style>'; // hide the h2 containing the @
    
    	if( bp_is_user() && ! bp_get_member_user_id() ) {  // be sure we get the right user_id
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
        }
    
    	remove_filter( 'bp_get_displayed_user_mentionname', bp_activity_get_user_mentionname( bp_displayed_user_id() ) );
    	
    }
    add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_remove_mention_from_profile' ); 

    Succesfully tested on BP 1.9.2 and 2.0 beta 1

    #180782

    Great Scott!

    These time issues crop up every blue moon, so any insight you can provide into the following time settings would be awesome:

    • Your physical timezone
    • The timezone setting of your server(s)
    • The timezone setting of your PHP configuration
    • The timezone setting of your WordPress installation

    Seems somewhere down the line, there’s a problem with our calculations in a certain configuration. It could be the math, could be daylight savings time, could be a WordPress bug, a BuddyPress bug, or a rip in the space-time continuum!

    #180764
    danbp
    Participant
    #180763
    danbp
    Participant

    @lerroy @shpitzyl,

    FYI, this function will show user_login instead of member_name on the members directory.
    Add it to the theme’s functions.php

    /* Display Username in Directory */
    function my_member_username() {
        global $members_template;
    	
        return $members_template->member->user_login;
    }
    add_filter('bp_member_name','my_member_username');

    Tested on WordPress 3.8.1 – BuddyPress 1.9.2

    #180759
    modemlooper
    Moderator

    If it’s deleted it’s gone. Still confused about why the date or specific activity is important. How would you get group info if there are no groups?

    This is how you manually add activity with code: https://codex.buddypress.org/developer/function-examples/bp_activity_add/

    #180754
    Lerroy
    Participant

    Arguments aside.

    I actually need the same thing would like to show Users full name above his @username and show State field and About/ bio field

    Have been reading the buddypress documentation with no luck and searching forums.

    #180748
    Halo Diehard
    Participant

    Aaaaaaand now I have my group MMHC redirecting to a post that starts with MMHC instead of to the group :/ What is this? This can’t be BuddyPress or it’d be happening to everyone 🙁

    I don’t know what to do.

    #180747
    Halo Diehard
    Participant

    I… don’t think they are deprecated, in fact, they’ve received a freshening up…

    Anyway, I found the issue, and it has to do with redirect conflicts in the BuddyPress code itself. I’ve responded here w/ moar infos:

    https://buddypress.org/support/topic/url-behavior-warnings-on-setup-pages/

    #180745
    Gem @White Rabit
    Participant

    @barney92 I’m not making any excuses and you should know better than to attack some one over a simple spelling mistake. However I must thank you as you have made this post more active than any of my others. Maybe I will get some help.


    @shanebp
    I know that it is a premium plugin. I know there for it costs money. However I have always been told even by the WordPress and Buddypress people that the forums are the best place to get help.

    I am very new to tweaking, modifying etc plugins. I normally find whats has already been done works and does the job I need it for. A friend told me that this community was very helpful so I though some one might be able to help.

    I must be mistaken in thinking that the World Wide Web was created in the spirit of sharing and helping people. Maybe I am a Hippie at hart but in the areas that I am strong if some one asks for help I help and I expect that in the areas I am weak and I ask for help people will do as I do and help.

    I wish you all well with the projects your running. Thank you and Good Night!

    #180743
    shanebp
    Moderator

    @anna_tianna

    >The plugin is currently not compatible with BuddyPress.

    So you talking about adapting a premium plugin.
    Is it reasonable to expect somebody to buy the plugin in order to help you?
    Perhaps you’re hoping somebody already has it; but even then they would have to be willing to do the work and deliver it to you.

    Therefore it’s unlikely that anyone here can help.
    If you get to the point where you can be specific about a code issue – iow. you’ve tried to extend the plugin and are struggling, you might want to use
    http://stackoverflow.com as it will reach a broader audience.

    Also – you could try to hire a developer thru

    BP Jobs Board

    #180739
    Gem @White Rabit
    Participant

    @barney92 I do beg your pardon however I am dyslexic and so spell checking and all that doesn’t work. I never thought in my wildest dreams that some one in the BuddyPress forum would be so pedantic.

Viewing 25 results - 17,151 through 17,175 (of 69,106 total)
Skip to toolbar