Hi,
sorry, but you found the culprit: it’s your actual theme.
As you said, then I changed the theme to TwentySixteen and all worked fine and you reverted to Enigma and, bam, no gallery slider on the activity page.
Check theme’s settings, and eventually your js console for some errors.
Try the 2nd one first.
Put it in your theme/functions.php or in bp-custom.php – a file you may need to create.
Hi Henry Wright
Other problem.
How to translate word: I am a to other languge?
//members page fields
add_action('after_setup_theme','kleo_my_member_data');
function kleo_my_member_data()
{
global $kleo_config;
//this is the details field, right now it take the "About me" field content
$kleo_config['bp_members_details_field'] = 'About me';
//this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
$kleo_config['bp_members_loop_meta'] = array(
'I am a',
);
}
Hi,
you need to use bbpress.po translation file, even if your site is in default english language.
Or if you only want to modify one word, you can use this snippet from inside your child-theme’s functions.php (will also work in bp-custom.php)
function bruce_change_name( $translated, $original_text, $domain ) {
if ( 'bbpress' !== $domain )
return $translated;
switch ( $original_text ) {
case 'Forums': // original word
return 'Four Rhum'; // your custom word
default:
return $translated;
}
}
add_filter( 'gettext', 'bruce_change_name', 10, 3 );
WP reference: https://developer.wordpress.org/reference/hooks/gettext/
The first one refers to bbPress.
And can be difficult to track down. It may be in the bbPress plugin or another plugin that calls bPress .
2. Something, not BuddyPress, is creating a Widget using a deprecated constructor method.
3. Is related to a JetPack module.
The first step to getting rid of those Notices is identifying the source, so:
– switch momentarily to a WP theme like 2013 and see if any persist
– turn off plugins one at a time and see if any persist
Time consuming…
Hi @bertl11, I suspect we were having similar issues. Try deleting the @ in the cover-image-header.php file instead of member-header.php because that worked for me. I have cover images turned on, I’m curious if you do too.
https://buddypress.org/support/topic/cannot-edit-theme-files/#post-248637
Hope that solves your issue!
Cheers,
Tim
I figured my issue out, it was with a plugin “Mojo Under Construction”
When I deactivated it I was able to upload through other roles other than admin.
some quick advice for anyone who finds their way to this thread..
- bp-custom.php – check to see that you don’t have any avatar related stuff in here
- functions.php to eliminate a function as a possibility switch to a default theme like 2015 to see if it works
- **when switching roles of a user remember to log that user out and back in before testing uploads in that role.
- disable all plugins (if youve had any in the past that altered, ermmm, user roles/persmissions? there could be some leftover stuff even after disabling/uninstalling, or so ive read)
@shwikiart
Try this: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/#filtering-examples
Copy the activity-loop.php file into your child theme and then update line 18 with the settings that suit you using the guide in the link to help.
Hi and thanks for your help.
I changed the theme to twenty fifteen and the @ still appears.
What can I do to delete or hide it? Do you have any ideas?
Thanks
If you use the TwentyFifteen theme and disable all plugins, do you still get the error?
Check the @ isn’t being added by your theme. If it is, then you can use the Template Hierarchy to override the relevant templates.
Could be theme-related or perhaps a plugin is conflicting. Try with TwentyFifteen and all plugins disabled.
Hi!
Thanks for your answer. Yesterday I tested it without any source code modification.
Names of friends should be completed automatically (auto-complete). But it doesn’t work: I started typing a name. Buddypress searched name and founded the name. I chose the founded name. But the error was the same: “Message could not be sent because you have entered an invalid username. Please try again.”
I tried two different buddypress themes – same bug?
Kind regards
Alex
Avoid editing core files and you should be fine. Instead, put your functions and code snippets in a bp-custom.php file or your child theme’s functions.php.
Also, check out the Template Hierarchy article for info on template editing.
X Theme is only compatible with the version 2.3.3
If you’re experiencing some kind of redirect, then that’s likely coming from either a plugin, or your active theme.
Maybe it’s an easy thing, but I am really confused. Please advise me.
Well, if it’s easy we’re both dummies cuz I find it extremely confusing myself.
Take the template for a single members profile page as an example.
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php
is to be copied and renamed to your theme, but first you have to rename it to index.php for some reason. like this..
/wp-content/themes/THEMEFOLDER/buddypress/members/single/index.php
Or this one which I forget is to either view the inbox or a message thread..
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single/view.php
would change to..
/wp-content/themes/THEMEFOLDER/buddypress/members/single/index-action-view.php
Some template files are turned into ‘actions’, some are to be ‘components’, some files get renamed, some names stay the same but go in different folders than the bp-legacy structure, and so on.
Here’s a page that can sort of help make sense of it..
Template Hierarchy
Unless you are explictly using the bp-default theme as your Theme,
always use these templates bp-templates/bp-legacy/buddypress/
Re your current activity/index file in your child theme – use the index.php from the bp-legacy location and move any changes you want into that file.
Hi all,
I am really confused with bp-templates and bp-themes directories.
I wanted to change my activities page, more specifically, to add a sentence above the activity posting form.
I tried editing bp-themes/bp-default/activity/index.php,
but I couldn’t get what I needed, no changes happened when I added a paragraph to it.
Later I found another file: bp-templates/bp-legacy/buddypress/activity/index.php,
and when I added my paragraph to it, I got what I needed.
In order to leave the BP files without changing, I copied them to my child theme directory: my-child-theme-directory/buddypress/activity/index.php.
I did this on a test BP install and there was no problem.
On my real website, I found an activity directory in my child theme’s buddypress folder, which contains an index.php file, when I checked, it is the index.php from bp-themes/bp-default/activity/.
So, how can I make this without replacing the index.php file?
Is it wrong to copy and edit files from bp-templates/bp-legacy/buddypress folder?
Maybe it’s an easy thing, but I am really confused. Please advise me.
Thanks,
Leo
Hi shanebp,
I checked it on a custom theme, Twenty Sixteen and Twenty Thirteen. Nothing changes.
Which theme are you using?
Just to confirm it’s not a theme issue, please try switching momentarily to a WP theme like 2013 and see if the issue persists.
Try adding this to your theme/functions.php or bp-custom.php
add_filter('bp_get_send_public_message_button', '__return_false');
I have Buddypress installed on a client site. There are times when any of the BP pages are used and then they navigate to another page, the intended page will display the 404 page. I thought initially that this was due to certain incompatibilities with the theme so I changed the theme to one that is BP-ready but the problem still occurs.
The 404 is resolved by re-saving permalinks again.
I read on this thread https://buddypress.org/support/topic/add-group-redirects-to-404-error/ that BP doesn’t like that its pages (Groups, etc.) are sub-pages but this error was for adding groups.
Can someone please help shed a light on this?
I just upgraded to Worpress 4.4.1 and installed Twenty Sixteen theme. Same result.
Have you tested with a twenty theme ?