Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 15,426 through 15,450 (of 69,016 total)
  • Author
    Search Results
  • #202520
    shanebp
    Moderator
    #202286
    Henry Wright
    Moderator

    Hi @dogguyjosh

    You could certainly achieve something like this with WordPress and BuddyPress (and maybe one or two more plugins). Try searching the WordPress Plugin Directory for membership plugins and try some out on a test install to see which work best for you.

    Regarding Geolocation, I’ve used Geo Mashup and can recommend it. That said, I haven’t tried it with BuddyPress but I have found the developer usually responds to support questions if anything is needed to be asked. See their Google Group

    #202285
    r-a-y
    Keymaster

    This is fixed and scheduled for v2.1.1.

    In the meantime, check out the third point in the “Known Issues” thread for an interim fix:
    https://buddypress.org/support/topic/buddypress-2-1-known-issues/

    #202158
    wayne alex
    Participant

    I’ve removed the customization’s and deactivated all plugins except Buddypress, with no changes.
    Any other ideas?

    Thanks,

    #202046
    danbp
    Participant

    This snippet is working.

    1. Is your functions.php correctly formated ?
    2. XYZ is a fake name. You have to enter one of your group name. As it is a slug format, it is also case sensitive.
    3. Set wp_debug on “true” in wp-config and see if you get error messages
    #202043
    RobertNe
    Participant

    Hi

    sorry for answering so late. I now understand what the problem in my explanation is and will try to correct it in this post:

    What I’m trying to realize is a “sharing button” for my own buddypress community. It will work like this:

    1. Someone who is on a site (A) wants to share the content of this site on my buddypress community (site B).
    2. For this he pushes a sharing button witch has to be implemented by the admin of this site (A) before
    3. When the user pushes the button he will be forwarded to a special site of my buddypress community
    4. Now it gets interesting: This special site ONLY has the “post-form” of buddypress
    What I mean with the “post-form” is the message box in the area “activity” in which you
    write down what you’re going to post (in source code called “whats-new-textarea”)
    5. The “post form” has now the link of site A included so that the user only has to push the “publish-button”

    So my question was how to create the “special site” with the “post form” on which I can forward the user.

    Thank you!

    Robert

    #201678

    In reply to: Styling BuddyPress

    shpitzyl
    Participant

    If you change overflow to fixed, it should stay fixed when inspecting it. It is obvious that you are doing something wrong.

    Are you using a child theme?
    Are you making the changes inside your theme’s style.css or inside buddypress.css?
    If you are using buddypress.css and using a child theme, where are you placing that file?

    #201675

    In reply to: Styling BuddyPress

    shpitzyl
    Participant

    @jessicana

    I was been able to fix that issue on my site but unfortunately I can’t remember how I did it, it was a while ago… My buddypress site is heavily modified and I can’t track all the changes I made.

    One thing that I can tell you for sure is that I haven’t changed overflow to fixed inside #whats-new-option. I think I changed something in my child-theme’s style.css. Something that is not directly related to buddypress.

    I will look into it later when I will have time.

    #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.

    #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');
    #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!

    #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.

    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).

    #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 - 15,426 through 15,450 (of 69,016 total)
Skip to toolbar