Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,576 through 16,600 (of 73,981 total)
  • Author
    Search Results
  • #246189
    Brajesh Singh
    Participant

    Hi,
    Since I got this same question in my email today. Assuming that it was you or a coincidence, I will post the code here as well for everyone else.

    1. BuddyPress Needs the field_1, so you can not delete it. That gives us a solution, we can hide it using css/js and set it’s value to the value of username.

    There are two possible approaches.
    The first step is use following in css

    
    div.field_1{
    display:none;
    }
    
    

    That will hide the input box on the form.

    Now, we can update it using the js or PHP. I will post the simple solution using js

    You can put the following code in your bp-custom.php or functions.php

    
    function buddydev_disable_firstname() {
    	?>
    <script type="text/javascript">
    	jQuery(document).ready(function(){
    
    	var jq=jQuery;
    
    	jq("#signup_username").on("blur",function(){
    
    	jq("#field_1").val(jq("#signup_username").val());
    
    	});
    
    	});
    </script>
    <?php
    }
    add_action( 'bp_after_register_page', 'buddydev_disable_firstname');
    
    

    That should do it.

    There is another pure php solution by settings $_POST[‘field_1’] to the other value but I will leave that for others to figure out ๐Ÿ™‚

    #246177
    silversurfer.wf
    Participant

    Dude, that is weird. I figured it out. When BuddyPress forums emailed me your response, it added extra characters in the Email. Then, when I cut and paste it back into BuddyPress forums, the extra characters were removed. I changed the code to remove the extra characters the Email added and the error went away.

    #246171
    Brajesh Singh
    Participant

    For that purpose, please put the following line too in your bp-custom.php

    
    add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
    
    

    That forces BuddyPress to avoid using gravatar and use local avatars for default(when no avatar is uploaded).

    Hope that helps

    #246167

    In reply to: Page load

    vysakhnair
    Participant

    @Henrywright

    Thanks for your reply, I have got one more plugin
    https://wordpress.org/plugins/buddypress-first-letter-avatar/

    #246161
    chriotte
    Participant

    This is how it looks on the front end with the input added to my code.
    field
    (Telefon = Phone)
    I simply need som guidance on how to update user_meta on buddypress registration submit.

    #246152
    danbp
    Participant

    Hi,

    assuming the link page has a tab named Bourbon (it’s an example) ๐Ÿ˜‰

    Define a constant Bourbon and each time you want to go to a profile, by clicking an avatar or so, you’ll be directed directly to Bourbon page of that profile, instead of the default profile Activity page.
    Read here:

    Change Default Members Profile Landing Tab

    danbp
    Participant

    BuddyPress use Gravatar by default, like WordPress.
    If your user uploaded custom avatars, you may use bp_core_fetch_avatar in place of wp’s get_avatar

    http://oik-plugins.eu/buddypress-a2z/oik_api/bp_core_fetch_avatar/

    More about avatars here and search for “avatar”
    http://hookr.io/plugins/buddypress/#index=a

    #246143
    danbp
    Participant

    Hi,

    check that here and enter “comments” to search box
    http://hookr.io/plugins/buddypress/

    #246141
    danbp
    Participant

    Hi,

    a typo error in WP… it’s fixed.
    read here:
    https://buddypress.trac.wordpress.org/ticket/6692

    #246116
    William
    Participant

    @konberg, if you this code, all labels on the registration form will be lower case.

    #buddypress .standard-form label, #buddypress .standard-form span.label {
        text-transform: lowercase;
    }

    If you just use the other code below, only labels on radio buttons will be lower case.

    #buddypress .standard-form div.radio div label {
        text-transform: lowercase;
    }
    

    because other fields, not radio boxes, also got lowercased

    This is so because you used this code.

    #buddypress .standard-form label, #buddypress .standard-form span.label {
        text-transform: lowercase;
    }
    #246113
    mrjarbenne
    Participant

    With the upcoming custom header, and a plugin like this to customize the background of your profile, you are pretty close to the customization allowed on Twitter.

    Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin

    #246111
    mrjarbenne
    Participant
    #246110
    mrjarbenne
    Participant

    This plugin will force usernames only across the site. If your usernames are their real names, that might be a fix: https://github.com/r-a-y/buddypress-usernames-only

    Small caveat from the plugin readme:

    By default, display names are enabled in the member header on profile pages. If you prefer usernames to be shown, add the following snippet to your wp-config.php file:

    `define( ‘BP_SHOW_DISPLAYNAME_ON_PROFILE’, false );

    #246109
    mrjarbenne
    Participant

    Can you expand on that?

    In a traditional install, on a Multisite network, BuddyPress is Network enabled by default. This doesn’t mean you have a social network on every site in your network, by default, when BP is network enabled, all it’s functions live on your main domain. The network activation allows that main domain to collect all of the activity from all of your subdomains. If one of your subdomains has bbpress active, then the forum posts from that subdomain are populated in the activity stream on the main domain. The main domain becomes the hub on which all activity from across your entire network of subsites is collected and can be seen.

    If you don’t want your main domain to be the one that is collecting everything, and instead want that to be some other subsite on your network, you need the instructions I provided above.

    #246101
    konberg
    Participant

    Sorry, I meant this code, that’s what they had

    form label,
    #buddypress .standard-form label, #buddypress .standard-form span.label{
    font-weight: 300;
    text-transform: uppercase;
    }

    #246097
    Henry Wright
    Moderator

    Unfortunately, this code did not work at all ๐Ÿ™

    Likely you’ll need to change the selector #buddypress .standard-form div.radio div label so that it’s appropriate for the theme you’re using.

    #246096
    shanebp
    Moderator

    …which I have uploaded to the root of the buddpress folder

    It should go in the root of the plugins folder.

    bp-custom.php

    #246091
    mc9625
    Participant

    Hi, actually I’ve already added
    add_post_type_support( 'recipe', 'buddypress-activity' );

    to bp-custom.php in /wp-content/plugins. The recipes are counted in the “member activity stream”, but only the ones posted directly in the parent site, not the ones posted in the member’s blog.

    I think it’s a pity you can’t use a “blog” as the user profile page, or at least give the user profile page, the same kind of customisation as a full blog install. I think this is more a “Facebook” kind of approach, everyone will have more or less the same kind of page, with minimal customisation option (I guess the header profile). But since WordPress already has a multisite option, and Buddypress already support multisite environment, have the chance to use the user’s blog as if it were his “user profile” would have been a huge facility.

    #246090

    In reply to: Help loop activities

    William
    Participant

    @RafVin Here’s how to hide “All Members” tab with CSS.

    Find a file called “style.css” in the wordpress active theme, add the code below and re-upload the file.

    #buddypress div.item-list-tabs ul li.selected a {
        display: none !important;
    }
    

    Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if youโ€™d like to retain the changes when you update your theme.

    Showing custom tasks under personal? Well that requires some custom PHP coding or probably a plugin. Hopefully, someone will help you with this.

    #246089
    William
    Participant

    @konberg find a file called “style.css” in the wordpress active theme, add the code below and reupload the file.

    #buddypress .standard-form div.radio div label {
        text-transform: lowercase;
    }

    Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if you’d like to retain the changes when you update your theme.

    Let me know if that works.

    #246085
    mrjarbenne
    Participant

    I’m not sure what you mean by the “Top Tab Recipe”. If your theme is adding a custom post type, then you need to register that post type in order for it to populate the activity stream, and the user profile activity. BP should do exactly what you are looking to do once you do that: https://codex.buddypress.org/plugindev/post-types-activities/ Maybe your theme is doing this for you already if you are seeing activity generated when you post a recipe in the custom post type area.

    Your alternative idea in the last paragraph would also certainly work. You don’t need multisite for that. Make every member of your community an Author on the main site: everything they publish will appear in the Custom Post Type “Recipes” archive, along with all the posts appearing on each users profile: this is their customized space, particularly once header profile images launch in BP 2.4. This would also give you more control over the experience. You could create a publishing checklist to make sure all the recipes are categories and tagged appropriately: https://github.com/danielbachhuber/Post-Checklist

    #246080
    webguru13
    Participant

    Thanks for the reply on this and sorry just now getting back…life got in the way…can you explain in newbie elementary terms exactly what you were discussing in regards to having me show up as admin and not just looking like a logged in user on buddypress…what is happening is…when I log into my wordpress I show up on my webpage as like a logged in user..doesn’t say admin or anything…I want to be displayed as a admin/moderator for the site…how do I do this…in elementary terms please as I am new to WordPress although I have learned so much and have actually almost put up a complete website…but I am even newer to buddypress although I have it up on my site…these little kinks such as this one are getting in the way…thankful for this buddypress support forum….if you could help I would greatly appreciate it!! Rhonda

    #246079
    konberg
    Participant

    Gee, guys, thanks for not helping at all.

    The name of the element is exactly what I am trying to figure out. If my registration form looks like thisL

    WHAT IS YOUR GENDER
    [] MALE
    [] FEMALE

    I am trying to change words MALE and FEMALE to lowercase. I went through ALL CSS files in my theme, and tried replacing text-transform: uppercase with text-transform: none but it did not help at all!

    So more specifically, my questions are:

    1) what exactly controls the lowercase/uppercase of profile field answer options. Something like this:
    #buddypress .standard-form #basic-details-section – but what the hell exactly and how

    and
    2) where to find it

    Thank you!

    #246071
    Henry Wright
    Moderator

    Can you describe the steps you took? Also provide any error messages you got along the way. We also need details of your environment (see When Asking for Support).

    #246042
    mrjarbenne
    Participant

    It doesn’t work like that. In a multisite instance, your users can all have their own blogs (think wordpress.com). What BuddyPress does is allow you to see all of the activity from those subsites in one Activity feed (among other things).

    I have set up the categories in the main site, and I expected to see the same categories on every site, but it doesnโ€™t work.

    Although this isn’t a BP feature, there is a plugin that does this. It hasn’t been updated in a while, but you could test it out, or purchase support from Brajesh and request a fix if you run into issues:
    http://buddydev.com/plugins/mu-global-terms/. There’s a write-up on the plugin here: http://wptavern.com/wordpress-multisite-global-terms-plugin-share-taxonomies-across-a-network

    Also in the user activity stream I cannot see the posts the user has written in his own blog.

    That SHOULD work. You mention a custom post type though: is that the activity you are hoping to see? By default BP only shows posts and comments, not custom post types. You can register custom post types: https://codex.buddypress.org/plugindev/post-types-activities/

    If the subsite that you are hoping registers activity is set to discourage search engines in Settings/Reading then it won’t register on the main site.

    You may also want to try one of the default themes (twentyxx) to see if it’s your theme screwing things up. Many themes that tout themselves as BuddyPress-Ready, are doing some funky things best left to plugins in their functions.php file.

Viewing 25 results - 16,576 through 16,600 (of 73,981 total)
Skip to toolbar