Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,976 through 17,000 (of 68,918 total)
  • Author
    Search Results
  • #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.

    #180731
    Ben Hansen
    Participant

    sorry i read the title of you post too quickly htaccess shouldn’t need anything special for buddypress the standard wordpress compatible htaccess is fine. group based forums are depreciated so i wouldn’t expect that work anymore anyway.

    #180728
    Halo Diehard
    Participant

    @ubernaut, I guess I wasn’t clear: I’m looking for resources to explain what’s supposed to be *inside* htaccess for the most recent BuddyPress installation, as in the code. All the posts about it have different code, and after hours and days of research I can’t find what it’s supposed to have for the latest version, thanks for your response 🙂

    #180719

    In reply to: Translation Issue

    danbp
    Participant

    @jamrizzi

    Could be a theme issue. For ex. a custom file in “community” or “buddypress” folder of a child theme.
    Groups directory and Create a Group are used in bp-themes/bp-default/groups/create.php and index.php
    Create a group is also in 4 other files

    May also be a group related plugin dependancy.

    Please give your BP version, theme name and plugin list.

    #180715

    In reply to: Translation Issue

    In the buddypress.pot file, the translations that aren’t working are between lines…

    1892-1897

    and between…

    6149-6152

    #180713
    Renato Alves
    Moderator

    @rudik123 What do you mean by using with BuddyPress? The Ads Manager plugin work with WordPress. To include the file in some BP pages, I think you’d have to alter some templates files.

    #180699
    Renato Alves
    Moderator

    I have no idea how to do that, but just to clarify, I think what you are trying to do is exactly what @modemlooper suggested, it appears you’re trying to “change the location” from the groups activity to the user activity, maintaining the proper date, user and etc. Correct?!

    If that’s the case, maybe there is a way of automatically copying, with PHP, from the group to the user activity. The user is already set, because it is not gonna change, just the location is gonna change (it’s not gonna continue in the Groups, it’s gonna to the user activity). After copying, you could delete the groups activity and deactivate the Groups Component.

    I’m not aware how BuddyPress works with urls, but you would probably need to update to reflect the new location.

    #180697
    Renato Alves
    Moderator

    @cdb3212 As far as I understood your problem, there are two articles that would save your life if you had a chance of looking in the Codex. These are:

    https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/

    bp_profile_field_data()

    Take a look at those and try it out. =)

    #180695
    Renato Alves
    Moderator

    Hi @theatereleven,

    I’d say that what you aim for is perfectly possible with BuddyPress. You could the following, just suggestions:

    • Your users could register themselves;
    • Just active the Extended Profile component;
    • Use Extended Profiles Fields so that your users can add information when signing up or later;
    • And you could customize the appearance customizing the template the way you want.

    Maybe there is a better solution, but with BuddyPress you would get already built-in, profiles, profile fields, register process/page, user roles and etc.

    #180694
    theatereleven
    Participant

    Anyone on this? I purchased S2 member and User Roles pro in hopes to do public profiles, but that was a waste of money. So it looks like BuddyPress is in fact the way for me to go, but I don’t want to dive in unless profile pages can be heavily customized, down to the last pixel.

    Thanks for any help.

    #180687
    shanebp
    Moderator

    He means you can over-ride a BP template by following the directions here

    Theme Compatibility & Template Files

    #180682

    In reply to: Ajax Activity

    Renato Alves
    Moderator

    English Answer – @stuffgrid As I myself told you in the BuddyPress Brasil Facebook group, it is not a BP problem. The problem lies in the ajax, js conflicts that your theme is using. Besides, when I looked at it, it seems it lacked some customizations in some BP files.

    Resposta em Português – @stuffgrid Como eu mesmo te falei no grupo do Facebook do BuddyPress Brasil. O problema não é no BP, e sim está em um conflito do AJAX e do JS que seu tema está injetando. Eu também vi que algumas páginas faltava configurações/alterações, assim estava falhando quando você carregava mais atividades, por exemplo.

    #180681
    Renato Alves
    Moderator

    As your first question, this is not a BuddyPress problem, you should check out the WP Doc for more information on how to do this. https://codex.wordpress.org/Administration_Over_SSL

    For your second question, I believe it is redirecting from the WP login into the BP login page.

    #180678
    Renato Alves
    Moderator

    I don’t think this is related to BuddyPress. Check out some possible plugins here: https://wordpress.org/search/favourite+posts

Viewing 25 results - 16,976 through 17,000 (of 68,918 total)
Skip to toolbar