if(BBLog.cache("mode") == "bf4"){
if($(".main-nav .base-section-menu").children().children("a[href*='platoon']").length < 1){
$(".main-nav .base-section-menu").append("<li data-page='platoons'><a class='wfont' href='/bf3/platoon/landing/'target='_blank'>Platoons</a></li>");
}}
GameFreakBoy wrote:Until DICE comes out with the button, could you do this and add the drop down to it? :)
dapil wrote:This plugin supports both BF3 and BF4 from now.
"pt" : {
"plugin.description" : "Gerenciar Tropas exibidas",
"text.description" : "Aqui você pode escolher quais tropas serão exibidas. Você pode obter o ID de uma tropa na URL da seguinte página, por exemplo: http://battlelog.battlefield.com/bf3/en/platoon/2832655241424190855/ o ID é <strong>2832655241424190855</strong>.",
"button.add" : "Adicionar",
"hint.name" : "Nome Exibido",
"hint.id" : "ID da Tropa",
},
"de" : {
"plugin.description" : "Verwalte angezeigte Platoons",
"text.description" : "In diesem Dialog kannst du auswählen welche Platoons angezeigt werden sollen. Die ID des gewünschten Platoons kannst du der Seiten-URL entnehmen. Beispiel: URL = http://battlelog.battlefield.com/bf4/platoons/view/4726603585846748181/ Platoon-ID = <strong>4726603585846748181</strong>.",
"button.add" : "Hinzufügen",
"hint.name" : "Anzeigename",
"hint.id" : "Platoon-ID",
},
MajorSheppardI wrote:Hello. What are we supposed to see ? Because i have the dropdown but nothing is written. I'm using latest Chrome. Thanks
ArnoldLayne wrote:dapil wrote:This plugin supports both BF3 and BF4 from now.
Portuguese Version...
"pt" : {
"plugin.description" : "Gerenciar Tropas exibidas",
"text.description" : "Aqui você pode escolher quais tropas serão exibidas. Você pode obter o ID de uma tropa na URL da seguinte página, por exemplo:http://battlelog.battlefield.com/bf3/en/platoon/2832655241424190855/o ID é <strong>2832655241424190855</strong>.",
"button.add" : "Adicionar",
"hint.name" : "Nome Exibido",
"hint.id" : "ID da Tropa",
},
Brady_The wrote:"de" : {
"plugin.description" : "Verwalte angezeigte Platoons",
"text.description" : "In diesem Dialog kannst du auswählen welche Platoons angezeigt werden sollen. Die ID des gewünschten Platoons kannst du der Seiten-URL entnehmen. Beispiel: URL =http://battlelog.battlefield.com/bf4/platoons/view/4726603585846748181/Platoon-ID = <strong>4726603585846748181</strong>.",
"button.add" : "Hinzufügen",
"hint.name" : "Anzeigename",
"hint.id" : "Platoon-ID",
},
MajorSheppardI wrote:I didn't join any platoon yet. So i am not able to set name and id.
Anyway yes i checked it on the settings.
MajorSheppardI wrote:Okay. Anyway each time i refresh Chrome; the Platton Dropdown settings are unchecked.
If it's working it's maybe my browser
Krayziesoldier wrote:For me it doesn't work. I filled my platoon id and refreshed but nothing happens. The dropdown stays empty.
BrainFooLong wrote:I'll suggest to add some information to the empty dropdown.
I searched some minutes until i checked that i need to goto the BBLog settings :)
Maybe add the button to the entry editor also to the dropdown.