This topic has 6 replies, 3 voices, and was last updated 10 years by guy_fraser.

  • Author
  • #16186
     guy_fraser
    Participant

    Like many others, I’ve been using BP Direct Menus plugin to fill in gaps in the native menu items from BP.

    https://wordpress.org/plugins/bp-direct-menus/

    In particular, to add message count and user avatar to my menu bar. (Sadly, it’s missing notification count as far as I can tell).

    However, having just disabled “Friends” feature in BP, the direct menus plugin is now crashing. Turns out that before doing anything it gets all counts for everything regardless of whether they are going to be used or not = wasted server load.

    http://wordpress.org/support/topic/only-header-lodad-menu-and-rest-of-page-blank

    It’s for this reason I feel that SeventhQueen should do their own version of this plugin, removing the duplication of menu items already present in BP (which most people don’t know about because they’re hidden by default) and doing a much better job of the remaining menu items. For example, instead of me having to add %unreadmessagecount% to the caption I could just tick a box “Display counter” plus have an “Only when unread” option to hide counter when not needed. In particular, the menu items could be made to output html that natively fits with the theme design, for example adding additional class to messages link when there are unread messages, and so on.

    #16205
     Pedroml
    Participant

    The plugin page has almost nothing of information.
    Not sure, but I think if you replace %unreadmessagecount% with %(unreadmessagecount)% counter appears only if you have unread messages.

    #16215
     guy_fraser
    Participant

    Nope, it doesn’t support notifications without some extra hacks:

    http://wordpress.org/support/topic/quick-fix-to-add-support-for-notifications?replies=5

    The biggest problem is that it’s getting all the counts (read: lots of SQL queries = server load) regardless of whether it will need them.

    #16349
     Abe
    Keymaster

    Hi @guy_fraser
    We will take a look at it and see what we can do. Thanks for the suggestion

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #16365
     guy_fraser
    Participant

    I used the hacks in the url provided earlier and made some additional tweaks to it’s html output to facilitate easier styling (added a span tag around the count) and ended up with this…

    Attachments:
    You must be logged in to view attached files.
    #16368
     Abe
    Keymaster

    nice 😉

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #16573
     guy_fraser
    Participant

    Marking this topic as resolved as it’s superseded by https://archived.seventhqueen.com/forums/topic/wishlist-menus-widgets-shortcodes

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Need a SeventhQueen edition of BP Direct Menus…’ is closed to new replies.

Log in with your credentials

Forgot your details?