Forum Replies Created
-
In reply to: Remove Everything Gravatar
WordPress use Gravatar like BuddyPress.
When BP is activated, it let’s you manage your avatar from the profile.WP is using get_avatar and BP substitute it with his own code for internal purpose.
Bp-avatar-suggestion let the site admin add an avatar bunch of pictures where users can choose from instead of uploading their own image. And yes, all avatars (wp/bp) are concerned, even if in fact it is the same thing.
FYI the ‘white figure on grey background’ is called Mystery Man in WP jargon. 😉
Also, Gravatar is an external service and on some config, this can slow down a site. Nothing new, it’s the case for any external service (js, font, cloud, social share, etc)
By using the define, you deactivate the call to external gravatar service, and BP fires a local copy of the mystery man. Deactivating Gravatar will also deprive the people who use the service to get their usual picture on your site. It’s not an innocent decision.
Be aware also that the empty option (in wp default avatar setting) is a blank image (and not an empty space), which is also fired by Gravatar.
World isn’t perfect. 😉
In reply to: Some basic Questions before installing BuddyPress.@mcuk ‘s answer is valid, as you can make an opinion about BuddPress features. But you want answers. OK.
1) yes and no
2) yes
3) no
4) yes
5) yesWhat is your complaining users role on forums ?
Deactivate bbPress, resave your permalinks (should be other than default), reactivate and relaunch the repair tool.Just in case, allow comments should stay unchecked on all BP pages. Use quick edit to see this.
On the forum admin view all list, you should have one forum name starting with a letter and all other (group)forums should start by – name
Sructure is like
page
– sub pageIn reply to: Change slug without touching core files?No such an error on my side.
Activate a Twenty something theme and see if it remains.In reply to: WP plug in Countries for BPplugin is outdated and a support question about how to use it with buddypress is… unanswered.
In the early stage of BuddyPress, countries where included to Core and finally removed around 1.1Honestly, you have 3 options:
1) wasting time&money to code a plugin or tweaking BuddyPress and a third party plugin (long option).
2) let the user enter his country when asked for (short option).
3) do nothing (optionnal option)or you can read from here:
https://buddypress.org/support/topic/list-of-countrystatecity/In reply to: Change slug without touching core files?- a slug is a human friendly URL. (as of your topic title)
- a tab name or a menu item is just a name, on which applies an URL. (as of your given example)
This means that your tab or menu can be written Cow-Boy and his URL can can be completely different, for example your-site/members/mcuk/amigos/
For consistancy and SEO logic, most prefer the same wording for both.
Related to “friends”, open bp-friends/bp-friends-loader.php and see how it works.You will discover that
// Define a slug, if necessary if ( !defined( 'BP_FRIENDS_SLUG' ) ) define( 'BP_FRIENDS_SLUG', $this->id );is not deprecated.
In other words, to change the slug, you can use from within bp-custom.php
define ( ‘BP_FRIENDS_SLUG’, ‘whatever’ ); whatever should be exclusively alpha numeric, lower case, without any special character or ponctuation.To modify tabs and menu items, simply use the language file.
In reply to: Move member search barSearch your theme documentation about CSS modification and how to use a child-theme.
From within the child, you can then modify CSS without loosing your changes after a theme or a BP update.
Read also BuddyPress documentation:
In reply to: how to add language in buddypress?there is no result
that’s because you use a wrong file name.
The language file must be named “buddypress-zn_cn.mo”If WP site language is set to chinese (general > settings if on a single install), buddypress will aotomagically upload the avaible chinese translation.
Search also this forum if you need more information, they’re many topics related to translation.
Thank you for the information.
BP dev’s already handled this issue.Latest updates avaible:
WordPress 4.2 & BuddyPress 2.2.3.1 & bbPress 2.5.7As usual, you’re invited to update your install as soon a security version is avaible.
In reply to: how to add language in buddypress?you can translate online from here:
https://translate.wordpress.org/projects/buddypress/2.2.xBP zn_CN is translated to 46%, Ukrainian is actually not translated.
You can contact the chinese team here
and the ukrainian hereHenry already provided you other information you have to read now.
what happens probably is an ajax issue, due to some missing or old class and/or ID names.
Compare at first your (custom or third party) theme page.php with the one coming with Twenty theme. Compare also js versions of your custom theme to Twenty’s one…
Difficult to say from here. 😉do you have a page called groups in your page admin and is this page showing on BP settings page tab ? Have you pretty permalinks activated ?
If page exist, which is the slug you see ?
If you have several trashed pages, specially if some related to groups, clear the trash definetly.Handling with themes is much more easy today as a few years back. Many things have been modified and as you probably know, BP is now theme independant, under condition you use a theme respecting WP standarts.
All theme files related to BP are now in bp-templates/bp-legacy/buddypress.
See Codex for more details about how to use it.
In reply to: [Resolved] No Registration Page visibleHi,
i suppose you know the word none ?
You must create those pages. 😉
Codex is your friend:
Deactivate all plugins except BuddyPress & bbPress and test with 2013.
In reply to: Relationships?In reply to: Remove Everything GravatarYou can use that filter, which was introduced by BP 1.7
See also
https://wordpress.org/plugins/bp-avatar-suggestions/ (members+groups)
https://wordpress.org/plugins/bp-blog-avatar/ (network)FYI, so things be clear for every case.
Henry’s snippet works only for upcoming new_member.
The other snippet hides new and existing new_member.What is your theme and which plugins do you use ?
Have you already tried with 2015 theme ?In reply to: [Resolved] No Registration Page visibleDoes the page exist ? See BP settings.
And if exist, this page sould be empty, without any template or parent page.
You have also to test with one of Twenty theme if you use a third party theme.In reply to: Forums not showing for hidden groupPlease don’t double post.
If you activated Groups in BP, you assigned also a page to the group component.
If you use bbPress, you have to create a group form.
dashboard > forum > new forum and call it group forum.
In the right column, there is a setting box for forum type. Assign category.In forum settings, check activate group forums for BP and choose group forum parent page.
Now on front-end create a group and follow the steps. Make it hidden or whatever. Save after each step.
Allow group forum. And save. Now the tricky part.
You have to resave this step, because BP registers first the group. As now forum is active, you have to select the newly create group name in the select box above the option yes, i want a group forum.
For already existing groups, it the same thing to do. The forum tab is existing, but nothing shows on it because of this.
Go to group settings, and select the group name and save.In brief, you create the forum, save, assign the group name to the forum and re-save.
This was already explained to you on another topic and is also explained on the mentionned codex page.
Topic closed and discussion continue there.
In reply to: Members page and my themeCheck your div’s !
Or better, faster and much easier for you if you aren’t a CSS guru, use an existing WP theme.We can’t assist you if you use third party premium tools or themes.
https://buddypress.org/support/topic/when-asking-for-support-2/hi @henrywright. Oooooooooooups ! No pasaran. 😉
try this (add to child-theme functions.php or bp-custm.php) :
function swa_remove_new_member_activity( $a, $activities ) { //allow site admin to see if ( is_site_admin() ) return $activities; foreach ( $activities->activities as $key => $activity ) { // activity type name is new_member if ( $activity->type =='new_member') { unset( $activities->activities[$key] ); // recalculate activity items for pagination $activities->activity_count = $activities->activity_count-1; $activities->total_activity_count = $activities->total_activity_count-1; $activities->pag_num = $activities->pag_num -1; } } // Renumber the array keys to account for missing items $activities_new = array_values( $activities->activities ); $activities->activities = $activities_new; // output return $activities; } add_action('bp_has_activities','swa_remove_new_member_activity', 10, 2 );@bewitchingfiction, @caniwigirl,
have you read group forum install instruction ?
Note also that for hidden group
Only users who are invited can join the group.
This group will not be listed in the groups directory or search results.
Group content and activity will only be visible to members of the group.Members who are part of such a group can see their group activity on their profile, when they’re logged-in.
On a correctly installed BP, user can access to hidden group forums via the profile, the group activity itself or the group forum.
This how BP handles members and how bbPress is built. And has nothing to do with a standard coded theme.
If you don’t believe, try by activating one of Twenty default theme.In reply to: Login redirect not excluding adminTry
if ( !is_super_admin( $current_user_id))Or use the WP filter
function hide_my_admin_bar() { // by user role if ( current_user_can( 'manage_settings' ) ) { return true; // Show for admins } else { return false; // Hide for other users } } add_filter( 'show_admin_bar', 'hide_my_admin_bar' );In reply to: Where is the members page’s search box source code?if you want to remove the boxes, use (in bp-custom.php)
function bpfr_remove_search_forms( $search_form_html ){ return ''; } add_filter( 'bp_directory_members_search_form', 'bpfr_remove_search_forms' ); add_filter( 'bp_directory_groups_search_form', 'bpfr_remove_search_forms' );In reply to: Where is the members page’s search box source code?hi @batufan,
bp-templates/bp-legacy/buddypress/groups/index.php:10
bp-templates/bp-legacy/buddypress/members/index.php:10Functions are
bp_directory_groups_search_form&bp_directory_members_search_formRespectively in bp-groups/bp-groups-template.php & bp-members/bp-members-template.php