Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 23,351 through 23,375 (of 94,544 total)
  • Author
    Search Results
  • #201669
    Hugo Ashmore
    Participant

    @rickdickinson that first codex page clearly states it’s in regard of the older bp-default setup, this doesn’t mean don’t follow it but you would only do so if you were already working with that themeing approach.

    the second link is the one to follow for new install/themes, yes you do need to create a child theme IF you’re working with an existing of the peg theme, if you’re writing your own then you simply overload your files in either /buddypress/css/ or /community/css/ (either labelling works and both folder structures are applicable whether a main theme or child one)

    If you overloaded the entire buddypress.css file and your changes didn’t work it’s just possible you hit the 2.1 issue of naming convention, which will be fixed in 2.1.1, so try renaming your file to buddypress.min.css.

    #201667
    Hugo Ashmore
    Participant

    Yes you can!

    A better question would have been to explain what you are ‘hacking’ and why and how best to achieve this.

    buddypress-functions.php is not necessarily a straightforward functions file, if you overload it you then have to be responsible for ensuring any core changes are copied over, or perhaps you just need to extend the theme compat class rather than hack buddypress-functions with your own class?

    #201353
    Lars Henriksen
    Participant

    Above the buddypress menu it looks OK. But
    field texts below the buddypress menu appear twice.

    #201200
    jessicana
    Participant

    Which one to hack when running a wordpress site that is using buddypress plugin

    I read both documentations. I am hacking Functions.php.

    Can I hack both Functions.php and buddypress-functions.php?

    #201199

    In reply to: Styling BuddyPress

    jessicana
    Participant

    @shpitzyl @danbp I followed and applied what you said and it didn’t work. I even made the direct changes inside bp-legacy> buddypress.js and did not work. I deleted the file buddypress.js and made a test to post an update and I was able to post an update and the styling problem was still there.

    The only way to solve this is giving the text box of post an update a fixed width that remains the same before and after we post an update. To solve this we need to cancel the auto hide for the textbox.

    I wish this helps!

    #201198
    ronfastway
    Participant

    I was having a similar issue. I had html being displayed at the top of some of my buddypress pages. I finally found the culprit to be this bit of code I was using in the <head> section of my site —>
    <meta name=”twitter:title” content=”<?php the_title(); ?>”>

    Changing it to the following fixed my problem —>
    <meta name=”twitter:title” content=”some static text here instead”>

    Now I just need to figure out how to make it work with the PHP code without generating random HTML at the top of my page.

    Hope it helps.

    #201197
    Marcella
    Participant

    It’s actually the Site Tracking in conjunction with Activity Stream which allows for post publishing to be tracked.

    I don’t know exactly what you’re trying to do here, but you could first start by increasing the excerpt length to be a little longer. I’m not sure what the default excerpt length is for BuddyPress, however the function below will increase it to 750 characters.

    Place the function below into functions.php or bp-custom.php

    function px_bp_activity_excerpt_length() {
        return 750;
    }
    add_filter('bp_activity_excerpt_length', 'px_bp_activity_excerpt_length');
    #201194
    Marcella
    Participant

    I feel this is a pretty unique implementation of BuddyPress, although it may have been done before.

    Currently there’s support for Activity, Groups, Members and all that falls under those components.

    It’s working well as clients can see my activity and in the future they will have accounts as members in some form or another.

    Putting this out there for any possible feedback? I’m just wondering what people think of BuddyPress being used like this?

    Thanks for looking

    http://www.pixelcoder.co.uk/

    p.s. I’m using Hashbuddy and a forked plugin from GitHub for hashtags and profile banners.

    #201193
    rickdickinson
    Participant

    Hi, I want to make some minor CSS changes to BuddyPress, but I’m thoroughly confused. Since 1.7, what is/is not the correct way to do this? Do we still need a child theme, as described here: https://codex.buddypress.org/themes/building-a-buddypress-child-theme/?

    Or do we just need to add css files as described here: https://codex.buddypress.org/themes/theme-compatibility-1-7/theme-compatibility-2/?

    I’ve tried the latter method, but no success.

    Here are the minor changes I’d like to make:

    /* --------------------------------------------
    	BUDDYPRESS
    -------------------------------------------- */
    
    /* overrides wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css */
    
    #buddypress .comment-reply-link, #buddypress a.button, #buddypress button, #buddypress div.generic-button a, #buddypress input[type=button], #buddypress input[type=reset], #buddypress input[type=submit], #buddypress ul.button-nav li a, a.bp-title-button {
    background: #fff;
    border: 1px solid #ccc;
    color: #777;
    font-size: 1.1rem; /* edited */
    cursor: pointer;
    outline: 0;
    padding: 4px 10px;
    text-align: center;
    text-decoration: none; 
    }
    
    #buddypress ul.item-list li div.item-title, #buddypress ul.item-list li h4 {
    font-weight: 600;
    /* font-size: 90%; */ /* edited */
    margin: 0;
    width: 75%;
    }
    
    #buddypress ul.item-list li div.item-desc {
    /* color: #888; */  /* edited */
    font-size: 80%;
    margin: 10px 0 0 60px;
    width: 70%; /* edited */
    }
    
    /* overrides wp-content/plugins/bp-group-hierarchy/templates/_inc/css/hierarchy.css */
    
    .item-subitem-indicator {
    float: left;
    line-height: 3em;
    display: none; /* added */
    

    I’d love to know exactly how/where to make these customizations.

    Thanks in advance!

    xQuit
    Participant

    Hello everyone, hope someone could enlighten me with this problem.
    We currently have two (2) authors in our site allowed to publish posts.Since BuddyPress is enabled (together with the Activity Stream module), all published posts and other site activity are logged.
    My question are:

    1. How come when I publish a post, the activity stream only shows the excerpt and would end in a […]?
    2. But when the other author publishes his post, it would be posted in the whole activity stream with a toggleable [Read More] button.

    rickdickinson
    Participant

    Hi,

    We’ve just moved our BuddyPress from one blog ID to another, but somehow in the process we’ve lost the groups. We’re not really sure if this is a BP issue, a WPMU issue, or something else. Any guidance would be appreciated.

    Latest BP, WP 3.9?

    Site: http://commons.pinchot.edu/groups/

    Thanks,

    Rick

    #201184
    juliusav
    Participant

    Thanks for all the tips/suggestions!

    I followed the advice @r-a-y gave and switched my theme to Twenty Twelve, and discovered it was a bug with my theme after all. The theme had its own login form that didn’t seem to check for user verification. Fixed by getting rid of that and using the traditional WP login form!

    And the other thread I mentioned is: https://buddypress.org/support/topic/users-can-login-without-activationemail-verification/

    Thanks again!

    #201182
    1a-spielwiese
    Participant

    Despite of the persisting problems there, now all of my users have the user role, which they should have, and they are asigned to that xProfile member category, to which the should be asigned.

    Currently I have six blogs and as well six users. The users are:

    — The superadmin of the entire network, who is also the admin of the root-blog and the beispiel (example)-subdomain-blog.

    — The second user is an editor of the root-blog.

    — And then there three users with the user role ‘team’, which I created with ‘Capability Manager Enhanced’-plugin, and one with the user role ‘fan’, which I created in the same way.

    — The three users with the user role ‘team’ are also assigned in the corresponding xProfile field to the member category ‘team’. And the user with the user role ‘fan’ is asigned in the corresponding xProfile field to the member category ‘fan’.

    — For the superadmin there aren’t any xProfile fields. And for the editor of the root blog the xProfile fields are not filled in.

    Now I want to do the following:

    — I want to split the member list into parts: One part with the ‘teams’ and another with ‘fans’ – and the superadmin and the editor can be ignored.

    — My BuddyPress-memberpage is already called ‘Die Teams’, and I have prepared already a page ‘Die Fans’.

    — I want now to delete the fan (Fan 1), the superadmin (s.admin-1a) and the editor (madmin1a) from the list which is currently display below the menu tab ‘Die Teams’. In other words: The list, which is currently displayed under that tab, shall became really a list of my ‘teams’ (and not of all of my members).

    — And then I want to create a new list, which currently displays only the one ‘Fan’-member, which I currently have. This list should appear under menu tab ‘Die Fans’.

    — Of course, both lists should be automatically enhanced, if there are new members of the one or the category.

    (How) can I do this?

    On the most bascis level I assume, I can do this by using the different user roles or the different xProfile field member categories for splitting the BuddyPress-member-list into two parts: Teams and Fans. – But how could I do this in detail?

    #201180
    Henry Wright
    Moderator

    Hi @namrons

    This will most likely need a Trac ticket. Feel free to create one here:

    https://buddypress.trac.wordpress.org/

    #201175

    In reply to: php error log

    danbp
    Participant

    i believe that wp_icl_strings is related to a multilingual plugin, like wpml or buddypress-multilingual.

    Deactivate it and see what happen.

    #201174
    Venutius
    Moderator

    Currently, the group home view simply shows the activity feed. Personally I think there should be opitions on what to show at this view, to allow it to be more customisable.

    I’m thinking a tick list of items that you want to include in the home view, so for example, if the group has a forum why not show this on the homepage? Same with the group description, maybe the group chat room and also any document folders etc.

    Generally with Buddypress and with WordPress, there are too many clicks required and too much scrolling to get to the information that you want. Each component is separate and you have to click on a link to see that particular feature, there are no aggregated views that summarise the information available. This makes things less accessible and less exciting.

    We live in a world of one click and zero patience, if we as a user to wait for a pageload then lets try to make that page as interesting as possible, with as much cool info as possible, lets not make them search out the information, lets give it to them as soon as they set a foot in the door.

    danbp
    Participant

    Comment in bp-messages-loader.php

    
    /**
     * Implementation of BP_Component for the Messages component.
     *
     * @since BuddyPress (1.5.0)
     */
    class BP_Messages_Component extends BP_Component {
    	/**
    	 * If this is true, the Message autocomplete will return friends only, unless
    	 * this is set to false, in which any matching users will be returned.
    	 *
    	 * @since BuddyPress (1.5)
    	 * @var bool
    	 */
    	public $autocomplete_all;

    So yes it is implemented since BP 1.5

    By default you get only suggestion of your friends names. You can get all user names, by adding this to your bp-cutom.php file

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );

    But never use this constant if you have hundreds of user ! (imagine the length of such a list !)

    #201161
    danbp
    Participant

    Hum… have you activated pretty permalinks ? This is made by chosing one of the permalink option, except default, in the WP permalink settings.

    Does your host allow multisite ?
    Have you added the htaccess code after network activation ?

    See also this related topic.

    #201156
    1a-spielwiese
    Participant

    So, the following questions remain:

    A. How can I make profile fields, which are asigned only to one member category / user role, ‘required’? Cfr. above.

    B. Anyone knows, whether there is a function already written, which allows to change or delete the standard user role in WP MultiSite?

    C. What is the purpose of the penultimate step of the instructions of @noizeburger? – What have I to check for seeing, whether it works or not?

    D. Why does the last step of the instructions of @noizeburger do not work for me? How can I make the member category / user role unchangeable for my members?

    @amalsh / @jonaro / @lebearuk / @kamillamonkey and @jeffacubed:

    Do you have any idea regarding this issues?

    #201151
    1a-spielwiese
    Participant

    Follow-up:

    7th:

    Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).
    The first step is to create your user roles

    https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/

    As ready implied there: I did this – and it works so far.

    8th:

    Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.

    I did it already, when I installed and activated ‘BP Profile Search’-plugin – and it works.

    However, to choosed a dropdown menu and the categories ‘team’ and ‘fan’.

    9th:

    I modified:

    ?php
    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('User Role', $user_id));
        switch($user_role) {
            case "Band Role":
                $new_role = 'band';
                break;
            case "Fan Role":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    into:

    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('Mitglieder-Kategorie (Team oder Fan?)', $user_id));
        switch($user_role) {
            case "Team":
                $new_role = team';
                break;
            case "Fan":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    (I omitted <?php, because I created not a new bp-costum.php, rather inserted the code into my yet existing bp-costum.php. I inserted the modified code above the line ?>.)

    I did not understand, which effect this insertion should have – but, however, – as far as I see – it causes no harm.

    Did anyone understood, for which purpose the above mentioned code is?

    10th:

    I inserted as well:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    into my bp-costum.php – again above the line ?>.

    It does not work:

    — threre the user role is still changeable:

    http://kampfsportlerinnenneuwied.1a-spielwiese.de/wp-content/uploads/sites/2/2014/09/user_role_still_changeble.jpg

    — http://1a-spielwiese.de/members/kampfsportlerinnenneuwied/profile/edit/group/1 causes an redirection error. – The redirection error disappears, when I’m not logged in as kampfsportlerinnenneuwied, rather as superadmin.

    #201148

    In reply to: php error log

    hugblue71
    Participant

    Sorry.

    All my plugins are up to date :
    wp : 4.0
    BuddyPress : 2.1
    Theme : sweet date 2.6.3

    – – –

    First.. i didnt do anything. Not as far as i know.
    I checked the php_errors.log and it was full of this error type.

    So i wanted to know if this is a serious error that could affect my site in a bad way.

    #201147
    SeeingBlueS2
    Participant

    I applied the fix under Javascript issues with the older bp-default theme and this did not resolve my issue. I also downloaded and used the function.php listed here: https://raw.githubusercontent.com/buddypress/BP-Default/619efe8527847266c961fa43775eade42c7ff70d/functions.php and that did not work either.

    Still having this problem

    #201144
    danbp
    Participant

    Yes it is weird ! And it is not a buddypress issue but a translation issue.

    The glotpress po file is uncomplete and contains many errors.
    Not sure if it can have an influence on the automatted language upload, but the header is missing the language parameter. (@r-a-y, @boone)

    I first tested it “as is” and got same errors as you.
    I applied patch #5887… nothing
    I used the function mentionned by @r-a-y… nothing
    I added the mo into suggested /wp-content/languages/plugins/buddypress/bp-languages/buddypress-es_ES.mo… nothing

    So i went back to my original config and used the same settings i usually use for my fr_FR BP version (/wp-content/languages/plugins/buddypress-es_ES.mo)… nothing !

    WTF ? 👿 #grumbl…@?/;rrrrr !

    So i decided to make a new po by updating the one found on glotpress. (i’m working with poEdit)
    This resulted in around 1300 (a little more) new lines and over 100 deprecated lines… and a lot of approximative strings….

    In these approx, i found groups, activity and all other strings you mentionned not getting translated. I simply reverted them to valid and bam, the translation worked.

    I suggest the following:

    • revert back to standard config (no language patch, no language custom functions, no extra language folder) and po/mo in wp-content/languages/buddypress-xx_XX.mo
    • download the po from glotpress
    • open the file with a text editor and remove the header and replace it with this one:
    msgid ""
    msgstr ""
    "Project-Id-Version: BuddyPress 2.1\n"
    "POT-Creation-Date: 2014-09-26 13:34+0100\n"
    "PO-Revision-Date: 2014-09-26 14:19+0100\n"
    "Last-Translator: \n"
    "Language-Team: \n"
    "Language: es_ES\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=2; plural=n != 1;\n"
    "X-Poedit-SourceCharset: UTF-8\n"
    "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
    "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
    "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    "X-Textdomain-Support: yes\n"
    "X-Poedit-Basepath: .\n"
    "X-Generator: Poedit 1.5.7\n"
    "X-Poedit-SearchPath-0: ..\n"
    • create a folder in BP called bp-languages-ES (or whatever)
    • add the po to this folder
    • open the file with poEdit
    • update the catalog from source

    Now you can see all untranslated lines, the one who are approximative and the one who are already translated.

    At this stage, the file is translated to 53% and you’ll have to translate around 770 strings (of 2668).

    You also have to check each string containing count variables like %s or %1$s (many are old and must be modified). You’ll find also some plural strings. This is particulary true for approximative strings, who may be similar to the english phrase, but aren’t. Needs good eyes and slow checking ! 😉

    Once finished, save your work and copy the mo file into the appropriate language folder:

    /wp-content/languages/plugins/buddypress-es_ES.mo (if you want to use your custom translation only)
    /wp-content/languages/buddypress-es_ES.mo – if you want automagical 👿 glotpress updates (when avaible, complete and without errors of course).

    Ulfsby Webdesign
    Participant

    The site can no loger be viewed. I get the error message
    “Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in …/wp-content/plugins/buddypress/bp-core.php on line 561”
    How do I fix this? I can not even open the dashboard.

    #201138
    Henry Wright
    Moderator

    I’m not sure which membership plugins work well with BP as I’ve not used any but I’m sure some of the guys on here will be able to recommend?

    As @r-a-y points out in this thread, is_buddypress() is a good catch all for BuddyPress pages. So, you could put something like this in your theme’s functions.php file:

    function my_function() {
        if ( is_buddyPress() ) {
            // This is a BuddyPress page you are viewing so do something BuddyPressy.
        } else {
            // This is not a BP page.
        }
    }
    add_action( 'init', 'my_function' );
Viewing 25 results - 23,351 through 23,375 (of 94,544 total)
Skip to toolbar