Page 1 of 1

Joinability on Games Pages

PostPosted: Sun May 18, 2008 7:06 am
by chipv
Concise description:
Put Joinability (Public/Private/Tournament + Name) somewhere on the games page.
(/games.php?game=#######) even if inside an invisible div.

Specifics:
Currently can only guarantee joinability info from a Game Finder
query (mygames only shows my games not others) which means an extra
fetch for applications requiring this info. Remove need of extra fetch by
placing this info on the game page even if invisible.

e.g.
<div style=\"display:none\" id=\"joinability>Private Game</div>
<div style=\"display:none\" id=\"joinability>Tournament : Canada Day Tourney</div>

this can be exactly the same info as on any games listings page (e.g. mygames, game finder search) in the second
row of the table class "listing" :

<tr class="odd2">
<td colspan="7"><b>Tournament Game: Canada Day Tourney</b></td>
</tr>

This will improve the following aspects of the site:
Removes extra fetches required which would add load to server.

Re: Joinability on Games Pages

PostPosted: Sun May 18, 2008 1:27 pm
by yeti_c
In fact having this info on screen would ensure you know what game you are playing - especially with the "goto next game" link... sometimes you don't know you're playing a tourney game...

C.

Re: Joinability on Games Pages

PostPosted: Sun May 18, 2008 4:50 pm
by AndyDufresne
Some improvements to Join A Game are coming out I believe...


--Andy

Re: Joinability on Games Pages

PostPosted: Sun May 18, 2008 11:04 pm
by lancehoch
AndyDufresne wrote:Some improvements to Join A Game are coming out I believe...


--Andy

chipv is actually talking about the specific page of the game. For his script he would like to only reference the page for Game XXXXXXX and be able to see if the game is: A) public, B) private, or C) a tournament game (with the Tournament name).

Re: Joinability on Games Pages

PostPosted: Mon May 19, 2008 1:03 pm
by lackattack
I plan to put this info on the game screen, it's just a matter of solving the layout...