Forum Replies Created
-
@vapvarun lol too bad BP got no block implemented because i would block you right now.
Thanks for the info Venutius.
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.
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 🙂
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.
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 testedbp_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.
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.
:/
thank’s hnla, i’ll give it a try
oh, just in order to guard against confusion:
i’d just like to remove the “brackets” and _NOT_ the numbers inside those brackets.
@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?
I wish it was all that easy.
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)