Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • kaneesha
    Participant

    @kaneesha

    @vapvarun lol too bad BP got no block implemented because i would block you right now.


    kaneesha
    Participant

    @kaneesha

    Thanks for the info Venutius.


    kaneesha
    Participant

    @kaneesha

    Hi again,

    Is it possible to don’t display any notifications if there are none? Right now it shows Unread Messages: 0

    Thank you in advance.


    kaneesha
    Participant

    @kaneesha

    Hi again,

    yes i’ve feared that already so i decided to ditch activity streams for now entirely since i’m now in the process of optimizing the page loading speeds by either removing or disabling particular elements, or even entire plugins, that’s why i asked.

    Nontheless thank you for your Help again 🙂


    kaneesha
    Participant

    @kaneesha

    Ah that was it, thank you very much.
    I’m sure i’m going to learn plenty of things in the future about how BP’s code works that’s for sure.

    I appreciate your help and your time a lot.


    kaneesha
    Participant

    @kaneesha

    Hi there,

    So i’ve managed it with a mix of my initial code which i posted firstly and your permalink, so i’ve changed basically this:

    $notif = '<span class="noticecount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span>';

    to this:

    $notif = '<a href="' . bp_get_notifications_unread_permalink() . '"><span class="noticecount"><i class="noticecounttitle">Notifications</i>'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a>

    Ok so far so good, but this alchemy failed badly with my unread messages version.
    I tested bp_get_messages_permalink(), or bp_get_unread_messages_permalink() and basically the wierdest combinations one can imagine but nothing worked.

    I’ve searched then here the BP froums plus additionally stack overflow but it seems there are so many techniques to link stuff that i’m utterly lost here.

    There were also permalink tags with the term slug this and slug that so i thought i ask here again before my head explodes.


    kaneesha
    Participant

    @kaneesha

    Hi, first of all thanks for the reply.

    I’ve tested your suggestion but it doesn’t seem to work for me (quad-checked also formatting errors) even the previously visible counters are now gone, or in other words my DIV which contained the counters up till now is now completely empty.

    :/


    kaneesha
    Participant

    @kaneesha

    thank’s hnla, i’ll give it a try :)


    kaneesha
    Participant

    @kaneesha

    oh, just in order to guard against confusion:

    i’d just like to remove the “brackets” and _NOT_ the numbers inside those brackets. :)


    kaneesha
    Participant

    @kaneesha

    @Boone Gorges

    okay i started to edit the renamed .pot file as described, after that i did a search with google for an alternative way to convert .po in .mo because it was somehow not possible to execute the msgfmt (according to the codex) command with terminal , so i found poedit, well, poedit crashed two times and there was a button with fuzzy? what? what fuzzy? and what means team language? aaaargh i just want to remove simple brackets but this is some kind of a diploma project.

    anyway! i had though luck and i’m already fed up with it.

    is here by any chance a suggest a feature/function corner?

    @r-a-y

    I wish it was all that easy. :/


    kaneesha
    Participant

    @kaneesha

    @thelandman

    same here, and batch find makes no sense because brackets are also a major part of the PHP syntax. :(
    to hardcode such design-related elements is imho a sin, a css before or after trick would be much better in such cases.

    @rich! @ etiviti

    i mean the numbers in those brackets in the tabs inside of the item-header like…

    Groups (1) Messages (4) yadda yadda (9)

Viewing 11 replies - 1 through 11 (of 11 total)
Skip to toolbar