exelenze писал(а):I found some bugs and i have corrected them too here you go.
poss.php line 94
Wrong:
Код: Выделить всё<td><img src="/images/<?php echo $val['type']; ?>.png"></td>
Correct:
Код: Выделить всё<td><img src="./images/<?php echo $val['type']; ?>.png"></td>
---------------------------------------------------------------------------------------------------------------------------
translate\main_en.php line 120
Wrong:
Correct:
Missing translations for both russian and english - Check out this picture
thnx, we will fix that.
exelenze писал(а):After you press install this happens

This happens because you use default windows Notepad for editing files. Notepad, when saving files places at the beginning of the file some system symbols, and PHP threats threat them like a output text, and this cause a mistake.
So, open functions/mysql.php, delete the space before first "<?php" in the first line of file, and this mistake will disappear.
Also use another text editor, not Notepad (for example, i use AkelPad), and save text in "UTF8-without BOM" charset, not in the ANSI.
Blocked tanks dont show up after ranked battles.
There is no way to determine blocked tanks automatically. Wargaming just don't share with anyone this information, and this tab doesn't work like you think.
When you login to site, on the tab with blocked tanks you will see a form for upload files. You must upload replay of your battle, script will automatically parse data from replay, detect who played, on what tank and how log this tank will be blocked. And this info he will display.
So, feed him with replays of your fights, and he will work.
PS. In version 2.1.5 we added Activity tab, who works almost the same. You upload replay of any of you clan fight (global map, training, etc.) and module count this fights as activity, and show info about that.
This function for sorting/adding new tabs to the tabs "Presented Tanks" dont work.
If you select anything else than 1 in the sections 1 to 10 the tank/tier will go missing in "Presented Tanks"
For sorting you have "show order", this tab index used to split one tab for 2-10 new tabs.
We don't have faq in english how to use it, mb google translate can help:
viewtopic.php?f=30&t=2982If not, here the simple faq - copy aval_top_tanks.php as any other file to tabs folder, open it, find "$index = 1;" text, change 1 to 2-10, in admin CP give name/id to new tab and all tanks with index 2-10 will be displayed in new tab.
For example:
http://gs-wot.16mb.com/main.php#tabs-90http://gs-wot.16mb.com/main.php#tabs-91http://gs-wot.16mb.com/main.php#tabs-92