Grumeau_leMalpropre
![](./modules/PNphpBB2/images/avatars/upload/5751867535a7c767ef01a6.gif)
Joined: Mar 01, 2011
|
  Posted:
Mar 01, 2019 - 03:27 |
|
Hi everyone,
I made a few php scripts to help with group managing. I put the link here in case it could be useful to someone else.
•calendrier.php writes bbcode for a nicer tournament schedule with picons and stuff. From "https://fumbbl.com/api/tournament/schedule/#####"
it uses two 'sub-function' scripts:
• stuntyPiconJBM.php builds an associative array with stunty rosters and picons from "https://fumbbl.com/api/roster/get/##/xml" and to be stored locally.
• teamsInfo.php takes all teams of given group and builds an array. From "https://fumbbl.com/xml:group?id=####&op=members"
the ouput is pasted in group info for this result
the code is here on github |
Last edited by Grumeau_leMalpropre on %b %13, %2019 - %20:%Mar; edited 4 times in total |
|
Grumeau_leMalpropre
![](./modules/PNphpBB2/images/avatars/upload/5751867535a7c767ef01a6.gif)
Joined: Mar 01, 2011
|
  Posted:
Mar 01, 2019 - 03:32 |
|
i'm by no means a programmer, i did it partly to learn some php. So if you have a look and have some comments, they're all welcome. |
|
|
Grumeau_leMalpropre
![](./modules/PNphpBB2/images/avatars/upload/5751867535a7c767ef01a6.gif)
Joined: Mar 01, 2011
|
  Posted:
Mar 15, 2019 - 16:53 |
|
ok, i'd like to push it a step further and add a few to lines to fetch group info, modify it and repost it.
Any clues about that, and what to avoid in terms of interaction with the server ?
I was thinking to go with fsocketopen() and fwrite(), would that work ? |
|
|
koadah
![](./modules/PNphpBB2/images/avatars/upload/11621913544284994cadd9f.gif)
Joined: Mar 30, 2005
|
  Posted:
Mar 15, 2019 - 17:00 |
|
|