Forum Replies Created
-
In reply to: incorrect status time? sometime ago?
@pisanojm – Did you try the 2nd patch by cnorris?
https://trac.buddypress.org/attachment/ticket/2203/2203.002.diffThat one appears to have all the right fixes!
@3sixty – So you tried commenting out the do_action line for the bp_forums_total_topic_count() function? And it didn’t do anything?
http://pastebin.com/rqGPKxrDYou can try replacing the bp_forums_total_topic_count() function in /bp-forums.php with this:
http://pastebin.com/qvpy4CS2See if the memory problems occur with my mod.
bp_forum_pagination_count() uses the $forum_template global, which is why it outputs instanteously.
bp_get_forum_topic_count() calls bp_forums_total_topic_count(), which has a do_action( ‘bbpress_init’ ) line. Try commenting out this line in /bp-forums.php and see if the memory problems persist.
If it the memory problems persist, then it’s a problem with the BB_Query instance, which I have no idea how to debug!
In reply to: Change permalinks/slugs for BuddyPressI could be wrong, but I’m guessing the bp.org site is running a bleeding-edge version of BuddyPress, since it appears that URLs like /communitiy/members are using WordPress pages.
My advice? Wait for BP 1.3.
It’s possible, but you’d have to basically remove the actions for the original bp_activity_at_message_notification() and bp_activity_at_name_filter() functions and replace them with your own functions.
@ffemtkl – that’s because you probably have some whitespace at the end of the PHP closing tag. Delete anything after
?>and see if that fixes your problem.1) Wherever your bbPress theme is, add a functions.php. eg. my-templates/MY-BB-THEME/functions.php… if you’re using Kakumei, then it would be /bb-templates/kakumei/functions.php.
2) The path has to be an absolute filepath and not a URL. eg. /var/www/wp-content/uploads/avatars/. I’ve tried to guess where your WordPress install is using $_SERVER, but you might need to adjust this for your particular install.In reply to: New user – no mail sent at all@ffemtkl – what version of BP are you using? I think BP 1.2.4 might have fixed the issue.
The code looks like it’s working for the member profiles, but not the site activity page.
@jillsays – Glad it worked!

Try this:
The problem with using another tag like “bp-extension” is a non-related BP plugin can still use that tag.
I think moderation is the only way to go.
@jillsays – Thanks for that extra info!
Replace the snippet from before with this:
http://pastebin.com/PDeF3kjmThis should work now!
@jillsays – Gravatars look like they’re working. It’s working for Blancmange, Lala and Patrina. Gravatars only work if the right email address is setup when they signed up for your site.
If your users recently signed up with Gravatar, tell them to change their email address in BP… see if that changes anything.
@jillsays – In bbPress’ “Settings > Discussion” page, under “Avatar Display”, did you check “Show Avatars“?
It’s possible, read this:
@jillsays – Did you read this:
You can adjust the default avatar in bbPress by going to the bbPress admin panel (/forum/bb-admin/) and clicking on “Settings > Discussion”.
In reply to: How to remove those brackets ?CSS is your friend!
li a span {display:none;}It probably isn’t as easy as that! But it’s pretty close

@jillsays – Here’s what you need to do:
In your bbPress theme’s folder (/bb-templates/kakumei-blue), create a functions.php file and add the following:
http://pastebin.com/PDeF3kjm (updated)You can adjust the default avatar in bbPress by going to the bbPress admin panel (/forum/bb-admin/) and clicking on “Settings > Discussion”.
I’ve tried to “guess” where the BP avatar path is, however if this doesn’t work, you’ll have to adjust the $avatar_folder_dir variable manually (this will definitely apply to WPMU users).
Give it a shot and report back.
In reply to: Querying specific groups based on parametersYou should print out $details_result to make sure it is an accurate group slug.
@jillsays – As long as you have your users integrated between WP and bbPress, it’s definitely possible.
I don’t have any code to give you at the moment… but the way I’d go about it is, I’d write a function in bbPress to find your BuddyPress avatar directory, then you could do a check to see if the user_id directory exists… if so, spit out the BP avatar URL in bbPress.
In reply to: Querying specific groups based on parametersYour pastie link doesn’t work.
This is working for me:
$myslug = 'my-test-group';
if ( bp_has_groups('type=single-group&slug='.$myslug) )For some reason, you have to add the type as “single-group” as well.
If you’re just trying to get the group avatar of one group… just use bp_group_avatar() (view the params in bp-groups-templatetags.php) or bp_core_fetch_avatar() (view params in bp-core-avatars.php).
In reply to: Querying specific groups based on parametersYour bp_has_groups() line should look like this:
bp_has_groups( 'slug=' . $slug_params )Your slug shouldn’t have quotes. Let’s say my group slug was “test-group”:
$slug_params = 'test-group';In reply to: Add reply still visible after logoutSo when using the BP default theme, you still get this problem?