Title: johnrafferty's Replies | WordPress.org

---

# johnrafferty

  [  ](https://wordpress.org/support/users/johnrafferty/)

 *   [Profile](https://wordpress.org/support/users/johnrafferty/)
 *   [Topics Started](https://wordpress.org/support/users/johnrafferty/topics/)
 *   [Replies Created](https://wordpress.org/support/users/johnrafferty/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/johnrafferty/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/johnrafferty/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/johnrafferty/engagements/)
 *   [Favorites](https://wordpress.org/support/users/johnrafferty/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flamingo] Message Counter](https://wordpress.org/support/topic/message-counter/)
 *  [johnrafferty](https://wordpress.org/support/users/johnrafferty/)
 * (@johnrafferty)
 * [6 years ago](https://wordpress.org/support/topic/message-counter/#post-12718242)
 * *****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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flamingo] Showing list of messages as default view](https://wordpress.org/support/topic/showing-list-of-messages-as-default-view/)
 *  [johnrafferty](https://wordpress.org/support/users/johnrafferty/)
 * (@johnrafferty)
 * [6 years ago](https://wordpress.org/support/topic/showing-list-of-messages-as-default-view/#post-12715077)
 * This may be frowned upon but this works for me.
    This should change the default
   order of the sub menus and therefore the default view will be the stored form
   submissions.
 * Amend the following lines in the following file:
 * //flamingo/admin/admin.php
 * //Line 24 – replace
    /////Luxlucid /////////// // ‘flamingo_contact_admin_page’);‘
   flamingo_contact_admin_page’, 1 ); /////////////////////////
 * //Line 32 – replace
    /////Luxlucid /////////// // ‘flamingo_contact_admin_page’);‘
   flamingo_contact_admin_page’, 0 ); /////////////////////////
 * As always changing any code in a plug-in will mean that when it is updated the
   code will be overwritten. The best solution would be if the original author could
   add the function officially.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flamingo] Adding Message Counter](https://wordpress.org/support/topic/adding-message-counter/)
 *  [johnrafferty](https://wordpress.org/support/users/johnrafferty/)
 * (@johnrafferty)
 * [6 years ago](https://wordpress.org/support/topic/adding-message-counter/#post-12714926)
 * Ignore!
    -  This reply was modified 6 years ago by [johnrafferty](https://wordpress.org/support/users/johnrafferty/).
    -  This reply was modified 6 years ago by [johnrafferty](https://wordpress.org/support/users/johnrafferty/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flamingo] Adding Message Counter](https://wordpress.org/support/topic/adding-message-counter/)
 *  [johnrafferty](https://wordpress.org/support/users/johnrafferty/)
 * (@johnrafferty)
 * [6 years ago](https://wordpress.org/support/topic/adding-message-counter/#post-12713085)
 * *****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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flamingo] Adding Message Counter](https://wordpress.org/support/topic/adding-message-counter/)
 *  [johnrafferty](https://wordpress.org/support/users/johnrafferty/)
 * (@johnrafferty)
 * [6 years ago](https://wordpress.org/support/topic/adding-message-counter/#post-12712592)
 * 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.

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