Switched theme to Buddypress default theme. This irons out the duplicate post issue on root, but not the inability to add/delete activity from the mappedsub (Cyber-chat) ?
I am having the same issue — duplicate posts. When posting an update or replying to posts, the Razor or Salutation theme is causing BuddyPress to post the message twice. I’ve tested this by switching between the Razor/Salutation theme and the BuddyPress Default theme. The BP Default theme does not have this problem — it is only in Razor/Salutation. I am using the latest beta version 1.7 of BuddyPress. No other plugins are installed.
Anybody else experiencing this problem?
How should BuddyPress act when the non-Default theme is handling the BP posts so it does not post a duplicate message?
@dasped @dasped @companyjuice To avoid duplication of posts for themes which are already compatible with BuddyPress i.e, BuddyPress-ready themes, add the following line in your theme’s functions.php file
add_theme_support( ‘buddypress’ );
see https://bpdevel.wordpress.com/2013/02/25/bp-theme-authors-make-sure-your-theme-registers-buddypress-support/
This does not fix the issue with “Duplicate Activity”. I already have add_theme_support( ‘buddypress’ ); in my functions.php file. However, in BP 1.7-beta1, not in BP 1.6.4, there is a bug that posts messages, replies, and lists members twice.
I would suggest that the best way forward is to contact the theme author – Parallelus
In the DynamiX theme I had to edit out a line in dynamix/functions.php
wp_enqueue_script( ‘dtheme-ajax-js’, BP_PLUGIN_URL . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );
Unfortunately adding add_theme_support( ‘buddypress’ ); is not the answer, though it is certainly something theme authors need to look at for their future updates.
I also own the Salutation theme and after a quick peek I can not find the same or similar string as I posted above.
No point in both of us contacting the author so if you get any joy from them, please let me know how you got on. It will come in very handy, as I plan to use the theme at some point in the future.
In your enquiry to theme author, I would suggest linking them to the top post here: http://bpdevel.wordpress.com/author/boonebgorges/
It will help them in their investigation.
Again, please do let me know your outcome.
Thanks
Sorry, @companyjuice just clocked that @mercime already linked you to that post from Boone. Still, its a worthy one that theme authors need to take heed of.
@companyjuice @dasped just to note that most theme/plugin authors will most likely update their themes/plugins when the stable version of BP 1.7 rolls out. We’re still only in BP 1.7 beta 2
Thanks @mercime,
DynamiX theme was fixed within hours of asking the author, with the removal of the line I posted above. If anything he was glad of the head up in relation to changes that are coming. (Best support on a theme I ever had IIH)
Now, with the release of 1.7(b)2 My Ajax issues are a thing of the past also.
BuddyPress is my friend again 🙂
Haha, thank you @mercime and @dasped. BuddyPress is definitely my friend 🙂
I attempted to bring up the “duplicate posting” of BP 1.7beta1 to the Parallelus team, but they did not treat it very well and told me to go screw off, in a manner of speaking.
In the meantime, BP 1.6.4 works great with my Parallelus themes (no duplicate posting). I’m sure BP 1.7 public release will have fixed this issue. If not, I will then go to my theme “support” team (with a pretty please and cherry on top).
Thanks again — Marty McGee