Forum Replies Created
-
I’d just need to see the text field. Logged out users can’t see it because they’re not allowed to write activity updates.
I’ll need to be logged in to see the text field.
Not from the screenshot. I’d need to view the source whilst logged in. Which theme are you using?
In reply to: Language file acting up?Hi @mrgiblets
That’s slightly odd. You’d expect to see the change if the rest of your translated strings are working.
Are you working from the latest BuddyPress .pot file?
This looks like a CSS issue with your theme.
My guess is there is some sort of left padding on the text field.
In reply to: BP Group Hierarchy Debug OutputHi @jturet
The debug notice is telling you there’s a non-static method called
get_by_parent()which belongs to classBP_Groups_Hierarchy. Somewhere in your site, the method is being called statically like thisBP_Groups_Hierarchy::get_by_parent(). You can’t do that in PHP as only static methods can be called in this way.Looking at the debug message, that somewhere in your site is: wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-functions.php on line 35. So it looks as though you might need to contact the BP Group Hierarchy plugin author making them aware of the issue.
In reply to: Debug output on Profile PageHi @jturet
There’s likely a plugin, theme or custom code snippet you have installed still using the deprecated function
bp_core_delete_notifications_by_type(). The notice is telling you to usebp_notifications_delete_notifications_by_type()instead.In reply to: Performance of css StylesheetsHey @mcpeanut,
There’s no right and wrong way but this is what I do:
Put all of your global CSS properties into style.css. for example, styles that related to your header, footer and main templates and then conditionally enqueue stylesheets that are used less regularly so that they’re only loaded when absolutely necessary.
In reply to: Add friend button error in Buddypress plugin@jay_chauhan when there’s a problem like this, it’s quite difficult to know where to look first because the problem is so broad. The link @bphelp provides above is a good place to start.
The usual approach is to disable all plugins, use the Twenty Fifteen theme, remove all custom code in functions.php and bp-custom.php and then work forward from there to identify what is introducing the problem.
It’s a tedious process 🙁
In reply to: Add friend button error in Buddypress pluginYes definitely, but going on the info you’ve provided so far, I have no idea how. You’ll need to provide a lot more info; your setup, any custom code you’re using and so on.
In reply to: Add friend button error in Buddypress pluginI tried that too, it crashed my site
Oh no! that’s not cool 🙁
In reply to: Add friend button error in Buddypress pluginTry deactivating all of your plugins to see if that helps?
In reply to: New plugin: BuddyPress Mute@mrgiblets do you have a link to your site? I’ll check it out and try to see if I can come up with a fix for you.
In the mean time, if you want to remove the button from the members directory only, then you can put this snippet in your functions.php file:
remove_action( 'bp_directory_members_actions', 'bp_mute_add_member_dir_button', 99 );In reply to: Add friend button error in Buddypress pluginHi @jay_chauhan
Does the problem happen with Twenty Fifteen activated? If not then the problem could be the theme you’re using.
In reply to: Custom sort membersLook into using the
bp_after_has_members_parse_argsfilter. I think it’ll let you override themeta_keyandmeta_valueparams. That may help you do what you want?See here for a tutorial on how to use the filter.
In reply to: Why is there no ajax on profile tabs?In reply to: New plugin: BuddyPress MuteThanks for your feedback @mrgiblets! Also, thanks for your review over at wordpress.org 😀
In reply to: Show the faces of users who liked an ActivityHi @tse11
Have you tried contacting the author at Buddydev?
In reply to: Setting User Role During Custom RegistrationHi @ch1n3s3b0y
Are you sure
$POST_['user_type']is set?switch( $POST_['user_type'] ) { case 'customer': $new_role = 'customer'; break; case 'guru': $new_role = 'expert'; break; default: $new_role = 'user_role_is_neither_customer_or_expert'; }Try adding a default case to your switch statement like I’ve shown above. Then check in the
wp_userstable in your database to see what role is assigned.In reply to: New plugin: BuddyPress MuteHey @mcpeanut
Thanks! If you have any feedback once you’ve given it a spin, then I’d be grateful for it 😀
In reply to: Changing avatar size?Hi @mrgiblets
The avatar sizes are set via constants that you can override.
Check out this article for more info: https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/
In reply to: Disable Email VerificationJust looking through the Plugin Directory, I came across this plugin that might help:
https://wordpress.org/plugins/bp-disable-activation-reloaded/
In reply to: New plugin: BuddyPress MuteThanks @shanebp 🙂
In reply to: Problem with Widget Logic and members pagesCan this be reported to BuddyPress dev team?
You can report bugs using Trac:
https://buddypress.trac.wordpress.org/
Your login details will be the same as those you use here in the forums.
In reply to: Problem with Widget Logic and members pagesI’ve had problems when using
is_page()in BuddyPress in the past. In addition to that conditional, try putting in further checks such asbp_is_groups()orbp_is_friends()(or whatever is relevant to your task).See here for a list of template tags available: