Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,276 through 12,300 (of 68,931 total)
  • Author
    Search Results
  • #242674

    In reply to: I want to add Spanish!

    danbp
    Participant

    @alex42152,

    The main site language should be set to spanish first.
    See in WP dashboard > Stettings > General

    Normally, this settings allows automatic translation file upload of BuddyPress and bbPress (if installed).
    If not, you can add manually the language files in the wp-content/languages/plugins/ folder to get:

    wp-content/languages/plugins/buddypress-es_ES.mo
    wp-content/languages/plugins/buddypress-es_ES.po

    Each version of BP comes also with its own translatable strings file, which is at the BP plugin root.
    wp-content/plugins/buddypress/buddypress.pot

    #242669
    djsteveb
    Participant

    @jordanboon0 – certainly there is more than one way to accomplish what you are proposing here.

    My first thought upon reading this is is that you can create a “multi-user blog” with wordpress. Each new artist becomes a “contributor” or even “editor” upon sign up, and they can post a new gallery easily, then your admin(s) can choose what new galleries get published.

    You go do all that with a single blog / wordpress install – and do it without buddypress, just make a cool custom author page for whichever theme you want to use.

    There are many plugins and settings for things like front end uploads, post author profiles, wordpress gallery fancy stuff and all that.

    You could also put buddypress into this mix and give your artists some extra social network stuff like private messages, groups and all that – however if you go with buddypress and and that layer to handle everything (without getting your users to submit posts / pages via standard wordpress) – then you have to get into a media plugin like rtmedia, mediapress, or – another one posted about a month ago.. anyhow – those media plugins are kind of their own “silos” – customizing how they work is not a few wp repo plugins away – and support for what you may want to do with them may be disappointing.

    Of course you could take WP, add in BP if you really want the social layer, and still use the main site blog as kind of a “multi-user (or “group” blog) and do it that way.. you could get more complex and turn it into a multi-site install where each user get’s their own unique blog with gallery plugins – but moderation of posts and such with that setup may become more of a challenge – along with the extra headaches with running a multi blog network.

    Anyhow – given the details you provided with your stated goals, I would forget about buddypress and multi-site – just install wordpress and do some searches in the wp-repo and themes section for “author pages”, “group blog” “post moderation” “front end uploads” and the various “Gallery” plugins – I think you can accomplish what you are going for pretty easily with lots of customization options.. without all the drawbacks and limitations of BP.

    #242668
    Henry Wright
    Moderator

    To customise the text, you can localise. See the Customizing Labels, Messages, and URLs article.

    To add more to the confirmation page, you can use the bp_before_registration_confirmed and bp_after_registration_confirmed hooks.

    To override the whole register.php template, see the Template Hierarchy article.

    #242660
    Henry Wright
    Moderator

    Go to Settings > BuddyPress and then under the Components tab make sure Site Tracking is checked.

    #242658
    Henry Wright
    Moderator

    Those are not featured post images, but images that are embedded at the very beginning of posts.

    I can see that the problem doesn’t exist when you navigate to the post. The image is nicely floated left and comes before the text in the source. BuddyPress seems to be changing the order of the image and text when it comes to the activity stream display. I’m not so sure that’s a good thing.

    You could open a Trac ticket for this requesting that the order of text and images remain the same as they were input in the post form?

    #242647
    SJS719
    Participant

    I think you are telling me to add add a function such as this:

    function bp_custom_record_activity() {
     
        $activity_id = bp_activity_add( array(
            'id'		    => '',
            'action'            => '',
            'content'           => '',
            'component'         => '',
            'type'              => '',
            'primary_link'	    => '',
            'user_id'	    => '',
            'item_id'	    => '',
            'secondary_item_id' => '',
            'recorded_time'	    => '',
            'hide_sitewide'	    => '',
        ) );
     
        return $activity_id;
    }

    And then call that function onChange but I am not sure which params I need to include and what the value of those parameters needs to be. I read the bp_activity_add codex but I’m still a little confused.

    bp_activity_add()

    If I have the following checkbox, what values should I use for params such as item_id, action, ID, etc:

    <div id="bd-button">   
    <form name="bdchkbox">
    <label>  
      <input type="checkbox" hidden="hidden" name="bdchk" id="bdchk" onChange="set_check(this);submit()"><span id="bdlbl">Featured</span> 
    </label>
    </form>
    </div>
    #242643
    djsteveb
    Participant

    @pete-hudson
    Did this start after the BP 2.3 release on June 3(ish) ? – I saw a note saying this release included

    “Improved Handling of Blog Media in Activity Stream.

    BuddyPress now generates better excerpts in the activity streams for blog posts containing images or other embedded media content.”

    However I am not sure if there is any documentation / additional info about this – just a blurb on the release notes on the bp dot org / blog is all I have found so far.

    AM77
    Participant

    I Apologize for not being clear.

    If I asked someone for the conditional for the homepage on a wordpress site, they’ll say home_url

    If on a multisite and I wanted a conditional for both the multisite homepage and a user homepage, the’ll say network_home_url for the multisite homepage and home_url for a users homepage.

    What is the homepage for a users homepage on buddypress? When I say users homepage, I’m talking about the page that displays as soon as you click on a member in the members directory, so for member chris the homepage is on mysite.com/members/chris

    What is the conditional for when the page is on a users homepage like mysite.com/members/chris

    I’m saying I don’t think there is a conditional for it, bp_is_user displays on all users pages but I just want it for the users homepage.

    Henry Wright
    Moderator

    If not, then take a look here. That’s everything that’s currently available that relates to user pages.

    #242618
    peter-hamilton
    Participant

    danbp, always helpful.

    I would suggest to copy the entire template folder to your child, this allows easy access in the future.

    Make sure to make notes, every update of buddypress can/will require a new template folder to be created due to new template tags.

    #242616
    peter-hamilton
    Participant

    You will have to make a buddypress template folder in your theme/child.

    “entry.php” is the file you can add an icon, right after the following code which is the username/link.

    <a href="<?php bp_activity_user_link(); ?>">

    #242601
    djsteveb
    Participant

    I am interested in finding out what you come up with in regards to this.

    I tried to use something like:

    ‘field’ => 2,
    );

    (some info from https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/ )
    to replace the actual names I was using in a page title template thing, and never got it to work – but I have no idea what I am doing – trying to franken-hack a bit of code provided by one person and replace the field names with field numbers so the code would work with a different site I was playing with – when I tried replacing the name with this field number thing it did not work – but again I don’t understand php nor bp stuff well enough to know if I just missed a character, or something else was needed, or the function isn’t working as it should.

    #242599
    shanebp
    Moderator

    On button click, use a page refresh or ajax to fire a function that calls bp_activity_add.

    danbp
    Participant

    To do that you need the xprofile field ID and the user ID.

    Here an example to show a profile fied containing a fax number. The filed is called Fax (case sensitive).

    Add this function to your child theme’s functions.php or better, into bp-custom.php

    function my_directory() {	
    if ( bp_is_active( 'xprofile' ) )
    
    	if ( $memberfax = xprofile_get_field_data( 'Fax', bp_get_member_user_id() ) ) :
    		echo '<br/><div class="Fax">';		
    		echo $memberfax;
    		echo '</div>';
    	endif;	
    
    }
    add_filter ( 'bp_directory_members_item', 'my_directory' ); 
    #242582
    danbp
    Participant

    Hi @alexsmoli,

    you copy the original template file from:
    buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php

    to the child theme to get this:
    your-child/buddypress/activity/entry.php

    Reference

    Theme Compatibility & Template Files

    #242581
    danbp
    Participant

    You copy the original file from:
    buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    to the child to get this
    your-child/buddypress/members/mmebers-loop.php

    Reference

    Theme Compatibility & Template Files

    #242579
    danbp
    Participant

    In the plugin !

    wp-content/plugins/buddypress/bp-members/bp-members-functions.php

    #242576
    David Ar
    Participant

    Thanks, but I can’t find the path “BuddyPress/src/bp-members/bp-members-functions.php
    Where is it located?

    #242573
    Jonny MacEachern
    Participant

    @joepesci, I’m not longer working on the project that required this solution. From what I recall I didn’t end up using BuddyPress.

    #242568
    bergblume
    Participant

    thank you very much for your detailed input and your ideas regarding this “problem” within buddypress!!! I really appreciate it!

    Henry Wright
    Moderator

    The Viewing X of X members text can be found inside bp_get_members_pagination_count()

    The best way to customise it is to localise (use a language file). See the Customizing Labels, Messages, and URLs article for more info.

    #242561
    danbp
    Participant

    Custom code goes to bp-custom.php or child-theme’s functions.php
    Code on second answer shows an usage example, it’s not the code you have to use.

    As you asked for register details, i thinked you want a resume of the registration with all mandatory xprofile fields information…

    BP on a single install doesn’t sent a welcome email. This happens only on a MS install. But you add that manually. Read here:

    Send Welcome email to Users when they activate their account on WordPress & BuddyPress Based Social Network

    #242559
    djsteveb
    Participant

    This might be what you are looking for: https://codex.buddypress.org/themes/bp-custom-php/#examples

    for detailed info, scroll up the page.

    #242556
    danbp
    Participant

    1) depends which type of forum you use (standalone or group forum)
    https://wordpress.org/plugins/bp-registration-options/
    https://wordpress.org/plugins/bbpressmoderation/

    2) see here how to do that
    https://buddypress.org/support/topic/add-dynamic-menu-link/#post-242487

    3) i’m not aware of such feature for BP

    #242550
    Henry Wright
    Moderator

    Is the BP part making sure that username is unique?

    Yes. That happens here

Viewing 25 results - 12,276 through 12,300 (of 68,931 total)
Skip to toolbar