Hi,
1. that is not really the correct way to do it, with this change it is now impossible to record new activity in BP when users posts an Ad, instead of this change after
if( $activity > 0 ) {
// Activity already recorded
return;
}
add
if ( ! bp_is_active( 'activity' ) ){
return;
}
this is how this issue will be resolved in next BP release, although you wrote you have the BP Activity enabled, so this issue should not occur in the first place.
Anyway if this won’t work you can add following code in theme functions.php it will disable adding activity by WPAdverts
add_action( "init", "disable_wpadverts_bp_activity", 1000 );
function disable_wpadverts_bp_activity() {
remove_action( 'publish_advert', 'adext_bp_activity_add' );
}
2. the icon you would need to add directly in wpadverts/templates/list.php file, if you combine the icon with the code you posted it should allow you to custom sort the list.