Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!
 Topic closed!!!

Subject: Sokker Extensions

2008-05-22 14:20:11
country for which it does not work till now :

Austria
Israel
Germany
Azərbaycan
France (it's written "manque paramètres"---> data missing)
2008-05-22 17:41:18
These NT page uses teamname and not teamID (same script).
Teamname is commented out from the current script source and the text box is not write able so you cannot manually add it.
Azərbaycan has a complete different script, nothing is added there.
I would just remove Azərbaycan from the script...


Aha! Thanks for this information, I commented that part of the code because I didn't know to what information it corresponded, now that I know I can substitute it with a new line to get the right team name! ....I'll try to do it now :)
2008-05-22 17:58:37
Ok I think I fixed the bug of the teamname, now the script should be working to most (or all) the NT databases. I tested it with Romania, Bosnia and Hungary, yoou may test with others.

So you can find the script here: http://www.mkvale.it/mk/sokker/js/sokkerntdatabase.user.js

Unfortunately you may need to find a way to convince Firefox that the file has changed. In case you don't succed, you can try to unisntall the script, and re-download it from this other link http://www.mkvale.it/mk/sokker/sokkerntdatabase.user.js


I am not able to fix it for non plus users because I am plus and I don't see how it looks like the player detal page for non plus users, if someone wants to send me the source of and example page he gets I may be able to fix it.
2008-05-22 18:01:24
What dus it do
2008-05-22 18:05:06
It puts a flag in the detail page of each player, if you click on the flag, it helps you to submit the player in the National Team database for the country of such player.

It worked well before the new design and we had to re adapt it
2008-05-22 18:09:45
great, it works.
I found another feature.
There is a player on the transferlist from Austria where I can also press a button (button does not work though).
Why does this player have a button and others not and why does it not work?
Do you have the button as well?
player
(edited)
2008-05-22 18:14:20
I don't get any button, but words instead of the flag: I think that when a player is on sell the page changes in a way that makes my version of the script do not work!
2008-05-22 18:19:00
yes, words instead of flags.
Thats what I have as well.
Why this player?
2008-05-22 18:29:16
now it works!
2008-05-22 18:34:44
not working for me, this is what i get

Country Database Not Available

It seems that this country has still not a database.


help?
2008-05-22 18:35:43
?
The country you want to add the player to has no NT database.
You can read, no? :P
2008-05-22 18:36:53
Same for Hellas.
2008-05-22 18:38:23
Your country has no nt database.
Of course this script does not work with countries that don't have a nt database.
2008-05-22 18:41:57
? We have a database. With the old design everything worked fine.
(edited)
2008-05-22 18:42:36
Just released a new version.

Now, we have 4 more information about players: value (request the $val), wage (request $wag), form (request $frm) and tactical discipline (request $tac).

Also, databases using the default pages created by Manda_Chuva and dark, will need to adapt a little the css styles because the new css have different names. Just change styles name in indexsk.php and sendsk.php pages.


http://sokker.domiciano.eng.br/sokkerntdatabase.user.js

INSTALL

Need to test by NON PLUS users.
2008-05-22 18:44:14
Well, there is not even information about your database on your NT Page.
How is anyone supposed to find out about the database? :(