robert.s
Forum Replies Created
-
AuthorPosts
-
I now see why this is so;
It’s because GD reviews are created as comments. And comments are visible in BuddyPress activity.
There’s a setting for this in GD Buddypress addon called:
Track new review activity in BuddyPresswhen a review is created for a listing then this review is shown in the buddypress activity as a comment which people can replay to. But when someone replays they are just commenting on a comment, most people will think that they are actually writing a replay on a review (but they are not).
I can’t find any logic in this because a review is not a comment and a comment is not a review.
Logical solution would be to show the review in buddypress activity as a link to the listing, and you should not be able to write any comments for that link.
I understand that, I just noticed that after that I updated your plugins I now receive Buddypress notifications when I receive a review on one of my listings. Is that you guys who added this function?
Hi,
Sorry guys, it’s my mistake, thanks to @giri who noticed the misspelled word “recieved” I just realized that there are no live notifications with GD+buddypress for reviews, there’s only the GD+buddypress activity field for reviews. My developer added function in my themes functions.php for live notifications for GD reviews.it looks like this:
add_action('comment_post', 'KLEO_Child_add_custom_notification_for_review', 10, 1); function KLEO_Child_add_custom_notification_for_review($comment_ID) { $comment = get_comment($comment_ID); $post = get_post($comment->comment_post_ID); $author = $post->post_author; $recipients = apply_filters('bp_messages_recipients', array($author)); $content = 'Service : <a href="' . esc_url(get_permalink($post->ID)) . '">' . $post->post_title . '</a>'; if (is_user_logged_in()) { $user_id = get_current_user_id(); messages_new_message(array( 'sender_id' => $user_id, 'recipients' => $recipients, // Can be an array of usernames, user_ids or mixed. 'subject' => 'You have recieved new review for your service</a>.', 'content' => $content, 'date_sent' => bp_core_current_time(), 'error_type' => 'wp_error' )); bp_core_add_message(__('Message successfully sent.', 'buddypress'), 'success'); } }
So.. this has actually nothing to do with GD support 🙂
BUT, if some kind soul out there has the time to look into this function then you will see that the message that notifies about a new review for your listing is sent as a buddypress private message but I would like to send it as a regular buddypress notification. someone knows what I need to change?
Hi,
I’d like to take up this matter again.
The issue is that the notifications aren’t sent as a notification, instead it’s sent as a private message that “You have a new review for your listing”.The issue here is that it’s possible to reply to private messages, and the problem is that people think that they are actually answering to the review, but in fact they are just sending a private message back to the guy who reviewed the listing. It would be better if the notification for a new review just was a notification and not a private message.
*thumbs up for this future*
yes, it’s just a warning message. Just thought it’s good to know about it. 🙂 it only appears in the log.
thanks!
This reply has been marked as private.I removed that listing and created it again and now it’s working fine.
This reply has been marked as private.This reply has been marked as private.found it, it was geodirectory-en_US.po and my themes .po file
thanks!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.No, I’m not using Yoast SEO. or any other seo extension.
-
AuthorPosts