[Resolved] threaded comments won't work after update
I’ve recently upgraded to the new wordpress (3.5) and buddypress 1.6.2
Since the update I noticed that it’s no longer possible to make threaded comments.
I didn’t change the theme, which is a slightly modified (colors only) unplugged theme.
For some reason the old comments still do show up threaded so I suppose it’s the way how they’re posted. Maybe it’s a bug introduced in the new update?
Anyone an idea how to fix this or where to start looking?
it’s no longer possible to make threaded comments.
@wpte which threaded comments are you referring to? The ones in the activity stream or the ones in single post pages? If you change to bp-default theme, are the threaded comments showing up properly? Unplugged theme has not been updated since BP 1.2 and the author has even removed it from being listed in the WP Theme Repo.
We ran into, what I assume here, is the exact same problem that you’re having, but with the BP-Default theme running WordPress 3.5 and BuddyPress 1.6.2, so we tracked down the problem and just implemented the changes from this BuddyPress trac ticket (http://buddypress.trac.wordpress.org/ticket/4510) that is set to fixed/closed and will drop soon here with the release of BuddyPress 1.7, and all is well again with threaded comments and replies, as well as fixing a few other quirky problems that we were having.
I’m actually a bit surprised that more folks aren’t posting on the support forums here about these same issues directly related to this. I would have to imagine that it’s happening within a lot of other installs, especially considering that it’s definitely occurring within the BP-Default framework.
I hope that this lead helps you out…
@mercime I’m talking about the activity stream yes. Forgot to mention that
I know the plugin is old, I have to admit I did do some bug fixing here and there and applied recommendations of the theme-check plugin. Nothing big however, just moving from deprecated things to the new versions etc.
I’ve applied the patch @inkblot suggested and that seems to work perfectly after doing a full page refresh. Thanks
I’m having the same problem with threads, forum creation and activity streams. Here’s my other problem… I’m an end-user with little knowledge so i’m not sure how to apply the patch.
Could someone help me it would be greatly appreciated.
@factorian Re the how to’s in applying the patch: if this is your first time to do anything like this, I would suggest that you implement it on a test installation and not a live site.
Go to http://buddypress.trac.wordpress.org/changeset/6326 the files you’d want to change are listed there. Add codes with green backgrounds and delete code in file with red backgrounds. Or, if you know how to use SVN (there are many online tutorials) then you can apply the patch to check if this works for you.
thx mercime…but now i have another issue…
i thought the link you gave me was the fix for for 4510 and was to be applied to BP 1.6.2
when going thru the change set i noticed that in my installed ver of BP which i confirmed is 1.6.2 there are no “legacy” folders as specified in the changeset below:
bp-themes/bp-legacy/buddypress-functions.php (3 diffs)
bp-themes/bp-legacy/js/buddypress.js (2 diffs)
change line 269 does not exist
– $this->version = ‘1.7-bleeding-6305′;
+ $this->version = ‘1.7-bleeding-6326′;
my .php file line 269 has $root_blog_id = 1;
and i can’t remember which but the file did not change at all..
i know i’m looking at the correct installation and directories.
could you give me some guidance.
thanks in advance,
uhm… that’s not the patch I applied. This patch @mercime is suggesting is newer. It’s not always a good idea to use patches from upstream, there might be incompatibilities. Like you say, you don’t have all the files
I used the patch attached to the ticked: http://buddypress.trac.wordpress.org/attachment/ticket/4510/4510.patch
I suppose for now it’s ok to use the patch I used, in the new version of bp the patch will be included automatically.
I’ll try the 4510 and let u know how it worked out.
The 1.6 branch of BuddyPress should have this fixed now.
You can either temporarily patch bp-default’s JS:
Or wait until 1.6.3 officially drops.
Okay….I am completely frustrated at this point guys.
I started off with a fresh install of 1.6.2 and tried applying the patches thru cpanel as suggested. First I tried 6326 suggested by mercime but as wpte pointed out it was from upstream which didn’t work.
Then I did another fresh install along with a fresh install of bb Press and tried 4510 no luck. Then as r-a-y suggested I tried the 6704 same result and finally broke down and just installed 1.6.3. Still no go. I’ve been experiencing the same issues since I started this process over 2 weeks ago. I can create groups, forums and post replies… however, within the group and/or forum or even after going in using the “Activity” link on my sidebar to access the “Activity Stream Directory” page, I CAN NOT do the following:
1. Post to the What’s new in Group Name, Member Name text box which is should expand the box and generate a Post Update button. Neither actions are functioning.
2. When commenting on a previous member’s post using the 3 shaded buttons ,
Comment 0 Favorite Delete, member avatar along with an expanded text box should be generated along with a Post “button” and the instruction “ or press esc to cancel”
Neither of these are functioning by design as well.
When pressing the Comment 0 button, the command generates the avatar, text input box and Post “button” with the instruction “or press esc to cancel” but then it just refreshes the page. Not allowing you to post the comment.
What strikes me as odd is that if it has something to do with the activity stream files why am I still able to “Load More” activity using the button at the button of the page? At this point I dunno what’s wrong.
Does it have anything to do with my Artisteer Theme? I don’t think it does as all works well in my test site using 1.6.2 but not in my main site. Or maybe a plugin I have installed?
Sorry to bother you guys and again forgive me as I’m just an end user with a little knowledge trying to get the social part of my site functioning properly. If anyone can give me some advice or has time to take a look at it for me it would be greatly appreciated.
Thanks in advance…
have you tested this with the BP default theme? if the problem only occurs with your theme that might be a klew.
Thanks for responding.
As I said above that’s what baffles me. I’m using the same Artisteer theme on both my test site and main site. I started out with 1.6.2 on my test site and everything works fine.
On my main site I have no comments/activity stream functionality. So I did a fresh install of 1.6.2 and applied the patches as suggested above and still nothing. I even went into cpanel and tried copying my test site BP files as well as my theme template files over to my main site and still no go.
Then I updated to 1.6.3. no luck and I’m not sure a 1.6.4 install will help.
Like I said, I’m using the same Artisteer theme and 1.6.2 works fine in the test site but not in the main. Is it possible that I have a plugin conflict if so I can’t identify it.
I appreciate any suggestions.
have you tested this with the BP default theme?
Yes I did and still the same lack of functionality as described in my post.
hmm well the behavior you are experiencing is not normal behavior as you can tell by the fact your test site works. it may be that you’re going to have to hire someone who knows more then either of us to fix it. i have a similar problem that developed and is not reproducible (at least not as far as i’m aware):
if the problem isn’t in the files then i would suspect its some kind of database thing i suspect you have a similar issue.
Many thanks ubernaut.
I will take a look and let you know how it works out.
I really appreciate you giving me some new direction.
Have a great day!
Thanks alot. Your topic gave me some ideas.
After what you said above, reading your post and looking at the ticket description. I suspect my problem is a combination of both a DB issue & AJAX call or hook (I’m an end user so if I get the terminology wrong please bear with me).
Also, I have 2 questions:
– what did djpaul mean when he said: “Recreated by several users on multiple installs…..” Specifically what “multiple installs” is he referring to?
– Did you ever get your issue resolved after applying Changeset 6679?
- what did djpaul mean when he said: “Recreated by several users on multiple installs…..” Specifically what “multiple installs” is he referring to?
multiple places/sites/servers take your pick every instance of buddypress is technically speaking another install.
- Did you ever get your issue resolved after applying Changeset 6679?
nah didn’t work for me my issue was bit different from that trac ticket anyway. i suspect it is a database thing of some kind or some kind of bug with my hosting service (wp engine) not really sure cause i can’t replicate it.
Okay thanks alot anyway.
One final question.
I’m thinking about completely tearing down the whole BP section of my site and starting from scratch again with 1.6.2 since it works on my test site.
What is the best way to kill everything and start from scratch. The last time I tried that it appeared that some files were not deleted when I re-installed thru wp-admin because it still had the Groups/Forums/Avatars etc. basically nothing changed.
Should I delete BP and all related plugins thru wp-admin dashboard first and then go in the backend thru cpanel to ensure everything is gone.
Any insight would be helpful.
Thank again ubernaut you’ve been great!
well there are probably way better people to answer that question then myself but if you don’t care about users or bbpress/buddypress information and you can create a staging area then one step you can take is to export/import your sites content into a totally clean install which is also a recommended step for certain kinds of hacking events. bear in mind i have never actually had to take that step myself so i am not saying i would recommend that as i have try little information about your actual situation.
my understanding is that if you do this the old site must be be live during the reimport on the other side which is why a staging area would be required. if any of this seems scary to you then it probably should and you might want to consider paying someone who’s more knowledgable to resolve the situation for you they may well even have a better path to happiness then my sort of last ditch option.
You must be logged in to reply to this topic.