Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,351 through 12,375 (of 69,016 total)
  • Author
    Search Results
  • #242711

    In reply to: Authentication

    Henry Wright
    Moderator

    The third-party CMS users would need to be registered with BuddyPress (WordPress). Registration will allocate each person with an ID, username and so on. Without these, authentication won’t be possible.

    You’ll probably need to import existing users, and then going forward, each time someone registers with the third-party CMS, you’d need to automatically sign them up with BuddyPress (WordPress).

    #242710

    In reply to: I want to add Spanish!

    danbp
    Participant

    For the third time,

    you can add manually the language files in the wp-content/languages/plugins/ folder to get: wp-content/languages/plugins/buddypress-es_ES.mo

    In other words, you have to create a folder (carpeta) called “plugins” first and add it to /languages/.

    #242708
    danbp
    Participant

    Custom code goes to child-theme functions.php

    Customizing BuddyPress needs a certain level of competence with PHP and the inner workings of BuddyPress & WordPress.

    Please read https://codex.buddypress.org/developer/

    and see also https://codex.wordpress.org/Functions_File_Explained

    #242702
    @mercime
    Participant

    @jld142 Based on title of this topic, you only want to change the styling aka CSS. If that’s the case, you do not need to add any BP folders/files in your child theme. Just override the style in your theme’s style.css file or whatever stylesheet is enqueued in your premium theme.

    If however, you want to change the markup or functionality in some form or the other, then you’d have to look at https://buddypress.trac.wordpress.org/browser/tags/2.3.2/src/bp-core/bp-core-widgets.php#L22 and make the fix in your child theme’s functions.php – no need to copy over any BP folder.

    #242698
    djsteveb
    Participant

    @atfpodcast – this has been brought up in the support forums a few times – you could search the forums for “chat”
    For basic no frills chat room and bp I would start with the free “quick chat” plugin in the wp-repo – I use it on a couple of sites and it’s fine for most.. if you chat or and server gets busy you may want to move on to something that does not rely so much on using mysql.. I posted some info at the bottom of one of these following threads about that

    I would suggest perhaps starting here:
    https://buddypress.org/support/topic/chat-plugins-with-one-to-many-messaging/#post-241066

    https://buddypress.org/support/topic/chat-plugin-recommendations-2/

    Search the forums and you will find more discussions about these – I can only post two links in this reply so can’t be more specific with a single post.

    Your mileage may vary – but I have not had any good real world use with ‘comet chat’ nor ‘wpmu’s chat plugin’ – chat systems that are free almost always use your sql database for message storage and require a bunch of back and forth ajax like server requests – fine if you have less than 20 people chatting on a dedicated server – not so good when it gets to be more than that in my previous experiences – some of the other chat systems rely on third party servers – which puts you in a position of giving away all of your users data to others, dealing with the fact their servers are out of your control and may not work all the time – stuff like that..

    read the other convos for more details I guess..

    #242697
    zplitstonez
    Participant

    Hi Danbp,

    Thank you for helping me. However i don’t know what file should i edit and where should i insert the codes that’s being mentioned here:
    https://buddypress.org/support/topic/resolved-how-to-limit-the-input-of-a-profile-field-type-multiline-text-box/

    Cheers!

    #242688
    danbp
    Participant
    #242686

    In reply to: I want to add Spanish!

    danbp
    Participant

    Before saying it’s not working, please follow the instruction.
    Read my previous answer slowly and check the path i indicated.

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

    According to the screenshot, your site use the mexican version of WordPress.

    Unfortunatly, there is no mexican spanish translation avaible for BuddyPress !

    This force you to use spanish (es_ES and NOT es_MX) as site language to get automatically the es_ES BP translation.

    In other words, you can’t use mexican language on main site if you want BP in spanish.

    Translation can be found here: https://translate.wordpress.org/projects/buddypress/2.2.x

    #242675
    danbp
    Participant

    Which fields are you talking about exactly ?

    As stated by the author, Events Manager allows BuddyPress users to manage their events from the front-end your website. Aside from this, your users also can create group events and manage these together.

    Buddypress Setup

    #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

Viewing 25 results - 12,351 through 12,375 (of 69,016 total)
Skip to toolbar