Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)
  • If anyone still has this issue, I did the following as a workaround for duplicate entries in digests (which I think is related to what the OP was talking about):

    The current code:
    `if ( !empty( $activity_item ) ) {
    $group_message .= ass_digest_format_item( $activity_item, $type );
    }`

    The workaround:
    `if ( !empty( $activity_item ) ) {
    $group_message_temp = ass_digest_format_item( $activity_item, $type );
    $activity_exists = strpos($group_message, $group_message_temp);
    if (!$activity_exists)
    $group_message .= $group_message_temp;
    }`

    Mind you, it might be confusing when people see “5 items” but only three show up on the digest. Perhaps change the wording to say “5 new activities or replies” or omit it.

Viewing 1 replies (of 1 total)