Support Forum
Hey there once again
I´m back with a question, not sure whether it is an issue of the sp bloglinking addon or buddypress plugin.
I use the events manager plugin on my page. With bloglinking you can choose a forum where the comments go to as Forum Topic. This is working fine.
So when you for instance post a comment it is added as a forum post within the blogpost linking topic.
BUT..when you use the function in combination with blog articles the comment goes to the forum (ok) and is also postet on the bp activity stream(ok). When you post a comment on Events in dte Eventsmanager it goes to the forum (ok) but is NOT shown on the Activity stream..(nOK).
How can I make it behave like it does on Blog-Comments ?
Best regards
Dave
when you post a comment in the events manager, it shows up in the forum?? how is that??? can you explain?
what is this events manager and how does it know how to post in the forum, vice a wp blog post which we hook into???
Visit Cruise Talk Central and Mr Papa's World
Ehm..yes.
Okay again
Blogpost behavior:
Create Blogpost->
make the bloglinking active and choose forum where it should show up->
save->
Bloglinking creates a forum post with the blogpost content in the chosen forum->
Comments on the Blogpost are created as Forumposts AND on bp wall
Events-Manager behavior:
pretty much the same EXCEPT the Comment (the auto created Forrumpost) being shown on the wall.
Okay. What is Events Manager. It is a pretty popular....management tool for events in WP
And how it works I don´t know, but it seems creating Events is pretty much the same like creating Blogposts plus showing the options you provide with the plugin on the bottom...
I will need @mr-papa to respond to the specific BuddyPress question (although I will try and see if I can find anything out in the meantime) but this seems likely to come down to whether the correct WordPress action hooks are fired or not which is what determines add-on plugin activity after an event (like creating a blog post).
We can see that your Events Manager is, in fact, implemented as a WordPress Custom Post Type. This clearly runs the 'publish' action hook. So the question is probably - what hooks are fired when a comment is made on the custom post type.
YELLOW
SWORDFISH
|
OK - again I need @mr-papa to discuss the Simple:Press BuddyPress plugin side of things but I can confirm (for both you and for him) that the Blog Linking plugin uses the WordPress 'comment_post' action hook (along with 'wp_set_comment_status').
Our BuddyPress plugin does not call this at all and I assume that this is because it is actually concerned with fortum activity and not blog post activity which the core BuddyPress plugin itself is responsible for. So I suspect the answer would be that this comes down to the interaction between the Custom Post Type Events post and BuddyPress itself.
YELLOW
SWORDFISH
|
well, I have no data to back this up currently, but this is what I think is happening...
you are getting activity from the wp comments on the blog post, not from the forum post.... buddypress does take comments and make them activities... you are not getting activity from the event custom post type comments because buddypress is not catching those... perhaps there is a setting in buddpress to make that happen...
should you be getting activity from the forum posts? I would say yes... but if activity for the blog post comment in the forum was coming from sp, then you would get it for the cpt comment in forum too... we dont know the difference... I suspect, but do not know, that the blog linking plugin is creating the comment post outside the api... hence the buddypress integration plugin doesnt know about it and add it to activity...
Now, IF that is the case, correcting or improving the blog linking plugin would actually cause you to get a double activity stream from the comment and the blog post... not ideal either... an option to not have them count, would leave you right where you are today... maybe a filter so you could programmatically remove could work...
but first, need to prove, or disprove, my hypothesis... that's on tap for this weekend...
Visit Cruise Talk Central and Mr Papa's World
I have confirmed this to be the case... You are getting the activity from the wp comment on the blog post... its not coming from the forum post via the comment... and buddypress is not catching the wp comment on the custom post type post... I would check buddypress for this option...
also verified that the blog linking plugin is not using our post api for creating the forum post from the comment, so core or any other plugin that acts on new posts wont see the post created... I have opened a ticket to address this in the blog linking plugin...
but as mentioned, when we fix this, you may get duplicate activity - one from wp comment and one from forum post... will have to think about best way to handle that...
Visit Cruise Talk Central and Mr Papa's World
yes, fixed in next release... unfortunately, you will get an activity for the wp comment and for the forum post... because buddypress is not catching the comment on the custom post type, you will only get the forum post... might be a setting you can do within buddypress... also, you may be able to tell buddypress to ignore the post comment too...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)