Skip to:

Request New Reply To Bring Thread Up In Activity Directory

  • At the moment, whenever a reply is posted by a member the thread remains where it is. Is it possible to create a plugin that will bring up the thread to the top of the Activity Directory whenever a reply is made to an update?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was looking at this the other day as I noticed a sort can be passed in – but it seems the sort is only applicable to the date_recorded on the parent activity item.

    $activities = $wpdb->get_results( $wpdb->prepare( "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}" ) );

    (then which append_comments is called to add in the activity replies for each parent activity item)

    Though that was a quick look – maybe Andy can chime in if there is a proper way.

    I almost think there needs to be a date_modified col which is updated when activity item has a comment – with some option to sort on that and bring it to the top.

    Avatar of Tore


    Oh, that would be good. I’ve been salivating for this feature since 1.2 beta. A lot of my users think this is a problem.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.