Search found 5 matches

by sm11963
10 September 2024, 05:50
Forum: Developers
Topic: Possible bug in New Game Template
Replies: 6
Views: 286

Re: Possible bug in New Game Template

While I'm discussing it here, I ended up making a handful of small fixes to the tutorial so that it all works. I just went through it all and with my edits everything works as described. Would appreciate a quick review of all the changes I made, just to double check: https://en.doc.boardgamearena.co...
by sm11963
10 September 2024, 04:59
Forum: Developers
Topic: Possible bug in New Game Template
Replies: 6
Views: 286

Re: Possible bug in New Game Template

@thoun it actually looks like you added this to the Hearts tutorial in June: const card_style = this.getGameUserPreference(100); diff here: https://en.doc.boardgamearena.com/index.php?title=Tutorial_hearts&diff=prev&oldid=21683 I just removed this from the tutorial because with a newly creat...
by sm11963
09 September 2024, 18:52
Forum: Developers
Topic: Possible bug in New Game Template
Replies: 6
Views: 286

Re: Possible bug in New Game Template

We want to get rid of the HTML building on PHP file in the end, that's why the template was cleaned, there's no plan to put them back. Can you add the 2 missing lines in the Hearts tutorial instead? Until we have the time to rewrite that part of the tutorial with front-side HTML generation. Sounds ...
by sm11963
09 September 2024, 06:55
Forum: Developers
Topic: BGA WebView App
Replies: 4
Views: 420

Re: BGA WebView App

Is the existing WebView app only for Android? Following that link on iOS (either Chrome or Safari), I just get “Sorry, web push notifications are not supported on your browser.”
by sm11963
08 September 2024, 21:04
Forum: Developers
Topic: Possible bug in New Game Template
Replies: 6
Views: 286

Possible bug in New Game Template

Hey folks, I was following the Hearts tutorial verbatim yesterday and found that the step that has you modify the .view.php results in an error because `$players` is not defined. The tutorial says to "In .view.php insert this code after 'Place your code below' comment": $template = $this->...

Go to advanced search