This may be frowned upon but this works for me.
Copy the following to the lines in the following file:
//flamingo/admin/admin.php
//Line 12 – add
/////Luxlucid ///////////
Flamingo_Inbound_Message::find( array(‘post_status’ => ‘any’,) );
$posts_in_inbox = Flamingo_Inbound_Message::$found_items;
/////////////////////////
//Line 15 – replace
// __( ‘Flamingo’, ‘flamingo’ ),
/////Luxlucid ///////////
__( ‘Flamingo <span class=”awaiting-mod”>’ . $posts_in_inbox . ‘</span>’, ‘flamingo’ ),
/////////////////////////
As always changing any code in a plug-in will mean that when it is update the code will be overwritten. The best solution would be if the original author could add the function officially.
*****Expanded to only show if flamingo contains posts!*****
This may be frowned upon but this works for me.
Copy the following to the lines in the following file:
//flamingo/admin/admin.php
//Line 12 – add
/////Luxlucid ///////////
Flamingo_Inbound_Message::find( array(‘post_status’ => ‘any’,) );
$posts_in_inbox = Flamingo_Inbound_Message::$found_items;
$notification_bubble =”;
if (!empty($posts_in_inbox)){
$notification_bubble = “<span class=’awaiting-mod’>” . $posts_in_inbox . “</span>”;
}
/////////////////////////
//Line 15 – replace
/////////////////////////
/////Luxlucid ///////////
// __( ‘Flamingo’, ‘flamingo’ ),
__( ‘Flamingo’ . $notification_bubble, ‘flamingo’ ),
/////////////////////////
As always changing any code in a plug-in will mean that when it is update the code will be overwritten. The best solution would be if the original author could add the function officially.