[BETA] phpBB3 Football MOD Version 0.9.3

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
barnabebear
Mitglied
Beiträge: 4
Registriert: 15.07.2014 16:06

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von barnabebear »

Yes - thanks for this, Football.

I've also made sure that in the "Prediction league settings", the "Host Timezone" ("Difference to the Board time zone if your Host in another time zone stands, so that the tip delivery correctly functions.") is set to UTC.
That was a bit counterintuitive for me as I stand in the UTC + 1 (with DST) time zone (Paris) and that was what I initially had set the box to.

But actually if I understood this right this is the difference of the dealines with the Board time itself, not a time zone per se.

*
* *

On another note, as I continue exploring it I noticed a slight 'bug'.
I deleted a user from my board, without deleting it from the MOD first.
What is strange is that his bets still appear in the tables, now with no name.
But I can't delete those - can't manage his bets from the ACP as he doesn't exist anymore.
Not a big deal in itself but I though I would let you know.

Anyway, thanks again for this amazing MOD and if you think about having it translated to French I would be more than willing to help you on this.
barnabebear
Mitglied
Beiträge: 4
Registriert: 15.07.2014 16:06

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von barnabebear »

Another question for you, Football:
A lot of the members of my forum are now using Tapatalk.
Tapatak does not seem to recognize/see your MOD.
Is there a button somewhere I did not activate ?
Or is it more complicated than that and does it require some coding from you to potentially have a Tapatalk compatible mod ?
If so, do you plan to tackle this or is this way too much to ask from what is already (at the risk of repeating myself) a splendid mod !

Best regards,
Barnabe
fontane
Mitglied
Beiträge: 295
Registriert: 03.02.2013 12:58

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von fontane »

football hat geschrieben:Ich habe die Anzeige wie folgt gelöst:
in /styles/prosilver/template/football/bet.html
die Überschrift der Tipps um ({BET_EXPLAIN}) erweitert:

Code: Alles auswählen

						<th align="center" colspan="3">{L_BET_OF} ({BET_EXPLAIN})</th>
Was muss/soll/sollte/kann/könnte man tun, damit die Anzeige nach dem jeweiligen Tippabgabenende nicht mehr angezeigt wird.

Gewünschtes Ergebnis als Beispiel an Hand der 3. Bundesliga:
Tippabgabe bis 26.07.2014 - 14:00 Uhr möglich = ab 14:00 Uhr wird {BET_EXPLAIN} nicht mehr angezeigt weil ja nicht mehr getippt werden kann.

Danke vorab für ein Feedback

Edit:
der vorstehende Code wäre für mich am einfachsten in z.B. <!-- IF BET SPIELTAG ON --> Code <!-- ENDIF --> einzubetten.

Edit:
Habe mal getestet, und es scheint mit dem Syntax <!-- IF S_DATA_RESULTS --> Code <!-- ENDIF --> zu funktionieren - zumindest sieht es so aus. :grin:
phpbb 3.0.4 | PHP 7.4 | MySQL 5.7
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von football »

fontane hat geschrieben: Habe mal getestet, und es scheint mit dem Syntax <!-- IF S_DATA_RESULTS --> Code <!-- ENDIF --> zu funktionieren - zumindest sieht es so aus. :grin:
Der Schein trügt.
S_DATA_RESULTS wird in results.php gesetzt, wenn Ergebnisdaten vorhanden sind.
In bet.php wird S_DATA_RESULTS nicht gesetzt und ist somit in bet.html gleich false.
Somit "klappt es" am ersten Spieltag, aber bei den anderen Spieltagen sollte die Anzeige ebenfalls fehlen. :cry:

Es sei denn du meinst S_DATA_BET_RESULTS, aber das wäre auch nicht ganz richtig.
S_DATA_BET_RESULTS wird auf true gesetzt, wenn das erste Spiel einen Status > 0 hat, als nicht mehr für dieses Spiel getippt werden kann.
Bei Spieltagen mit mehreren Abgabeterminen sollte die Überschrift aber bestehen bleiben, wenn der erste Abgabetermin erreicht ist.
Dann wechselt der Status für die ersten Spiele (des ersten Abgabetermins) auf einen Status > 0, während die restlichen Spiele den Status 0 behalten.

Besser ist S_EDIT_MODE.
S_EDIT_MODE bleibt true, solange am Spieltag noch getippt werden darf.
Ich würde also ({BET_EXPLAIN}) durch

Code: Alles auswählen

<!-- IF S_EDIT_MODE --> ({BET_EXPLAIN}) <!-- ENDIF --> 
ersetzen.
Nicht die ganze Zeile sondern nur ({BET_EXPLAIN}) so einklammern, damit die HTML Tabellenstruktur nicht durcheinandergerät.

Im MOD baue ich das nicht ein, da es aus meiner Sicht nicht stört, zu wissen, dass man auf das Spielergebnis nach 90 Minuten getippt hat.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von football »

@barnabebear
Tapatalk needs a Tapatalk API ("Plugin") installed in phpbb.
This API has functions for interacting (post,read and search etc.) with discussion forums on mobile devices.
Football MOD isn't based on posts and and has an own strucure and database model.
So you can't use tapatalk for this Mod.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
fontane
Mitglied
Beiträge: 295
Registriert: 03.02.2013 12:58

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von fontane »

football hat geschrieben:Besser ist S_EDIT_MODE.
Ich würde also ({BET_EXPLAIN}) durch

Code: Alles auswählen

<!-- IF S_EDIT_MODE --> ({BET_EXPLAIN}) <!-- ENDIF --> 
ersetzen.
Nicht die ganze Zeile sondern nur ({BET_EXPLAIN}) so einklammern, damit die HTML Tabellenstruktur nicht durcheinandergerät.
Thanks, das funktioniert wie gewünscht :grin:
football hat geschrieben:Im MOD baue ich das nicht ein, da es aus meiner Sicht nicht stört, zu wissen, dass man auf das Spielergebnis nach 90 Minuten getippt hat.
Finde ich OK, wer es braucht kann es selbst einpflegen :wink:

Danke für Dein Engagement
phpbb 3.0.4 | PHP 7.4 | MySQL 5.7
Grimley
Mitglied
Beiträge: 2
Registriert: 01.09.2014 10:13

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von Grimley »

Hello i am using this awesome mod on my forum. I have a little different problem - my forum is about hockey, so i am using this "fotball" mod for "hockey" and i have problem with distributing points to teams after match endings. I don´t know where i can modify how many points gets winner (3 points are ok), but when will team win in overtime there is a problem (team should get 2 points, not only 1) ... is there posibility to solve this problem ? (i don´t know in which file i should search) thx :)
Grimley
Mitglied
Beiträge: 2
Registriert: 01.09.2014 10:13

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von Grimley »

Hello,
please is there any possibility to show total points if i have two leagues in one season? ... i mean total point - so point from league1 and lueague2 together. :) thx for answer
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von football »

For different match points please edit football\block\table.php and expand the "AS points" selections.

Total points of two leagues is not supported, unless you select the leagues in football\block\table.php direct in the WHERE clause.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
JeyP91
Mitglied
Beiträge: 28
Registriert: 21.08.2010 04:17

Re: [BETA] phpBB3 Football MOD Version 0.9.3

Beitrag von JeyP91 »

Hi,

gibt es irgendwelche Pläne, die Mod in eine phpBB 3.1 Extension zu konvertieren?

Viele Grüße
Antworten

Zurück zu „[3.0.x] Mods in Entwicklung“