other plugins? cache plugin?
I’m not using a cache plugin, but I do have:
Akismet
Google Analytics
BP Group Documents
BP Posts on Profile
BP Redirect to Profile for Buddypress
Activity Stream Bump to Top
Activity Stream Hashtags
Album+
Edit Activity Stream
Forum Extras – Forum Index, Quote, RSS Feeds, Tag Index,
Group Email Subscription
Group Forum Extras
Buddypress Like
BP Usernames Only
Comment Rating
Contact Form 7
Feedburner Plugin
Polldaddy Polls
Wp-ReportPost
I’ve disabled all one by one. I’ve moved them into an ‘inactive’ folder. Nothing’s located the problem. I have a developer working with me who is more adept at php/mysql, but we’re both stumped. Any help is appreciated!
Is there anything in php.ini that affects replies?
Thanks, Rich!
Same issue if you view the permalink of an activity? (/activity/p/somenumber)
Yes, same issue. No replies are showing up.
Also, I’m getting email notifications of the replies, just not seeing them in the activity stream or on the recipient’s page.
my only other guess is server/mysql cache (bp_has_activities is also used in the ajax response for posting a new comment – which works but is filtered for a comment_id)
We just experimented with those query cache settings and it didn’t work. We might just have to move the site to a Linux server (per one user’s successful experience) to see if that helps. This one problem is just taking too many man hours.
Thanks again!
Something simple to check – try looking at the HTML page source to see if the activity reply is actually parsed on the page?
If it is, it could be some CSS rules that’s causing the activity update to be hidden.
Also try using the bp-default theme if you aren’t using it already.
r-a-y, the replies aren’t even in the page source.
I should have mentioned before that I’m using the default theme, actually it’s a child theme of the default theme, but I had these problems before I started using the child theme.
@effone
Try disabling BP Album+ We interact with the activity stream in different ways, and some of our suers have been reporting problems. Ideally, try to prove causality … IE: deactivated BP Album+ *3 days* ago* and NOW pictures from the software are starting to flood the activity stream.
Thanks!
@foxly
^F^
We figured out the problem. There was a bad SQL query.
The file we had to edit : …wp-contentpluginsbuddypressbp-activitybp-activity-classes.php
The offending code was on line 359:
$fullname_where = “AND pd.user_id = a.user_id AND pd.field_id = 1
The trick was to change the line to the following:
$fullname_where = “AND pd.user_id = a.user_id
The short explanation is that no records exists in the wp_bp_xprofile_data table that have a field_id value of ‘1’.
We don’t know how this happened – during setup? We also aren’t yet sure if this change will cause adverse effects somewhere else, but replies are now working.
Hope this helps someone else.
@foxly
Thanks for your reply. I’ll remember that about the album plugin in case we have more trouble (fingers crossed) down the road.
pd.field_id = 1 should be the “Name” profile field, so it’s a little weird because that field is required.
r-a-y,
Thanks, we talked about it some more and think it must have had something to do with Profile Field Setup. Field ID 1 is missing and the table starts with 2. Field ID 6 is the Name field. So, at some point during the profile field setup, we deleted the original Name field?
We’re going to put back the original code and change the ID to 6.
Or, is there a way to correct the table so that we can make ID 6 the Field ID 1? Will there be other problems with having that wrong Field ID?
– Lindsey
There could be some potential problems with having your name field ID set at 6, because there could be hardcoded instances elsewhere like you just experienced.
Needs investigating.
Okay. Thanks for your help, r-a-y. We’ll check in to it more.
hi
nice to know that u had the same problem that i have .i did the salution but its dont work
when i changed the code $fullname_where = “AND pd.user_id = a.user_id AND pd.field_id = 1
to
$fullname_where = “AND pd.user_id = a.user_id
then my site got a blank page with a line of a code erore
then i dellet the buddypress then my site restore
can u help me to solve that problem? thats my site http://movies.funjojo.com
thanks