Forum Replies Created
-
In reply to: Add “Anonymous” to menu bar
You can use the
is_user_logged_in()function to check. For exampleif ( is_user_logged_in() ) { // This user isn't logged in. echo 'Anon'; } else { // This user is logged in. // Do something else. }The .mo file should go in this folder wp-content/languages/plugins
The wp-content folder won’t get overwritten. That’s where all of your content is kept.
In reply to: Dynamic Link@venutius is right; a .mo file is the way to go. Check out this article which should help get you started:
In reply to: bp_ajax_querystring filter not runingInside your plugin try adding:
add_action( 'init', function() { add_filter( 'bp_ajax_querystring', 'your_function', 10, 2 ); }Of course, also define your function:
function your_function( $ajax_querystring, $object ) { // Code here. return $ajax_querystring; }In reply to: Buddypress from mobileYou will need to have an understanding of CSS. To get started, take a look here
https://developer.mozilla.org/en-US/docs/Web/CSS
It’s a very useful reference; I’ve had it bookmarked for a while now.
In reply to: How to Add BuddyPress Specific WidgetsHi David
I’ve moved this topic to Your BuddyPress.
In reply to: how to change @ mention nameBuddyPress doesn’t let you change username but there are plugins available that will let you do that.
In reply to: bp_ajax_querystring filter not runingOut of interest can we see your
my_function()definition?In reply to: Read Only Group?You could open a feature request ticket on Trac. The core team would consider it I’m sure.
In reply to: Can’t upload profile images in Internet ExplorerCan you open a ticket on BuddyPress Trac? Please include as much detail about the problem as possible.
In reply to: Read Only Group?I can’t figure out if this is possible or where to start if custom coding is needed.
I think custom coding will be needed here as I’m not aware of a setting or plugin that’ll let you do that.
Maybe somebody else here might know of something?
In reply to: Can’t upload profile images in Internet ExplorerDo you know which version of IE they are using? Early versions are rather troublesome. 9.0+ is better supported
In reply to: uploading avatar or cover photo hangs site! help!Maybe 256M is more than your server can handle? try something like 128M.
It has to be Buddypress…
Maybe, but it is working for me so it’s more likely related to your set up.
In reply to: Error 404 for non logged in usersHi all
As @danbp mentioned, if you haven’t done so already, please open a bug report for this on Trac if you believe there to be an issue. That way it’ll get investigated by the core team.
In reply to: uploading avatar or cover photo hangs site! help!Try increasing your memory. Ref
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
The path should be /my-theme/buddypress/members/activate.php
You’ll find that text in the bp-templates/bp-legacy/buddypress/members/register.php template.
This article will help too 🙂
In reply to: uploading avatar or cover photo hangs site! help!Hi @zoldos9
Do you have anything in your error logs?
In reply to: How to Hide subnav Tabsbp_core_remove_subnav_item()can be used to delete an item from the secondary navigation.For example:
bp_core_remove_subnav_item( BP_SETTINGS_SLUG, 'some-slug' );In reply to: AVATAR/COVER IMAGE HTTP ERRORThis could be a server issue. Is there anything in your logs?
In reply to: Mutual Friends Online status DisplayYou could try this
return $author . '<span class="wp_online_notice"></span>';In reply to: Mutual Friends Online status DisplayYou can certainly add the span tag instead.
Why do you think giving the location of the image is dangerous?
In reply to: Mutual Friends Online status DisplayGreat plugin; but the online status only display on the blog site
Thanks! As I mentioned it’s a WordPress plugin so you will need to adapt it for use with BuddyPress. It shouldn’t be too difficult to do because BuddyPress members and WordPress users are the same.
In reply to: Mutual Friends Online status DisplayHi @swiftblack
Take a look at my plugin Here: https://github.com/henrywright/here
I use the WordPress Transients API to output a user’s online status. You could easily adapt it for use with BuddyPress.