is the child theme folder in the wp-content/themes/ folder as it’s described in the codex entry?
is there anything else to do as far as pointing things in the right direction other than building the new style.css file in the child directory?
i’m trying to modify the various boxes and windows for the buddypress features so to start I did this but when I save it and then reload the page nothing is happening. Thank you.
/*
Theme Name: BuddyPress_GSN
Theme URI: http://www.giantscalenews.com/wp-content/themes/Buddypress_Child_GSN/
Description: GSN BuddyPress Child Theme
Version: 2.1.1
Author: Bart
Author URI: http://www.giantscalenews.com
Template: buddypress
Tags: buddypress
*/
div.item-list-tabs ul li.current a,
div.item-list-tabs ul li.selected a {
background-color: #FFF;
color: #000;
font-weight: 700;
border-radius: 0px 0px 3px 3px;
}
I’d like to hide the entire BP menu (Profile, Notifications, etc.) and just show the BP content on a couple BP pages (such as Followers and Following). Is this possible? Thanks.
Your child theme should simply be the required stylesheet naming the main theme as template: the themes name’ picking up your themes styles if necessary – hopefully they are enqueued so will load up via the themes function.php file.
Now if you want to change any buddypress styles create a folder in child theme top level ‘buddypress/ in that a folder named /css/ so we have ‘buddypress/css/ in that css folder copy buddypress.css; now you have a full copy of the bp styles and BP will automagically find that file and use it instead of it’s original copy, you can now edit anything you care to in that file.
@dreammyw0w:
I also need help with restyling my register-page…
Can anyone tell me where to start?
1st:
Restyle you can it via a WordPress-Plugin like ‘Simple Custom CSS’ or the style.css within your child-theme-folder:
https://codex.wordpress.org/Child_Themes
Helpful is as well a plugin like Firebug for Firefox.
2nd:
For reshaping the content as well you have to deal with the wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php
3rd:
Regarding further questions it would be helpful, if you would describe precisely, what you want to change:
Post a link to your blog and a jpg-file (modified screenshot), where is high-lighted, what you want to change.
A less elegant, but working solution regarding locations within states you can find on my registration page (section: ‘Profile Details – Teil III: Geographisches’):
http://1a-spielwiese.de/registrieren/
You can ask at first:
- In which state (USA or UK?) do you live?
and then:
- In which US-federal state respec. in which UK-county to you live?
- and finally you can introduce the names of the federal states of the USA with ‘US-‘ and the names of the counties of the United Kingdom with ‘UK-‘.
(You can ask this questions within the ‘base group’ of your xProfile fields – then they get displayed on your registration page automatically. Or you can make your further xProfile fields displayed on your registration page as well:
https://buddypress.org/support/topic/reshaping-the-registration-page/#post-203615 [section 2nd].)
Yes, there should be a way, but I was not able to follow the instructions / to realise that way.
The basic idea is:
- Create two (or more) new WordPress user roles, e.g.: Users-UK and Users-USA.
- Then you can assign one xProfile-field, ‘In which [federal] state do you live?’, exclusively to your users with the user role Users-USA; and another x-Profile, ‘In which county do you live?’, to your users with the user role Users-UK.
—
The instructions for that solution you find there:
https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/
(The user roles there are ‘bands’ and ‘fans’).
And my report about my attempt to apply that instructions you find there:
https://buddypress.org/support/topic/different-profile-types-and-different-user-roles-part-ii/
My user roles are (sport) ‘teams’ and ‘fans’.
—
But unfortunately, I was not able to hinder, that ‘fans’ get displayed the questions (xProfile-fields) for ‘teams’ was well; and the ‘teams’ the questions for ‘fans’…
—
Further problem:
Even if there is a solution regarding later profile edits – even complicate seems to be, to make already the registration page “input senstive”, because during registration the new user isn’t yet registered (i.e.: has no user role yet).
Cfr. there:
http://forum.wpde.org/buddypress/133961-registrierungsseite-umgestalten-anleitung-und-fragen.html (section 4. – unfortunately in German).
@barchiola:
You have to insert just that changes (i.e.: new style-definitions), which you want to make.
E.g.: I intended to change the background color of my BuddyPress-menus. Therefore I inserted into my style.css, which is placed within my child-theme-folder:
#buddypress div.item-list-tabs {
background: #008080
}
#buddypress div.item-list-tabs#subnav ul li {
background: #DCDCDC
}
Doing that, the original background-color transparent is substituted – in the first case – by #008080 and in the second case by #DCDCDC.
The result you can see there:
http://1a-spielwiese.de/neuigkeiten/
In the corresponding way I inserted the #008080-borders.
I’ve been posting a lot today as I’ve been trying to make it possible to make BuddyPress style edits. I’m following the Child Theme directions and using google to try and fill in the blanks but I’m wondering if I’m not wasting my time reading about Child Themes.
We have a Theme, it’s ClassiPress and what I’m doing seems to want to override the ClassiPress theme.
Can someone maybe explain the difference between making a Child BuddyPress Theme and just making it possible to modify select parts of the BuddyPress Plugin?
Thanks,
Bart
here’s a question, we already have a them and we’re also running an additional forum plugin. so right off the bat we have ClassiPress and SimplePress. It appears that what I’m following here is to make BuddyPress the site’s overall theme which isn’t the case. I just want to be able to edit the .css elelments that BuddyPress is calling on for forms and windows that are exclusive to buddypress on the site.
I’ve fixed a couple of things so far, I’ve made the style.css file from a blank document following the directions more closely. I’ve also copied all of the contents of the default BP theme into my child theme folder.
WordPress is recognizing the child theme in my Appearance>>Themes window of the WP Dashboard but it’s attempting to override the ClassiPress Child Theme that we have.
Is any of this understandable? I feel like I”m getting close, any help would be appreciated to make this plugin work correctly for us.
Thanks,
Bart
I have installed buddypress.2.1.1, but there is option seen for ‘Buddypress’ below the ‘dashboard’.
Also, I would like to know, whether BuddyPress can be used in background. ( means proving specific URL to group of users to access and the main site will work as it is. )
Please guide.
WP – 3.9.2
BP – 2.1
Hi,
I was following Sarah Gooding tutorial on how to Create A Custom BuddyPress Members Directory and it worked pretty fine. However, when I am in user’s account and click on Friends tab, the avatars are still square. Is there a way to reduce them and make them circular just the way the are displayed on main Members page?
this whole thing is confusing. if BuddyPress is trying to get rid of the default theme why am i trying to make a child version of it? also, what are my options going forward if ClassiPress doesn’t do the compatibility thing that BP is working towards?
First of all, thanks for the informative replies Hugo.
I’m following the directions here
https://codex.buddypress.org/themes/building-a-buddypress-child-theme/
I made a new directory in wp-content/themes/ and called it BuddyPress_Child_GSN
into that directory I copied buddypress.css and entered the information at the top of the file as directed but changed it for our site (www.giantscalenews.com….
/*
Theme Name: BuddyPress_GSN
Theme URI: http://www.giantscalenews.com/wp-content/themes/BuddyPress_Child_GSN/
Description: GSN Compatible theme for BuddyPress.
Version: 1.0
Author: Bart
Author URI: http://www.giantscalenews.com/
Template: bp-default
Tags: buddypress, GSN
*/
changed it back to buddypress.css and i’ll keep reading the directions to get things pointed in the right direction.
No! Essentially the principle in overloading (copying templates) is one of replicating the name of the core file and ensuring the file is located in a directory that matches to the core one.
So we create a directory named either ‘buddypress’, or ‘community’ in our theme or child theme then anything that lives within the bp core directory /bp-legacy/’ we replicate over creating sub directories of same name, we copy over only the files we want to edit so buddypress.css gets copied over to /buddypress/css/.
bp-legacy directory is the only name we change transposing that name to ‘buddypress/ or ‘community’ thereafter follow what ever structure you see under bp-legacy in your theme.
in looking at the documentation and the variety of .ccs files in the BP subfolder, do I copy the buddypress.css file to my child theme folder and then rename it style.css?
The functionality is available but I think it may work only for a member’s ‘friends’ by default. Take a look at this thread by @r-a-y which discusses how to make the feature work for all users.
Note: The thread is 4 years old but I assume the code still works.
@tomatillo
bp_is_activity_component, bp_is_members_component, bp_is_profile_component, etc.
Reference:
Template Tag Reference
I making all the sort pages look the same, but I have found that when sorting alphabetically, the avatar image doesn’t show.
In my members-loop, I already have:
<?php bp_group_member_avatar_thumb(); ?>
Is there something else I should be doing?
I’m running:
Wordpress 4.0
Buddypress 2.1.1
@mugwumpman,
you already reported around this in the past, but apparently you didn’t follow the answers. 😉
https://buddypress.trac.wordpress.org/ticket/5182
Open a new ticket if you cinsider there is something incorrect with cropping.
I want to create a custom PHP function to run only on BuddyPress “Following” and “Followers” pages (created with this plugin: https://wordpress.org/plugins/buddypress-followers/).
In WordPress, I would use the is_page function (http://codex.wordpress.org/Function_Reference/is_page). Is there something similar in BuddyPress to check if the visitor is on a certain BP page?
Thanks.
Hi @spymasterhugh009
Check out the links on the left-hand side of the Getting Started page.
It’s the best place to start when learning BuddyPress. Good luck!
hi junior 😉 @spymasterhugh009
i changed your topic title to something more accurate, because “Help” isn’t a support forum subject.
For basic start question, please read the Codex.
Getting Started
Configure BuddyPress
Register and Activation Pages
Good luck with BuddyPress.
If you mean “comments” as in “comments on a blog post”, that’s obviously part of WordPress. That will definitely scale fine.
If you meant “comments or replies on activity stream items, or status updates”, that’s BuddyPress. This should scale just fine, too.
This assumes your server(s) configuration is optimal, and that you haven’t got any slow code running in other plugins/custom code, or in your theme. I/we can’t really help you with that here — running a performant server(s) for WordPress is outside the scope of providing BuddyPress supports.
The only piece of hosting advice that I’d recommend for any WordPress-powered site, but especially larger sites, is to make sure you’re using an object cache, such as memcached.
Sorry to hear that you’ve had a bad first experience with BuddyPress. We’re always working to make it better.