Search Results for 'buddypress'
-
AuthorSearch Results
-
October 9, 2014 at 8:12 am #207557
In reply to: pagination count and links don't work.
danbp
Participantbuddypress comes without theme. BP Default is the old theming method used before 1.7/1.9 and bp-legacy is the template system needed by BP to show his stuff. This part is more or less used (depending the project) to work together with almost any theme.
2013 or 2014 are the themes coming by default with WordPress (it’s easier to write 2014 than Twenty Fourteen)…. These themes are known to work with BuddyPress, and that’s why you constantly see on this forum some advice to activate one of them for debugging.
Hueman is a free responsive wordpress theme, with several internal settings which are, for the most of them, deactivated out of the box. If you never worked with such sort of theme, it can be a little complicated to get it to work right with BuddyPress.
If you use a child-theme, read attentively the theme and BP documentation about child theming, you probably missed something. I use it on a test site and have no counting issues.
If the issue still remain, you have to follow the usual debug cycle: deactivate all your plugins except BP and track the culprit.
And if you use some custom code in functions.php or /plugins/bp-custom.php, remove them, so you can test your install without any external influence. Pure WP+BP code only while debugging ! 😉
October 9, 2014 at 7:08 am #207553In reply to: Trying to understand Child Themes vs. Plugins
1a-spielwiese
Participant1st:
is the child theme folder in the wp-content/themes/ folder
The child-theme folder is, were you have placed it.
The child-theme folder should be on the same level of your folder-structure as your parent-theme (“comprehensive theme”)-folder.
E.g.:
- I have a folder wp-content/themes/reddle – for my parent theme
- and a folder wp-contentent/themees/reddle-child – for my child.theme
2nd:
Theme Name: BuddyPress_GSN
Template: buddypress
I don’t know, whether it should work your way as well, but I do not refer on the BuddyPress-theme, rather on my WordPress-parent-theme – so, in my case the style.css of my child-theme beginns with:
/* Theme Name: Reddle Child Template: reddle */3rd:
You have to connect child- and parent-theme – in my case it is (as next line of my style.css) on the one hand:
@import url("../reddle/style.css");And on the other hand you need a functions.php within your child-theme-folder as well. In my case it starts with:
<?php
/** * Enqueue stylesheet */ function reddle_child_theme_stylesheet() { wp_enqueue_style( 'reddle-child-themestyle', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'reddle_child_theme_stylesheet' );4th:
Finally you have to activate your child-theme. You do this within the admin panel of your WordPress-installation:
http://1a-spielwiese.de/wp-admin/themes.php
In the case, that you have installed WordPress MultiSite, you have to activate it on the network level as well:
http://1a-spielwiese.de/wp-admin/network/themes.php
Cfr.: https://buddypress.org/support/topic/buddypress-2-1-bp-language/page/2/#post-200308 (section 2nd).
5th:
I don’t know, whether it is state of the art – anyway it works for me:
I insert as well my changes regarding my WordPress parent-theme as well as my changes regarding BuddyPress into my
wp-content/themes/reddle-child/style.css.Further reading:
https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme
October 9, 2014 at 6:09 am #207552In reply to: pagination count and links don't work.
shpitzyl
ParticipantI’m not sure what people here are referring to when talking about the 2014 theme.
I’m using hueman theme. I tried to test it with the themes that come with wordpress by default and the issue remained. Also tested it with the theme that comes with buddypress (this is 2013 theme right?).
I wonder if anyone else has that issue.
October 9, 2014 at 3:22 am #207551In reply to: Trying to understand Child Themes vs. Plugins
barchiola
Participanti’ve made a few changes but still nothing
/*
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
*/
#buddypress div.item-list-tabs ul li.selected a,
#buddypress div.item-list-tabs ul li.current a {
background-color: #eee;
color: #555;
font-weight: bold;
border-radius: 0px, 0px, 4px, 4px;
}October 9, 2014 at 1:30 am #207548In reply to: Trying to understand Child Themes vs. Plugins
barchiola
Participantis 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;
}October 8, 2014 at 10:23 pm #207119In reply to: Modifying buddypress.min.css
Hugo Ashmore
ParticipantYour 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.
October 8, 2014 at 9:44 pm #207116In reply to: Reshaping the registration page
1a-spielwiese
ParticipantI 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.csswithin 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.php3rd:
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.
October 8, 2014 at 9:22 pm #207115In reply to: Profile fields for locations within a country
1a-spielwiese
ParticipantA 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?
- 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-‘.
and then:
(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].)
October 8, 2014 at 9:00 pm #207114In reply to: Profile fields for locations within a country
1a-spielwiese
ParticipantYes, 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).
October 8, 2014 at 7:56 pm #207002In reply to: Trying to understand Child Themes vs. Plugins
1a-spielwiese
ParticipantYou 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
transparentis substituted – in the first case – by#008080and 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.
October 8, 2014 at 6:39 pm #206822In reply to: Modifying buddypress.min.css
barchiola
Participanthere’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,
BartOctober 8, 2014 at 5:53 pm #206817In reply to: Modifying buddypress.min.css
barchiola
Participantthis 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?
October 8, 2014 at 5:38 pm #206815In reply to: Modifying buddypress.min.css
barchiola
ParticipantFirst 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.
October 8, 2014 at 5:25 pm #206813In reply to: Modifying buddypress.min.css
Hugo Ashmore
ParticipantNo! 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.
October 8, 2014 at 5:04 pm #206811In reply to: Modifying buddypress.min.css
barchiola
Participantin 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?
October 8, 2014 at 4:49 pm #206810In reply to: Username Dropdown List
Henry Wright
ModeratorOctober 8, 2014 at 3:09 pm #206313In reply to: [Resolved] PHP for BuddyPress pages?
danbp
ParticipantYou can check if the component is active or if a plugin exist
http://phpxref.ftwr.co.uk/buddypress/_functions/bp_is_active.html
October 8, 2014 at 2:59 pm #206312In reply to: [Resolved] PHP for BuddyPress pages?
bp-help
Participant@tomatillo
bp_is_activity_component, bp_is_members_component, bp_is_profile_component, etc.
Reference:October 8, 2014 at 2:53 pm #206309In reply to: Avatar resize not working
danbp
Participantyou 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.
October 8, 2014 at 2:41 pm #206305In reply to: Setup members and groups
Henry Wright
ModeratorCheck 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!
October 8, 2014 at 2:41 pm #206304In reply to: Setup members and groups
danbp
Participanthi 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.
Good luck with BuddyPress.
October 8, 2014 at 2:29 pm #206298In reply to: Can WP & BP handle 1000+comments per day?
Paul Wong-Gibbs
KeymasterIf 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.
October 8, 2014 at 2:20 pm #206296In reply to: Just installed Buddypress 2.1.1. No clue
Paul Wong-Gibbs
KeymasterSorry to hear that you’ve had a bad first experience with BuddyPress. We’re always working to make it better.
October 8, 2014 at 1:26 pm #206290danbp
ParticipantTo make a field uneditable, you can remove it from the edit page of each profile.
You just have to enter the file ID, separated by coma if necessary to hide more than one.Add snippet to child-theme functions.php or bp-custom.php
function bpfr_make_profile_field_uneditable( $retval ) { if( is_user_logged_in() && bp_is_profile_edit() ) { $retval['exclude_fields'] = '20,21,22'; // field id's } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_profile_field_uneditable' );Reference:
October 8, 2014 at 1:06 pm #206287In reply to: Username Dropdown List
barchiola
Participantit’s not a SimplePress issue, it’s a BuddyPress issue. I’m asking if there is a plugin for BuddyPress to add this functionality to the BUDDYPRESS PM system.
-
AuthorSearch Results