Search Results for 'theme'
-
AuthorSearch Results
-
March 1, 2016 at 7:02 pm #250438
In reply to: Compose Private Message Issue
shanebp
ModeratorFor private messages, auto-complete only shows your friends.
To access everyone, put this in your theme/functions.php or in plugins/bp-custom.php
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );March 1, 2016 at 2:19 pm #250425In reply to: delete Comments on all pages
Henry Wright
ModeratorCheck out the Template Hierarchy article. It will show you how to set up templates for BuddyPress. You can then remove the comment section and comment form from the page(s) you want.
March 1, 2016 at 12:01 pm #250421In reply to: Files guide
Henry Wright
ModeratorThe Template Hierarchy article is what you’re looking for.
February 29, 2016 at 3:26 pm #250399In reply to: No Twentysixteen Companion Styles
Hugo Ashmore
Participant@tranny I’m not sure I’m inderstanding the question or problem here, but if you want the styling for vert menu that would appear with no sidebars but do have sidebar in use you’re alternative option to the above solution provided by @airsid would be to ensure you have a copy of a primary temple i.e page.php moved to a bp folder in your child theme, in that you would use conditional checks around the get_sidebar() to remove it from loading on profile pages then copy the companion styles over and find the section for the navigation and where/how I select to show only if the class
.no-sidebaris printed on the body element by adding in:
body.no-sidebar, body.bp-user {}to all the rulesets that cover the navigation properties.
( I realise this is a not that straightforward though, and am puzzling whether we can write something better, but it’s a problematical area things like theme sidebars for BP and user account screens.)February 29, 2016 at 1:14 pm #250388In reply to: No Twentysixteen Companion Styles
airsid
ParticipantAre you saying I need to install a sidebar plugin to see changes to the theme?
Yes ! Have you try the solution I gave you ?
As explain by @hnla, Buddypress companion style works only when the buddypress pages have enough width, that’s mean no sidebar or an empty sidebar (no widget in it).
For twenty sixteen theme, when the regular sidebar is empty (no widget) the buddypress content still not use 100% width, it’s why companion style isn’t working even with the empty regular sidebar.So an easy solution is to create a new empty sidebar that will replace the regular theme sidebar.
To do that I used the Content Aware Sidebars plugin as discribe in my previous post.
Try to follow those steps
2) Install Content Aware Sidebars plugin
3) Create a sidebar then select Buddypress Members type and add all proposed subcategories. Set it as substitution to the regular sidebar and then save it. Do not add any widget in this sidebar.
4) Don’t forget to clear your browser cache.February 28, 2016 at 12:35 pm #250338miguelcortereal
ParticipantIssue solved.
It was a function at child theme filtering one of the xprofile fields.
Thanks a lot for your concern.
February 28, 2016 at 6:16 am #250335In reply to: No Twentysixteen Companion Styles
Tranny
ParticipantHelp me out – how do I implement BuddyPress styling into my Twenty Sixteen child theme?
February 27, 2016 at 11:57 am #250323In reply to: Redirect login after activation
Henry Wright
ModeratorTake a look at Theme My Login. That plugin has a redirection module which will help you do that.
February 27, 2016 at 6:05 am #250321In reply to: Blog creation at registration checked by defauld
webifydevs
ParticipantHi, you can add this
<script>document.getElementById("signup_with_blog").checked = true;</script>in the footer or header of your theme
February 26, 2016 at 11:12 pm #250317paddy33
Participant@djpaul @r-a-y Brilliant! I added theme support for BuddyPress and it worked π Thank you both so much for your help.
The only thing is, now that the template is loading properly, for some reason, the BuddyPress nav and subnav bar (which was looking as it should before) has now lost its styling. Is there something that needs to be done to get the theme’s custom styling back? I tried adding this
wp_dequeue_style( 'buddypress' );to the same function but it didn’t work.
@r-a-y “may I ask what URL you are attempting to load …” this is the URL i see in the browser – http://www.domain.dev/users/username/dashboard/“If this is a non-BuddyPress page …” as far as i can tell, it appears to be a BuddyPress page.
February 26, 2016 at 8:01 pm #250310shanebp
ModeratorYou mean the ‘Member Type’ fields?
It may be an issue with your theme.
Try switching momentarily to a WP like 2013 to confirm.February 26, 2016 at 7:57 pm #250309In reply to: Buddypress Legacy Files – Up-to-date?
shanebp
ModeratorBasically, the core uses these files for display:
buddypress\bp-templates\bp-legacy\If you want to change the display, you can overload those files and thereby avoid changing anything in the BP plugin folder.
February 26, 2016 at 5:31 pm #250305In reply to: Buddypress Legacy Files – Up-to-date?
shanebp
ModeratorThe current files re themes are here:
buddypress\bp-templates\bp-legacy\You should always use those when overloading to a theme or child theme.
The use of ‘legacy’ in the dir name is unfortunate and confusing, imo.
February 26, 2016 at 2:47 pm #250299newjerseydads
ParticipantAfter reading some of the general comments here, I loaded Twenty Thirteen as my theme and the issue persists.
February 26, 2016 at 11:11 am #250296cappy2
ParticipantI had the same problem. I could upload an cover image but got the warning “For better results, make sure to upload an image that is larger than 0px wide, and 225px tall. ”
After entering the following code in /wp-content/plugins/bp-custom.php i could i could upload the image. but it is still not showing.
function your_theme_xprofile_cover_image( $settings = array() ) { $settings['width'] = 640; $settings['height'] = 300; $settings['default_cover'] = '/wp-content/uploads/2014/12/blog_header_640x300.jpg'; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1 ); // for the members Cover Images add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1 ); // for the groups Cover ImagesTo test if i can show an cover image i did enter the following CSS code with Firebug and the cover image will show. Unfortunnaly not the one i uploaded π
#buddypress #header-cover-image height: 300px; width: 640px; background-image: url('/wp-content/uploads/2015/12/blog_header_640x300.jpg');I think i experience this problems because i’m using a child theme, but not sure for that.
See my post: Cover image in child themeFebruary 25, 2016 at 10:57 pm #250291paddy33
ParticipantHi Paul @djpaul.
#1 Yes, you’re right. If it’s a custom template that loads ok with BP 1.7.2 all the way up to 2.0.3, and only has an issue when updating to BP 2.1, is it safe to assume that it’s not anything in the custom template’s code that’s causing the problem? If not, i can dig into it and share anything that’ll help to solve this.
#2 “it doesnβt mean the templates were built with *that* version” – do you think it’s a strong possibility the code in the custom template may be culprit? I just took a quick look and it seems to be quite standard.
add_theme_support( ‘buddypress’ ) is only in these files:
> wp-content\plugins\buddypress\bp-core\bp-core-theme-compatibility.php:
> wp-content\plugins\buddypress\bp-themes\bp-default\functions.php:#3 “compare where its looking for a template vs. where the template actually is.” – The strange thing is that it works with BP 2.0.3 and only ‘breaks’ upon update to 2.1, and the template is sitting in the same place (child theme’s root) all the time. Appreciate any suggestions if you have them, as i’m out of ideas as a novice tinkerer.
February 25, 2016 at 8:56 pm #250290dave8528
ParticipantI came across this discussion here which may help to get answers to this question: https://buddypress.org/support/topic/editing-buddypress-core-files-within-the-childtheme/
February 25, 2016 at 7:48 pm #250288r-a-y
Keymaster@paddy33 – Try adding this line to your theme’s
functions.phpin your'after_setup_theme'hook.add_theme_support( 'buddypress' );This should bring back support to use
bp_core_load_template()in your theme. However, may I ask what URL you are attempting to loadbp_core_load_template( 'template-user-account' )on?If this is a non-BuddyPress page (eg.
example.com/dashboard), just useget_template_part()instead ofbp_core_load_template().February 25, 2016 at 10:55 am #250277In reply to: No Twentysixteen Companion Styles
Tranny
ParticipantAre you saying I need to install a sidebar plugin to see changes to the theme?
February 25, 2016 at 10:03 am #250276In reply to: No Twentysixteen Companion Styles
airsid
ParticipantHello,
@Tranny
1) Use Twentysixteen Theme
2) Install Content Aware Sidebars plugin
3) Create a sidebar then select Buddypress Members type and add all proposed subcategories. Then save the sidebar. Do not add any widget in this sidebar.You should be good π
February 25, 2016 at 9:49 am #250275Tranny
ParticipantI’m also interested in learning how to do child theme edits to BP pages that will survive BP updates.
February 25, 2016 at 9:29 am #250273In reply to: No Twentysixteen Companion Styles
Tranny
ParticipantI found that BP comes with changes which are suggested on that page already in the code. But the profile page does not look like on that page.
I am left in complete darkness. How can I modify profile pages to have that type of look? Can it be done with mods to the child theme, in order to preserve BP source files so I don’t lose the changes with the next BP update?
February 25, 2016 at 12:26 am #250265paddy33
ParticipantAfter rolling back to 1.7 and gradually updating each version, it appears it’s the update to 2.1 that’s the issue, as the templates are still loading fine with BP 2.0.3
Digging deeper, it seems that it’s the /plugins/buddypress/bp-core folder which causes the problem
Couldn’t track down the cause looking for clues in the changelog https://codex.buddypress.org/releases/version-2-1/
This line is a potential but i couldn’t understand the info from r8820 – “In bp_core_load_template(), only use locate_template for older bp-default themes (r8820)”
February 24, 2016 at 8:02 pm #250262In reply to: Activity Stream Not Loading/Displaying
aswain1
ParticipantHere are screenshots with the Twenty Fifteen theme. Deactivating all plugins (besides BuddyPress) does not affect how it appears.
I had to go to each URL directly in order to bring up the pages. The “Load More” button disappears after four clicks.
February 24, 2016 at 7:51 pm #250261cybmeta
ParticipantPlease, don’t be as silly as me.
If you find yourself having problems with BuddyPress, even with all plugins deactivated, remember to check if there is a bp-custom.php file in your plugins folder.
-
AuthorSearch Results