Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 15,276 through 15,300 (of 69,016 total)
  • Author
    Search Results
  • #206286
    shanebp
    Moderator

    It’s a matter of finding the exact syntax.
    This works in the function I provided.

            case 'Friends <span class="%s">%s</span>':
                return 'Connections <span class="%s">%s</span>';

    A gettext filter is a reasonable approach if there are one or two labels that need to be changed.
    But there are so many different places where ‘Friend’ or some variation is used that in your case you should definitely use a .mo file.
    Read:

    Customizing Labels, Messages, and URLs

    Often there is confusion re the Sources Keywords section of PoEdit, so after you read the above, take a look at http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
    especially the section titled ‘Keywords lists, WordPress functions, whaaaaaa?’.

    #206284
    1a-spielwiese
    Participant

    For me also not:

    I tried it with

    Mitglieder-Kategorie (Team oder Fan?)

    instead of

    'name of your field'

    as well as with

    'Mitglieder-Kategorie (Team oder Fan?)'

    But my users can still change the values for this field. –

    I tried as well – already before and now again – this code of @noizeburger:

    //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;
    }

    It works neither with

    "Mitglieder-Kategorie (Team oder Fan?)"

    nor with

    Mitglieder-Kategorie (Team oder Fan?)

    nor with:

    'Mitglieder-Kategorie (Team oder Fan?)'

    #206282

    In reply to: Friend requests

    danbp
    Participant

    Have you already deleted these two bogus accounts ?

    Maybe try to use BP without other plugins. Only WP+BP and 2014 theme to get sure anything is working.
    If you’re on your first BP experience, you can also add some fake content with bp defaut data plugin, so it would be easier for you to see how things go on.

    If you configured correctly BuddyPress such a test install works within minutes.

    #206277

    In reply to: Friend requests

    barchiola
    Participant

    would love to see an answer to this as we have the same problem with phantom BuddyPress Notifications. People have numbers in the blue circle but when they click they get an error message and I’ve tried resetting the system cache but no luck.
    THanks,
    Bart

    #206270
    digitaliway
    Participant

    thank you for the reply:

    I installed fresh then there were three updates since the fresh install.

    under settings > buddypress I have all components active and in the settings tab all are checked.

    under settings > permalink settings I have it set to Post name and I just updated the structure to see if that would fix this and it did not. is there somewhere else I should be setting up permalinks?

    no pages are trashed

    #206267

    In reply to: Username Dropdown List

    Henry Wright
    Moderator

    Hi @barchiola

    The @-mentions interface has been recently improved actually. Check out the BuddyPress 2.1 “Patsy” blog post for more info on the revamp.

    #206265
    Hugo Ashmore
    Participant

    You’re using a premium plugin here, really the question should be posed to their support.

    This question ir remarkably similar to this thread which is probably the route you need to follow.
    https://buddypress.org/support/topic/filter-list-of-profiles-on-member-page/

    1a-spielwiese
    Participant

    @r-a-y:

    “then simply edit the page title under the “Pages” menu in the WP dashboard.

    No, this does not work:

    My page titles there were – already before changing the bp-activity-loader.php and the bp-groups-loader.php – (and are there still) ‘Neuigkeiten’ and ‘Gruppen’:

    http://1a-spielwiese.de/wp-content/uploads/2014/10/WP-Seiten-Titel.jpg
    und
    http://1a-spielwiese.de/wp-content/uploads/2014/10/Neuigkeiten.jpg

    Nevertheless, in the frontend was displayed ‘Side-Wide Activities’ and ‘Groups’:

    http://1a-spielwiese.de/wp-content/uploads/2014/10/Page-Titles.jpg

    And there is displayed now ‘Gruppen’ – because I changed it inside the bp-groups-loader.php.

    And it is displayed ‘Neuigkeiten aus dem 1a-Spielwiese-Netzwerke’ (and not only ‘Neuigkeiten’) – because the bp-activity-loader.php (and not the WP Admin-Panel) is decisive.

    Therefore again:

    How can I prevent, that my changed bp-activity-loader.php and bp-group-loader.php files will be re-changed through the next BuddyPress-Update? – Would it work to place them somewhere into my child-theme-folder? And if so: Where precisely inside that folder I would have to place them?

    #206249
    bp-help
    Participant

    @summersoul
    Have you considered hiring a pro? Try posting:

    BP Jobs Board


    or:
    http://jobs.wordpress.net/

    #206247
    summersoul
    Participant

    I had bbpress working I think.

    I will just reactivate it and then reactivate buddypress. I hope works

    The link you send is extremely confusing.

    Thanks

    #206246
    shanebp
    Moderator

    BuddyPress does not provide forums.
    It will work together with bbPress to provide forums.

    Get BP working first.

    To set-up BP read: https://codex.buddypress.org/getting-started/

    #206245
    shanebp
    Moderator

    Try this in bp-custom.php

    function ideas_change_buddypress_text( $translated, $original_text, $domain ) {
    
        if ( 'buddypress' !== $domain )  
            return $translated; 
    
        switch ( $original_text ) {
        
            case 'Friends <span>%d</span>':
                return 'Connections <span>%d</span>';
    
            case 'Friends':
                return 'Connections';
                			
            default:
                return $translated;
        }
    }
    add_filter( 'gettext', 'ideas_change_buddypress_text', 10, 3 );
    #206244
    ideasdesigninc
    Participant

    UPDATE: I’ve figured out how to change the “/activity/friends/” friendly URL to “/activity/connections/”. I’ve simply uploaded a bp-custom.php file to my “/wp-content/plugins/” folder and added the following line to it:

    define ( ‘BP_FRIENDS_SLUG’, ‘connections’ );

    I now just need to figure out how to change “Friends” to “Connections”. I’ve searched through these forums, but all of the instructions I’ve been able to find so far seem to pertain to 1.x versions of BuddyPress, and involve the modifying of language files (which doesn’t seem to apply to version 2.1.1 of BuddyPress). Can anyone here give me some pointers on how I’d do this in BuddyPress v2.1.1 ?

    Thanks!
    – Yvan

    #206237

    In reply to: Private Photo Sharing

    brittonk
    Participant

    In an ideal world, yes.

    Unfortunately that author doesn’t seem to do anything for free and it isn’t currently one of their paid “Add-ons”

    That said, the most popular buddypress themes automatically integrate rtMEdia so I would imagine that the majority of buddypress users are running it for their user photo galleries which is why I’m here.

    #206023
    r-a-y
    Keymaster
    #205660
    shanebp
    Moderator
    #205560
    danbp
    Participant
    #205559
    danbp
    Participant

    @patrykkxd_

    read here about premium theme

    and here

    #205551
    Ruby Sinreich
    Participant

    I ma having the same problem. It started as soon as my new site was live (I just migrated servers at the same time as installing BuddyPress). I installed this honeypot https://wordpress.org/plugins/registration-honeypot/, and it helped a little, but I won’t be able to deal with this once I have real members registering since I can’t always tell who is real or fake.

    There’s got to be a better way. Or at least a better admin view of new users so I can screem them with more profile data.

    #205267
    Hugo Ashmore
    Participant

    If you do nothing but activate BP then BP uses it’s version of buddypress styles from the minified file in BP’s core template directory, however if you overload that with your own copy of buddypress.css in the correct matching directory in your theme or child theme then BP will see that and use it instead (a normal non minified file). Don’t worry too much about script_debug it was/is a means of geting around an issue on development installs.

    and isn’t it a downgrade in performance if the .min.css file is being lost to a custom .css file? Isn’t the point of the .min.css file to speed things up?

    Yeah, essentially however the practise has never been one that was a mandatory one or even approved of by many older hands, css is a cached file, thus once downloaded the local cached copy is used, CSS is a text based declarative language and is intended to be human readable, removing white space renders a file uneditable/readable a possible issue if needing that file to edit and unminified version not available. Part of the experience and skill set of a good frontend coder working with CSS is knowing how to write rulesets correctly in a manner that doesn’t result in massive file bloat commonly seen nowadays with 50k+file sizes.

    In answer, the speed increase is negligible but most will think that any saving is worth it *shrug*

    #205263
    barchiola
    Participant

    so the answer is that BuddyPress will generate the .min.css file from my styles.css file? or is it this from another link?

    Since version 2.1, BuddyPress minified stylesheet is used if SCRIPT_DEBUG is not set. This was preventing themes to override the stylesheet using a file named buddypress.css. This patch make sure that if a buddypress.css file is located in one of the allowed css subfolder it will override the one provided by BuddyPress.

    and isn’t it a downgrade in performance if the .min.css file is being lost to a custom .css file? Isn’t the point of the .min.css file to speed things up?

    #205262
    danbp
    Participant
    #205247
    shanebp
    Moderator

    >The only issue remaining now is that the members page is still paginating based on the ~2000 members.

    That’s because BP has already collected all the members.
    And then you decide which to display.
    Instead, you should decide which members to collect and then just run the standard bp_members loop.

    Take a look at:

    BP_User_Query

    You’ll have to adjust it to collect all the user ids for s2member_level2.
    They probably have code for that.
    And then change:

    $query_array->query_vars['exclude'] = $this->custom_ids;
    to
    $query_array->query_vars['include'] = $this->custom_ids;

    and change:

    return $count - $new_count;
    to
    return $new_count;
    #205244
    Myg0t
    Participant

    Alright, so here’s my update. I’ve gotten the list of profiles filtered, here is the code i’m using:

    <?php while ( bp_members() ) : bp_the_member(); ?>
     
    	<?php $user=bp_get_member_user_id();
     
    	$s2member_var = get_user_field ("s2member_access_role", $user);
     
    	if ($s2member_var == "s2member_level2") {
     
    ?>

    The only issue remaining now is that the members page is still paginating based on the ~2000 members.

     photo Capture.png

    As should be seen in this snippet.

    I was thinking maybe I could get more support for this question since it’s purely related to buddypress and not S2member?

    Many thanks,

    M

    #205243
    bonnsaikitty
    Participant

    @hnla

    I did try to ask the theme maker, they keep telling all of us to wait for the Buddypress update.

    I don’t think they really know what’s going wrong also.

    That’s why I opt for this forum directly, but who knows either that this problem does not come from Buddypress. That’s why I “asked” ^______^

    About your questions, will come back to you soon. Thanks !

Viewing 25 results - 15,276 through 15,300 (of 69,016 total)
Skip to toolbar