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!

Asunto: [bug] notes about retired player

  • 1
2022-06-27 14:01:34
Mark Stark para Todos
Hi, I report this bug, kindly asking to fix it.

When a player is retired, its notes still occupies one of the 100 available slots and remains undeletable.

So time by time private or public notes can become unusable.

Thanks in advance.
2022-06-27 14:10:55
It has always been this way unfortunately.
I guess the devs expect managers to mail all the previous owners that he will fire a player, so whatever notes you might have on the player, destroy them.

BURN ALL THE EVIDENCE!

https://imgflip.com/i/6l0csd
(editado)
2022-06-27 14:12:03
EJ para Mark Stark
A bug that's been known for years my friend,

Unfortunately it wont have any rush so I think it will be fixed around 2025, with a bit of luck.
2022-06-27 14:12:24
on the devs priority table from 1 to 10 this bug is on position 27
2022-06-27 16:23:59
They are aware of this and they will fix it someday. Meanwhile I can offer You a way to remove these notes in a little more complicated way than just a mouse click.
2022-06-27 16:30:55
would be interesting if you could share this to all of us, no matter if it's a bit longer
2022-06-27 16:44:05
Meanwhile it isn't fixed, why don't extend the limit of notes from 100 to 200?

It won't be hard to implement, not even should be heavy to manage.. :)
2022-06-27 18:22:59
I just found it out :)

Step 1:


Find the player ID in the note link:
Example:
https://sokker.org/briefcase/action/newnote/playerID/38066692

Step 2:


Open a note of a player that is not fired so you can edit it

Step 3:


Right click on the textarea and select "inspect". Find the name="note[PlayerID]" text and replace the ID of the player by the one you found on step 1


Step 4:


Remove the text of the note and click on save
2022-06-27 20:56:06
Yes, it was more or less this way, I dont even remember exactly how but I have some js commands copied/remembered

so another tutorial how to do it (which ultimately does the exact same thing as in Terrion how-to) would be:
1. log into sokker.org
2. go to one of the old pages, e.g. /office
3. fill {player-id} with identifier of player whose note You want to remove in one of the command below
* for private note:
$.post('https://sokker.org/briefcase/action/saveprivnote', {'note[{player-id}]': ''})
* for public note
$.post('https://sokker.org/briefcase/action/savepubnote', {'note[{player-id}]': ''})
4. press ctrl+shift+j (chrome/vivaldi/opera/edge) or ctrl+shift+k (firefox), the developer tools "window" should pop up and console tab should be switched on
5. paste command from 3 and press enter
6. check, note should be gone

to get id of player whose note you want to remove one should probably go to page with notes and copy it from URL address on link to player note

exemplary command to remove private note of player with id=21827434:
$.post('https://sokker.org/briefcase/action/saveprivnote', {'note[21827434]': ''})
(editado)
  • 1