Search Results for 'buddypress'
-
AuthorSearch Results
-
October 8, 2014 at 1:04 pm #206286
In reply to: Changing "Friends" to "Connections" ?
shanebp
ModeratorIt’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: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?’.October 8, 2014 at 1:03 pm #2062841a-spielwiese
ParticipantFor 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?)'October 8, 2014 at 12:57 pm #206282In reply to: Friend requests
danbp
ParticipantHave 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.
October 8, 2014 at 12:26 pm #206277In reply to: Friend requests
barchiola
Participantwould 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,
BartOctober 8, 2014 at 11:57 am #206270In reply to: edit profile like broke
digitaliway
Participantthank 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
October 8, 2014 at 11:00 am #206267In reply to: Username Dropdown List
Henry Wright
ModeratorHi @barchiola
The @-mentions interface has been recently improved actually. Check out the BuddyPress 2.1 “Patsy” blog post for more info on the revamp.
October 8, 2014 at 9:27 am #206265In reply to: Member List filter (WPMUDev Membership plugin)
Hugo Ashmore
ParticipantYou’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/October 8, 2014 at 8:30 am #2062611a-spielwiese
Participant“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.jpgNevertheless, 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?
October 7, 2014 at 11:36 pm #206249In reply to: Just installed Buddypress 2.1.1. No clue
bp-help
Participant@summersoul
Have you considered hiring a pro? Try posting:October 7, 2014 at 10:33 pm #206247In reply to: Just installed Buddypress 2.1.1. No clue
summersoul
ParticipantI 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
October 7, 2014 at 10:24 pm #206246In reply to: Just installed Buddypress 2.1.1. No clue
shanebp
ModeratorBuddyPress 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/
October 7, 2014 at 10:22 pm #206245In reply to: Changing "Friends" to "Connections" ?
shanebp
ModeratorTry 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 );October 7, 2014 at 10:14 pm #206244In reply to: Changing "Friends" to "Connections" ?
ideasdesigninc
ParticipantUPDATE: 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!
– YvanOctober 7, 2014 at 8:37 pm #206237In reply to: Private Photo Sharing
brittonk
ParticipantIn 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.
October 7, 2014 at 7:41 pm #206023In reply to: Nginx blues: Connection reset by peer
r-a-y
KeymasterOctober 7, 2014 at 6:57 pm #205660shanebp
ModeratorOctober 7, 2014 at 6:41 pm #205560In reply to: Use default theme style/css for buddypress
danbp
ParticipantOctober 7, 2014 at 6:40 pm #205559In reply to: Custom profile design in buddypress
danbp
ParticipantOctober 7, 2014 at 5:00 pm #205551In reply to: Spam User Registrations despite multiple anti-spam
Ruby Sinreich
ParticipantI 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.
October 7, 2014 at 4:06 pm #205267In reply to: Modifying buddypress.min.css
Hugo Ashmore
ParticipantIf 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*
October 7, 2014 at 3:00 pm #205263In reply to: Modifying buddypress.min.css
barchiola
Participantso 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?
October 7, 2014 at 2:49 pm #205262In reply to: Modifying buddypress.min.css
danbp
ParticipantOctober 7, 2014 at 12:47 pm #205247In reply to: Filter list of profiles on Member Page
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:
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;October 7, 2014 at 12:37 pm #205244In reply to: Filter list of profiles on Member Page
Myg0t
ParticipantAlright, 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.
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
October 7, 2014 at 12:25 pm #205243In reply to: All Members showing age of 44 years old
bonnsaikitty
ParticipantI 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 !
-
AuthorSearch Results
