Search Results for 'theme'
-
AuthorSearch Results
-
October 11, 2016 at 7:40 am #259704
In reply to: cover-image missing when overloading CSS folder
danbp
ParticipantTry to forget the bp child css folder and simply add your custom rules to child/style.css
Just in case of, can you provide the /child/style.css header you use and the theme name ?October 11, 2016 at 7:37 am #259703In reply to: cover-image missing when overloading CSS folder
r083r7
ParticipantOn a related note do you use the same technique to the other files to edit the BP theme. I mean only copy the file you want to edit and only include the custom edits.
For example plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php
?
October 11, 2016 at 7:33 am #259700In reply to: General question for editing BP pages
danbp
Participant1) & 2) /activity controls the site activities, while /members/single/activity/ controls the members activity tab on profile.
3) plugins/buddypress/bp-templates/bp-legacy/ and plugins/buddypress/bp-templates/bp-themes/
/bp-legacy/ contains /buddypress/ the current version templates.
/bp-theme contains /bp-default/, the historical BP theme (since 2007). This theme is relatively frozen and remains just for backcompatibility, in case some vintage coders continue to use it.Since BP 1.9, you can use almost any existing WP theme, so far it is respecting wp theming standarts.
4) each component has a header. The respective files are in bp-legacy/buddypress/
/members/single/
/groups/single/
Here can find a list of functions/filters/hooks related to cover (bp 2.4.3)5) impossible to say, as it depends of the instructions ! Can you give a link ?
October 11, 2016 at 7:11 am #259698In reply to: cover-image missing when overloading CSS folder
danbp
ParticipantHi,
you add only custom css rules to /child/buddypress/css/buddypress.css
You don’t neeed to copy the whole original content to child. This avoid also to duplicate code.
Files contained in child have priority over theme.
In other terms what is not found in child (php, htlm, js, css) will be taken from the original source.
In some cases, when you create a custom css rule, you need to add!important, like this:
color: #000!important;By the way, you give high priority to the rule and you’re sure it is always interpreted.And of course, you need to triple check what you code. CSS rules with missing semicolon, or who aren’t closed can generate issues, from not be applied to blank pages…
October 10, 2016 at 9:39 pm #259688In reply to: Online Status
Julian
Participant@danbp Thank you for your help. I could not find a mistake in the translation. “% S” is used correctly everywhere. Any online status has not been translated (Not just “ago”), I downloaded the official version. It is about the page “Side-Wide – activity”. I have installed a Buddypress independent theme.
October 10, 2016 at 9:06 pm #259687In reply to: Online Status
danbp
ParticipantHi,
check the code you used for “16 minutes ago”. You will find it in the buddypress-de_DE.po file. Normally, you should have
%s ago -> vor %s. If you omit % or s, the string won’t be translated.If it’s not a typo error of yours:
– where is this untranslated “ago” string showing ? Site activity, profile, widget, other ?– do you use a specific “buddypress” theme ?
– does the issue remain when using the “official” translation file ? If not, download it here (po & mo). Don’t forget to remove your version before adding the original one into wp-content/languages/plugins/
October 10, 2016 at 8:32 pm #259686In reply to: Online Status
October 10, 2016 at 8:16 pm #259685In reply to: Online Status
Venutius
ModeratorHow about setting the theme to 2015? IF that fails then there must be something up with your basic WordPress install.
October 10, 2016 at 12:07 pm #259672In reply to: Resquesting about button in widget
danbp
ParticipantHi,
give details if you expect help !
Which widget are you talking about ?
“course” is not part of BuddyPress. Plugin name ? Theme ?October 10, 2016 at 11:50 am #259669danbp
Participant@r083r7,
glad you got it to work ! π
Not sure if it is a theory or simply how it works, but deactivating/reactivating (plugins, themes) will in most case recalculate the permalinks.October 10, 2016 at 9:47 am #259665r083r7
ParticipantI must be missing something basic.
Just to clarify this is the correct location:
wp-content>themes>genesis-sample>buddypress.phpgenesis-sample is the child theme by the way.
October 10, 2016 at 9:18 am #259664In reply to: Toolbar Bubble
Paul Wong-Gibbs
KeymasterNot via the UI. π But you can write some code! Add this to your functions.php file in your theme, it should work even if you add it on a newline at the very end of a file:
remove_action( 'admin_bar_menu', 'bp_members_admin_bar_notifications_menu', 90 );October 10, 2016 at 9:14 am #259663Paul Wong-Gibbs
Keymaster@r083r7 Hi. You’re right that BuddyPress loads page.php as its default page wrapper template. The list near the top of https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/ shows the entire template hierarchy. Adding a buddypress.php file to your theme should have it load that template.
This file should be in the root of your theme, or inside a subfolder called “buddypress”.
I forget how setting the page template in the wp-admin page editor works with BuddyPress (I think @hnla and I fixed it at a WordCamp a few years ago). But the stuff already mentioned will probably take precedence over it.
If this doesn’t work, I’m not sure.
October 10, 2016 at 6:42 am #259659r083r7
ParticipantOK fair enough. I did look through the BP codex regarding this and am still unclear what is the best and easiest path.
My site is basic and includes the Header, Content, and Footer. I am using Genesis theme and created another template where I make several adjustments to the Header and this template is called buddypress.php and I can select it when I’m in the backend and creating pages. I’m sure there are many paths but I was thinking that the easiest one is to simply have BP load the new template I created, for all BP pages. I’m pretty sure currently it is loading the themes template called “pages.php”
Please point me in the right direction, much appreciated.
October 8, 2016 at 4:28 pm #259622In reply to: [Resolved] Initial Setup Help
Venutius
ModeratorTry logging out and then viewing them from the frontend, they don’t display if you are already logged in, though I thought they just took you to the homepage.
Failing that I would try deactivating all plugins apart from BuddyPress to see if there is a conflict.
IF that does not help try changing the theme to 2015.
October 8, 2016 at 12:09 pm #259611Slava Abakumov
ModeratorHere is related Codex page.
You will need to change in your template something like this:<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>to this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>Check your theme
/buddypress/activity/activity-loop.phpfile. If you don’t have it, just copy this file (preserving directories structure) from
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.phpOctober 8, 2016 at 11:53 am #259608In reply to: Buddypress page settings inheritance
Venutius
ModeratorI’ve been told that BP does not work that way and has never worked that way, however when I first set up the site that’s exactly how it worked. I tried your suggestion, unfortunately that did not work.
I was also told to copy my three column layout file from the theme to /themes/buddypress.php but this did not work either.
October 8, 2016 at 11:00 am #259600Hugo Ashmore
ParticipantYou’ll probably need to be a little more specific as to what you have done and are looking to control. BP provides many paths to custom styling you can create a child theme and then copy various BP templates or the stylesheets to it to modify, or you can create a new buddypress.php template from the themes page.php and redefine the get_template calls for header or footer so new unique ones are called when BP screens are being shown.
The BP codex has all these details, have a hunt through the theme section and a read of the template hierarchy to learn how you can introduce new template parts.
But re-state what you’re trying to do in a little more detail as we may be able to give better suggestions on how to achieve.
October 6, 2016 at 9:17 pm #259555insearchofasolution
Participant@danbp thanks for the above, that’s exactly what I have done. I have only one child theme and this is where the issue was. After 3 days of frustration and searching all over the internet, I have found the issue, which actually is a little stupid lol I guess after updating the main theme, it activated itself automatically? So the actual child theme was not active! So it’s all working now. Thanks for the help!
October 6, 2016 at 8:14 pm #259553danbp
ParticipantHi,
by reading the first topic, it sounds like you try to use more than one child theme !
I already have activated my other child theme
If it is the case, it’s not the way to proceed. π
1) You should have only one child-theme activated.
2) in this child, you add a folder called buddypress.
3) if you need to modify some BP templates, you copy the original fromwp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/into the child BP folder.Example of what you should have:
wp-content/themes/XYZ theme
wp-content/themes/XYZ-child/Let’s say you want to modify BP’s register page.
wp-content/themes/XYZ-child/buddypress/members/register.php
or you want to modify the profile header template
wp-content/themes/XYZ-child/buddypress/members/single/member-header.phpAnd that’s it ! The only thing you have to do is to pick the right file and add it to the child by respecting the original path who starts at:
/buddypress/path/to/file.phpInside the template file, yo can manipulate html tags and find different action hooks (
do_action( 'something' );). Take care to not rename or remove the existing class/ID names whithout knowing what you do.In bp-custom.php, you can manipulate BP’s behave by adding custom functions.
In the child-theme style.css, you manipulate whatever related to your theme layout – for the entire site, including BP or other plugins.
And as all this is done via the child, anything will remain after any update of BuddyPress, your original theme, WordPress or plugins.
Reading actively the forum will bring you other answers, tips and tricks.
October 6, 2016 at 7:38 pm #259551insearchofasolution
ParticipantThanks @r-a-y. I need to do a little bit of both. I have tried to do it the way as in the article, unfortunately that doesn’t work for me. I do everything as described and tried it with and without placing add_theme_support( ‘buddypress’ ); in functions.php and nothing. I am using a child theme, can it have to do something with that?
If you are talking about code snippets, you can use your themeβs functions.php file or wp-content/plugins/bp-custom.php.
Thanks for the above!!
October 6, 2016 at 5:09 pm #259540In reply to: Registration page Font style and size
Slava Abakumov
ModeratorThe only option is to use CSS (in
style.css) in your child theme to modify that. Or some plugins, that give ability to apply styles without modifying files (Siteorigin CSS).#buddypress #register-page label { font-size:120%; }October 5, 2016 at 4:04 pm #259429In reply to: Can’t fill out registration form
jrwstevenson
ParticipantI am having the same issue. Could you tell me how you resolved it please.
May I also note that we are both using the The7 theme.
Thanks
JamesOctober 4, 2016 at 8:46 am #259388danbp
ParticipantIt is possible because it doesn’t exist and you never noticed his mention in many topics of this forum, and perhaps never read the codex. π
Read here please:
October 3, 2016 at 11:29 pm #259383In reply to: Open Source Theme: Surface
buddycore
ParticipantBumping this, for those looking to test drive BuddyPress with a custom theme and maybe take it a bit further and customize for core WordPress and BuddyPress features.
There is no support for BBPress in this theme at the moment, but if there are enough people wanting this I will bring it in the future.
-
AuthorSearch Results