[BF4][v1.6] Show by DLC - Better Battlelog Forums #115142

Sitemap
Post edited 25 x times, last by
Topicstarter
This plugin adds buttons to show only assignments/weapons/awards/weapon unlocks from specific DLC/base game. It's a new version of the old plugin, which worked only with assignments.

Feedback and translations to other languages will be appreciated.

Changelog
1.6 - added Final Stand to the list of premium DLCs
1.5.5 - fixed a bug
1.5.4 - it really works now, promise
1.5.3 - really really fixed the bug
1.5.2 - really fixed the bug
1.5.1 - fixed a bug
1.5 - the plugin now detects owned DLCs/Premium automatically, you don't have to set them anymore
incorrect counts of items are hidden from now on
added an option to hide items from unowned DLCs from the ALL view (on by default)
added an option to show menu items for unowned DLCs (off by default)
1.0.1 - added Portugal (thanks to ArnoldLayne) and German (thanks to Brady_The) translations
1.0 - initial version

Screenshots
assignments.png

weapons.png

awards.png

weapon_unlocks.png

You can install this plugin from the plugin gallery:
http://getbblog.com/plugin/126691/Show-by-DLC


Github repository:
https://github.com/dpeukert/bblog
"pt":
{
"all": "Tudo",
"basegame": "Jogo Base",
},
Post edited 2 x times, last by
"de":
{
"all": "Alle",
"basegame": "Hauptspiel",
},
"de":
{
"all": "Alle",
"basegame": "Basisspiel",
},
Topicstarter
Thanks, both translations added.
"gr":
{
"all": "Όλα",
"basegame": "Βασικό παιχνίδι",
}
"nl":
{
"all": "Alle",
"basegame": "Basisspel",
},
Krayziesoldier wrote:
"nl":
{
"all": "Alle",
"basegame": "Basisspel",
},




Only translations of the plugins are the same as the Battlelog and BBLog translations. Unfortunately, Dutch isn't one of them.
Post edited 5 x times, last by
Thank you for this great plugin, I really like it.
Here is my russian translation of it.

"ru":
{
"all": "Все",
"basegame": "Основная игра",
},


Here is an updated version of your plugin (sorry for editing without permission).
https://dl.dropboxusercontent.com/s/19cbdomdl2gc66g/show-by-dlc.js


P.S. - Base game in russian is "Базовая игра", but "Основная игра" (Main game) sounds way better for me.
Topicstarter
Thank you, added!
Need to update and enable the Dragon's Teeth buttons.
it works, you need to enable them in the settings.
Krayziesoldier wrote:
it works, you need to enable them in the settings.


For me, plugin just show "All" and "Base game". I have Premium and in options i have uncheckeed "Hide items from unowned DLCs" (in stats, assignments, awards and unlocks too)

http://i.imgur.com/r9LlFu9.png
Post edited 2 x times, last by
Topicstarter
I updated the plugin few hours ago and changed it to detect the DLCs automatically so that probably caused it, I'll look into it.

EDIT: The plugin should work correctly now.
Post edited 2 x times, last by
Topicstarter
There was a major update! Check out the first post for a changelog! Big thanks to ezek1el3000 for help with debugging the plugin.
Works like a charm. :)
Topicstarter
Awesome :)
Post edited 1 x times, last by
Dapil, Final Stand filters isn't showing. You need to update manually or it's a bug?
Post edited 1 x times, last by
line 100 change the last false to true and its fixed.

xpowned = [true,true,true,true,false];
to
xpowned = [true,true,true,true,true];
Topicstarter
Fixed.
Thanks good job
thanks