Search Results for 'buddypress'
-
AuthorSearch Results
-
November 27, 2015 at 6:56 pm #247232
In reply to: Dynamically Display HTML depending on User
Henry Wright
ModeratorYes, that sounds right. Getting the user ID is slightly different in BuddyPress depending on the context. See the Playing with the user’s ID in different contexts article for details.
November 27, 2015 at 4:43 pm #247229In reply to: Can’t upload Group Avatars
Pietro117
ParticipantHi, we’re having exactly the same problem with not being able to upload avatar photos, and we have the repeated path in the error message, e.g.: Upload Failed! Error was: The uploaded file could not be moved to wp-content/uploads/avatars/9/avatars/9.
We are on a fresh (< 1 week old) 1-click WordPress installation, with BuddyPress, bbPress and a few other plugins.
Did you have any joy with resolving this issue please?
Many thanks
PeterNovember 27, 2015 at 3:08 pm #247228shanebp
ModeratorYou can use multiple filters with commas:
&action=activity_update,new_blog_postSee the comments here for other info:
Using bp_parse_args() to filter BuddyPress template loopsNovember 27, 2015 at 2:59 pm #247227In reply to: opt out of directory
shanebp
ModeratorThere are a couple of ways to do that.
Try:function iresource_exclude_ids( $retval ) { global $wpdb; $field_id = xprofile_get_field_id_from_name( 'FIELD NAME GOES HERE' ); $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id . "AND value = 'FIELD VALUE GOES HERE'"; $exclude_ids = $wpdb->get_col( $query ); $retval['exclude'] = implode(",", $exclude_ids); return $retval; } add_filter( 'bp_after_has_members_parse_args', 'iresource_exclude_ids' );More info:
November 27, 2015 at 2:47 pm #247226Henry Wright
ModeratorJust to add, if you are looking for something to delete, old notifications might be a good place to start. The usual way (in BuddyPress) is to keep all of these, but many places around the web nuke them after they’re ~7 days old.
November 27, 2015 at 2:42 pm #247225Henry Wright
ModeratorAm I okay to just clear the db table for bp_activity and bp_activity_meta
I wouldn’t do this because if anyone has notifications which point to the items you delete, then the member will be taken to a broken link.
I’m also guessing stream items DON’T get indexed by Google? I’m not going to create loads of broken results?
There’s nothing in BuddyPress which would stop Google indexing the single activity page. In fact, I bet that page does get indexed, not sure how popular it’d be in the results list though.
Hope this helps?
November 27, 2015 at 12:13 am #247213In reply to: Add profile fields groups to registration
@mercime
Participant@shmk profile fields you add in the Base Field Group shows up in the Registration Form https://codex.buddypress.org/administrator-guide/extended-profiles/
November 26, 2015 at 6:03 pm #247207In reply to: Problem with language/translate
r-a-y
KeymasterTry downloading the following:
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations?format=mo
Rename the files to
buddypress-de_DE.poandbuddypress-de-DE.morespectively.Then, move the files to
/wp-content/languages/plugins/.Since the translation is not 100% complete, you might see some English strings.
Let me know if that works for you.
November 26, 2015 at 11:53 am #247202_natty_
Participantgreetings to all,
I put the code suggested @danbp on my bp-custom and everything ok but no mapping trough the extra Xfield type… then I add the suggested plugin ( https://github.com/mottolini/buddypress-xprofile-member-type-field ), but I can’t see any setting page or a guide to edit the file from the plugin for mapping the Xfield.
how can solve it?
Thanks in advanceNovember 25, 2015 at 7:46 pm #247192r-a-y
KeymasterThis bug will be fixed in BP v2.4.1.
If you want to temporarily fix this issue manually, see:
https://buddypress.org/support/topic/profile-field-visibility-enforced-but-members-can-override/#post-246690November 25, 2015 at 7:44 pm #247191In reply to: Problem with language/translate
r-a-y
KeymasterI think the German translation is not fully 100% translated, which is preventing WordPress from fetching the latest German translation for BuddyPress.
If you are able to help translate the remaining strings, please visit:
https://translate.wordpress.org/locale/de/default/wp-plugins/buddypressAlso, read the following guide to find out how to contribute towards the translation:
November 25, 2015 at 6:57 pm #247189In reply to: php fatal error $message->send()
r-a-y
Keymaster@garprogram – This fatal error is due to some changes we made in BP v2.4.0 to give users proper feedback messages when a private message fails to send.
It looks like we might have to add some additional hooks so plugin devs can set the error message.
In the meantime, here are two things I would recommend:
1. Use the
'bp_messages_recipients'filter instead of using the'messages_message_before_save'action:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-actions.php?marks=77-84#L772. As Henry mentioned, if you have to unset one recipient, you should unset all of the recipients to avoid the message from sending. The default error message will probably not suit your needs, so you might have to filter the error message with the
'gettext'filter temporarily until we introduce better error handling for plugin developers.November 25, 2015 at 5:52 pm #247187In reply to: Dynamically Display HTML depending on User
shanebp
ModeratorYour question now seems to be about s2member, not BuddyPress.
How are you setting this variable:
$s2member_level1?If you want to display the paybox based on s2member level, then use an s2member function to set
$s2member_level1or use a constant.if( 2 == S2MEMBER_CURRENT_USER_ACCESS_LEVEL ) // etc
https://www.s2member.com/codex/stable/s2member/api_constants/package-globals/#src_doc_S2MEMBER_CURRENT_USER_ACCESS_LEVELNovember 25, 2015 at 3:41 pm #247181Henry Wright
ModeratorBut where is the text “Vendor registration is currently closed. If you have an existing account, you may login and apply to become a vendor” coming from? I did’t find that anywhere in BuddyPress code when I just ran a search.
November 25, 2015 at 3:39 pm #247180In reply to: Does Buddypress even work?
shanebp
ModeratorBuddyPress does not include forums.
You can use bbPress for forums.
bbPress is designed to integrate with BuddyPress.Be sure to read this page in the Documentation ( aka codex ):
November 25, 2015 at 2:31 pm #247178lifeisgood134
ParticipantHi Henry,
yes, I am very sure it is created by BuddyPress. It only appeared right after I’ve done those mentioned (installed, deactivated, and then tried to remove BuddyPress’s all files). I didn’t install any plugin during this period.
November 25, 2015 at 2:26 pm #247177Henry Wright
ModeratorVendor registration is currently closed. if you have an existing account, you may log in and apply to become a vendor
Are you sure this line of text is associated with BuddyPress? What plugins do you have activated? And also what theme? It could be coming from one of those?
November 25, 2015 at 2:17 pm #247176lifeisgood134
ParticipantHi,
That’s what I did, but it is still showing the error “Vendor registration is currently closed. if you have an existing account, you may log in and apply to become a vendor”. How do I fix this? I think the code is not completely removed from WordPress even when I delete BuddyPress in Plugins.
November 25, 2015 at 11:55 am #247168Henry Wright
ModeratorHow do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
You can just deactivate the plugin and remove the “Register” and “Activate” pages you created at Dashboard > Pages.
November 25, 2015 at 9:58 am #247167lifeisgood134
ParticipantHi, Any update on this? 🙁
How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
November 25, 2015 at 9:13 am #247166In reply to: Cannot activate Buddypress
doncobb
ParticipantI posted three times yesterday, and none of my posts showed up in the forum. Today an Administrator contacted me and said my posts got caught up in the cache. But then, someone deleted two of my posts and changed the header of the only existing post to “How to install WordPress”, which isn’t at ALL what my post said. It said “How to install Buddypress”.
Now, I’m reposting again because I cannot change the header BACK, on my own post, and suddenly it activates correctly. Now, I can’t delete THIS post for some reason. No “Delete” link anywhere, so it’s a useless, resolved post that I don’t want any answers to. FYI…
November 25, 2015 at 1:21 am #247164In reply to: Buddypress and Calypso?
Henry Wright
Moderator@ronia BuddyPress uses the admin area too 🙂
November 24, 2015 at 10:58 pm #247159In reply to: Strange links in Buddypress profiles
Henry Wright
ModeratorHi @koreancandy
Looking at the Name and Location profile fields, they’re also linked? To remove these links, check out the bp-custom.php article.
November 24, 2015 at 9:06 pm #247157In reply to: php fatal error $message->send()
Henry Wright
ModeratorIf I have no recipients I get a php error.
Are you sure the problem is you have no recipients?
Once
messages_control()returns, the following code is executed immediately:if ( empty( $this->recipients ) ) return false;This will ensure the message isn’t sent if you have no recipients.
November 24, 2015 at 7:52 pm #247152In reply to: Comments nor Posts in personal activity shows
r-a-y
KeymasterYou need to turn on Site Tracking.
Go to the WP admin dashboard and navigate to “Settings > BuddyPress > Components”.
Next, activate the “Site Tracking” component and test the filter. I believe the filters only take effect when posts are saved/edited, so you might not see any posts or comments recorded in the activity stream.
-
AuthorSearch Results