Forum Replies Created
-
Thanks @r-a-y, it looks like you are on to something.
I use Autoptimize to compress html and css -but I have excluded javascript.
I tried to deactivate it and purged cache, but it still changed from Danish to English. – the ‘deferonload’ bit was still in the code.
Will dig more into this when I get the time.
Lars
I noticed this message when inspecting css :
http://historielaerer.dk/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.min.js’%20defer%20onload=’?ver=2.7.2
Failed to load resource: the server responded with a status of 404 (Not Found)+ 1 for this request.
Thanks for looking in to this.
@r-a-y , I would like to help, but I can’t locate ‘livestamp.js’ in the bp-core folder?Sorry, but I feel a bit noobish here…
Sorry, Danish.
Hi Snorklebum,
Thanks for sharing – can I see your page?
I would like to use a full-width template for group pages only.
Did you just upload a file named ‘full-width.php’ in you child theme with
<body <?php if ( !bp_is_blog_page() ) { body_class( โfull-widthโ ); } else { body_class(); } ?>>?How do you activate full-width for buddypress groups only – code says ‘blog_page’?
Thanks,
Lars
Sorry, I was not only impatient, but also wrong, it seems.
Plain text mentions and friendship mails are coming through wrapped nicely with WP Better Email.
This is a very easy way to translate and customize the mails by the way.
I see the same problem.
I am using WP Better Email as html wrapper.
Invitation mails from ‘invite anyone’ are going out, but the emails in the new ‘Email’ section of buddypress are not. (mentions, friending)
Thank you for your work and commitment with Buddypress..
Have a look at this https://buddypress.org/support/topic/whats-new-box-css-problem/
Works like a charm!
Thank you @shanebp!
Thanks for answering, @antipode – but I don’t understand how to modify the code? (Obviously, I am not very coding skilled…)
This is the function I am using from above:
function add_info_to_members_loop() { echo bp_get_member_profile_data( 'field=the field name here' ); } add_action( 'bp_directory_members_item', 'add_info_to_members_loop' );I would like the label to appear in members directory before the user’s profile field content, when the field is filled, if not there should be nothing.
Thank you for your time.
@henrywright, thank you for sharing this.
I am using your function #2 from above and it works.
I would like to put a label before the profile field content, though, like
(Label): (user content)
(The label should not appear in the directory, when the user has not filled in the field.. )
How do I modify your code to do that?
Thanks, @r-a-y, the fix works!
(copied the ‘raw’ code from Github, pasted it to a new file called ‘bp-activity-privacy.js’ and uploaded to /plugins/buddypress-activity-privacy/includes/js/ .)
Maybe the activity-privacy function could be merged into BP core If the privacy plugin is no longer maintained .. ?
Thanks again for answering !
Lars
Hi, thanks for answering.
At least and by default, in the whole white zone, right of the left black sidebar
You can see a group page here
On group pages only, I would like to skip the left vertical black menu bar, to get more space for group forum threads.
Thanks for digging, djsteveb. Keep us posted … ๐
Hi again – thanks for answering.
Goodreads Connect might be useful?
I will ask in the Goodreads developer forum.
Best, Lars
Confirmed, it works. Cache clearing, helps, sorry!
Thanks, Ray – but that didn’t quite do it for me. I think the avatars sizes have been increased with 2.2.?
Thank you to the developers for keeping Buddypress alive.
I have the same problem.
Thanks Shanebp and danbp – this worked for me, you guys rock!
This finally translated ‘Groups’ and ‘Members’ on my site as well with just two more ‘cases’ in the code:
function example_gettext_with_context( $translated, $text, $context, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $text ) { case 'Site-Wide Activity': return 'Historikeraktivitet'; case 'Groups': return 'Arbejdsgrupper'; case 'Members': return 'Medlemmer'; default: return $translated; } return $translated; } add_filter( 'gettext_with_context', 'example_gettext_with_context', 11, 4 );Hi, thanks for answering.
WP Engine takes care of my caching – maybe I should ask them…
Above the buddypress menu it looks OK. But
field texts below the buddypress menu appear twice.Hi @danbp, thanks for answering.
OK, this is embarassing: I checked again and the forum was not set as private.
and voila : A post in a private forum does not show up in public activity stream.
Sorry about that one. ๐
Sorry, @danbp, will do next time.
Buddypress Activity Privacy might work . I will give it a go.
Hi @henrywright
Thanks, finding the right file and the right path helped ๐
I use this on my site now:
<div id="item-header-content"> <p> Skole: <?php $data = bp_get_member_profile_data( 'field=Skole' ); if( $data != '' ) echo $data; ?><br/> Yndlingshistoriker: <?php $data = bp_get_member_profile_data( 'field=yndlingshistoriker' ); if( $data != '' ) echo $data; ?></p>