-
shanebp replied to the topic Activity time in the forum How-to & Troubleshooting 11 years, 7 months ago
Yes, it’s a bug that has resisted being definitely found since… a long time.
BP uses GMT to store timestamps and is supposed to apply a filter to factor in WP time settings, but in some installs it does not work.
You’re in the PST time zone?
Try pasting this in /plugins/bp-custom.php
https://gist.github.com/shanebp/5497723It…[Read more]
-
danbpfr replied to the topic Activity time in the forum How-to & Troubleshooting 11 years, 7 months ago
@fernon,
be more specific please !
i’ve seen in other topics that this is a bug in Buddypress. URL ?Problem can be theme related. Which theme do you use ?
There’re only few tickets about timestamp bugs.
https://buddypress.trac.wordpress.org/search?changeset=on&milestone=on&ticket=on&wiki=on&q=activity+timestamp&page=1&noquickjump=1
One of t…[Read more] -
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 8 months ago
try this
if (bp_is_my_profile( $userid )):
bp_core_new_nav_item(array(bla bla code
) );
endif; -
danbpfr replied to the topic Translation Problem file in the forum How-to & Troubleshooting 11 years, 8 months ago
again:
Probably because you don’t the right thing to translate.
You edit with which tool ?Give a name please….
There are several tools and i have no time to loose to search about basic infos YOU can provide.
Anyway i wouldn’t trust online translation plugins. Preferably use poEdit on local and transfer your po/mo by F…[Read more] -
danbpfr replied to the topic Translation Problem file in the forum How-to & Troubleshooting 11 years, 8 months ago
buddypress-nl_NL.mo must be in wp-content/languages
Po file is for translating. It’s a working file.
Mo file is for translation throught php gettext. Only the mo is mandatory, not the po or the pot
Once you finish the translation of a po file, you need to compile it to mo format with poEdit. (or equivalent tool) -
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 8 months ago
sorry there is a little error in my code !
replace ‘css_id’ => ‘notif’,
by ‘item_css_id’ => ‘notif’,css test to use in child theme styles.css
li#notif-personal-li {
font-weight: bold!important;
} -
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 8 months ago
as is, no, it doesn’t work. 😉
you have to learn a bit on your own. Geting a style element ID is ALWAYS written in the page source code, not absolutly in the function.
-
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 8 months ago
-
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 8 months ago
here a better code for doing what you need. Code is commented, so i hope you understand how it works
http://bp-fr.net/BuddyBin/?92674aed1b1c6efc#cEK0nMFiknQS0ozXwkKTOGqANlnGLuQdDIsxLi3cr7E=
-
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 9 months ago
notifications menu item is subnav dependant and a bit complicated to set.
Anyway, here are 2 functions to make this work a little better as your function.
One removes the setting page to avoid the […] -
danbpfr replied to the topic [Resolved] Profile settings url in the forum Creating & Extending 11 years, 9 months ago
add this to bp-custom.php /plugins/bp-custom.php (i you don’t such file you have to create it first)
define(
'BP_SETTINGS_SLUG'
,
'settings'
);
//Change "settings" to what you want.
You can […]
@fernon
Active 6 years, 11 months ago