[request] Hide MOH:W - Better Battlelog Forums #2139

Sitemap
Post edited 1 x times, last by
Topicstarter
How to disable MOH:W at the Battle Feed ???

I can't do it. - Yes, you can.


Let everyone do it who can.
I can't do that for the life of me.


edited for a better understanding ;)
cheers
I'm sorry, what?
I think he just would like to have an option to hide all shared MOHW messages in the feed ?!
Topicstarter
Amkhatar wrote:
I think he just would like to have an option to hide all shared MOHW messages in the feed ?!


That's right!

thx
here's a bit of jquery i was working on to accomplish this.

$(".feed-single-item .award-item").each(section){ if(section.html().contains("/mohw/"}){ section.hide() }};

I haven't gotten it working yet (I'm not on my dev environment but noticed this came up in bblog list)
OK here you go

https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v1.js


that version right there will filter out in the current BBLog

here's a version that should be compatible with V3 of BBLog

https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v2.js


tested this and it should be language Independent.
digitalcassette wrote:
here's a version that should be compatible with V3 of BBLog
https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v2.js

working well, but there are some posts/feeds wich are not hidden.

mohw.jpg


i didn't tested the other version.
Thank you ORFK!

The problem is I was relying on the images (and the static image path for MOHW).

Now it actually looks at the game id now (common-game-4096-1).
jep, now its working fine, i like it =)
Post edited 2 x times, last by
Topicstarter
digitalcassette wrote:
OK here you go

https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v1.js


that version right there will filter out in the current BBLog

here's a version that should be compatible with V3 of BBLog

https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v2.js


tested this and it should be language Independent.



awesome, well done!
most of the feeds has gone

thank you
not working atm... what happens?
looking into it right now
ORFK wrote:
not working atm... what happens?


lol well... it looks like bblog upgraded to 3.0.0 :)

So you need to use the v2 of the script i posted a while ago (luckily I was prepared for this)

https://raw.github.com/TonyAshworth/bblog-mohw-filter/master/bblog-mohw-filter-v2.js
<< there's the link! cheers! (just tested and it worked on the first try)
Post edited 2 x times, last by
i had 3.0.0 already before you, so i already used the V2 script ;-)
and yes, i have still V2 in my plugin list...

-edit:- now it looks it would work, okey thx.
lol sorry orfk, when i saw this i didn't have v2 loaded yet. i loaded it and it worked.

i wonder why it didn't work for a few days.

thanks for the notice though. :)