The Tournament Director Forums

Main => Templates, Layouts and Sounds => Topic started by: Hally on July 06, 2009, 05:37:49 AM

Title: Table template (PSD file)
Post by: Hally on July 06, 2009, 05:37:49 AM
Photoshop template to customise table pics if anyone is interested.
You can change the table color, add remove racetrack, change shadows, put your own logo in etc.
Included a few examples and a possible xml file you can use.
Just put the gif in the images folder and the xml into the templates folder.
Tweak the 3rd line of the xml to direct to your new picture.
In TD go to seating options and click edit table image - browse to your modified xml.

Hally
Title: Re: Table template (PSD file)
Post by: Johno on July 06, 2009, 08:12:52 AM
Awesome, thanks.

Will look at this when I get some time. Very helpful.
Title: Re: Table template (PSD file)
Post by: Scotty K on July 06, 2009, 10:54:54 PM
Very nice job with these files; Great job!

I've done something like this for my own needs, but I wasn't certain there would be any interest in it.  I guess perhaps I was wrong.

Again, great job!
Title: Re: Table template (PSD file)
Post by: Hally on July 09, 2009, 10:35:37 PM
No worries guys - cheers
Title: Re: Table template (PSD file)
Post by: Kannix on July 12, 2009, 04:41:01 PM
Well done.  TY
Title: Re: Table template (PSD file)
Post by: MickejMouse on October 19, 2009, 09:51:40 AM
Very Well Done :D

Just have one question...
Is it possible to make the table's bigger and for 10 players?

I can't make it work :(
Title: Re: Table template (PSD file)
Post by: Hally on November 15, 2009, 11:21:10 PM
What sort of size were you after?
Title: Re: Table template (PSD file)
Post by: Hally on November 15, 2009, 11:46:26 PM
How about something like this:
Title: Re: Table template (PSD file)
Post by: MickejMouse on November 16, 2009, 01:28:26 AM
Thank you very much hally :D
Title: Re: Table template (PSD file)
Post by: Q-Prof on November 24, 2009, 03:08:58 PM
Hally,
Thanks so much for doing this.  I took your psd file and enlarged it to the 770 * 350 pixels, after adding some of my own touch-ups.  I used your recent xml file for the large 10 person table and then made the changes to the seating options as you suggested.  Everything works great except for one issue:

It seems to render the table image in the centre of the screen with no names, then after a split second it then renders a second table overlapping the first one above it towards the top.  I tried this on a bigger screen and it was still doing it, except on the bigger screen it was overlapping further apart.

Do you have any idea what this might be?   ...anyone?

By the way, how did you make that xml file, just curious?

I have attached the gif and the xml files that I am using.
Title: Re: Table template (PSD file)
Post by: Corey Cooper on November 25, 2009, 09:46:46 AM
That is odd.  I tried your blueprint and it works great for me.  What version of the TD and what version of IE are you using?
Title: Re: Table template (PSD file)
Post by: Q-Prof on November 29, 2009, 12:18:05 PM
Thanks Corey for responding- Great software, anyway.... have a tournament coming up this Saturday, so I hope we can figure this thing out before. 

I have attached a screen shot from my desktop, but I actually use a laptop because I use a touch screen monitor in the center of the table, but it happens on both computers (same version of software) which is strange, only on the laptop the two overlap each other half way as it is a smaller screen resolution I guess. 

I included in the screen shot showing part of what the table is showing and my settings window.  Maybe there is something I am missing. 
I am running version 2.5.10

Thanks for your help in advance.
Title: Re: Table template (PSD file)
Post by: Hally on November 29, 2009, 11:09:25 PM
Hi Q-Prof,

My pleasure, but sorry - not sure what is going on there... bit of a mystery ???
The XML was just a 'tweaked' version of the one Corey provided in the software.
I just used some trial and error with the values to get it the way i liked it.

Hally
Title: Re: Table template (PSD file)
Post by: Corey Cooper on November 30, 2009, 11:11:02 AM
Q-Prof: sorry I didn't get back to you sooner.  I recently moved and it's been difficult to provide timely responses.

Your screen shot is a bit small so it is hard to see clearly, but it appears that you're using the table blueprint AND you have the background image set to the blueprint's image.  So, you've got a table image set as the screen background, and since you are using a table blueprint the software is placing table images on top of the background image.  Get rid of the background image and see if the problem clears up.
Title: Re: Table template (PSD file)
Post by: Q-Prof on November 30, 2009, 11:55:40 PM
Corey,

All is good, you were right.  I removed the background image and now it looks like it will work perfect.
Doing this for the first time I thought that because it was a field that need to be filled in, it made sense to put it in there. 

Now it all makes sense, because the xml file already is addressing the image from within the programming code and doesn't need a second background image.
I like the fact that this program allows for customization.  A little work and support and the program looks great.
If you are interested in the table build, which includes a touch screen monitor, flush-mount shuffler, plus some other goodies you can check out my pics here:

http://www.flickr.com/photos/q-prof/ (http://www.flickr.com/photos/q-prof/)
Just click on the album: 2009-08-01_poke r-table-chairs

Thanks Hally for going to the trouble of modifying the xml file to work with the larger table image.

Bottom line, it looks great, names nicely placed in relation to the cup holders
Title: Re: Table template (PSD file)
Post by: Hally on December 08, 2009, 09:04:58 PM
Cheers - great looking table you have built there too!
Must have taken you sometime to build
Title: Re: Table template (PSD file)
Post by: Q-Prof on December 10, 2009, 11:51:22 PM
Thanks Hally,
Yeah, it took a while.  Got a lot done in about three weeks, then added/modified after.  Our poker club wants to play always at my place now.  The built-in auto shuffler works great and speeds up the game also.
Title: Re: Table template (PSD file)
Post by: XchkEm on March 03, 2010, 04:18:00 PM
Im using the blue racetrack and the blue table because they are identical to the two tables I own. The blue race track seems to work fine with the names around the table, the blueracetrack has the names bunched up. Not sure what the issue might be. Any suggestions on fixing it?
Title: Re: Table template (PSD file)
Post by: Hally on March 08, 2010, 10:46:02 PM
XchkEm - are you using the template xml file i provided?
To shift the positions of the names, you go into that xml file and tweak the x/y coordinates for each of the table positions until you are happy with them.

Eg to adjust seat 1, go into the xml file, scroll down to something like:

21  <location x="290" y="10" />

Change the value of x or y to move the relative position of the name.
x will adjust left/right while y will move up/down.
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 11, 2011, 08:06:06 AM
Sorry for bringing life to an old thread, but I have been using TD for years, but never used the seating chart screen.

I am trying to use this xml file Hally provided in the latest beta version.

I have saved the image in the images folder and the xml in the layout folder.  From the seating chart screen I right clicked and selected seating chart properties.  From there I click on edit table images and selected the xml file.

Everything seems to work except the table image is not being displayed.

Any thoughts of what I have done wrong?

Thanks
Title: Re: Table template (PSD file)
Post by: Magic_fubu on April 11, 2011, 10:09:40 AM

I have saved the image in the images folder and the xml in the layout folder.  From the seating chart screen I right clicked and selected seating chart properties.  From there I click on edit table images and selected the xml file.

You should select the image (jpeg, gif, etc.) instead of the xml file. The xml file is info for how a web page should look (to my understanding), whereas it's looking for a picture file.
Title: Re: Table template (PSD file)
Post by: Corey Cooper on April 11, 2011, 12:38:47 PM
Make sure you've saved the image file in the "images" folder of your Data Store.  This is in your "My Documents" folder usually, not in your "Program Files" folder.
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 11, 2011, 01:08:00 PM

The table image is saved here

C:\Users\MyComputer\Documents\The Tournament Director 2\Data\images\greenracetrack.gif

The xml is saved here:
C:\Users\MyComputer\Documents\The Tournament Director 2\Data\templates

The xml pointing to the image is this...

<table>
  <image>
    <path>images/greenracetrack.gif</path>
    <size width="550" height="250" />
  </image>


Any ideas of what's happening?
Title: Re: Table template (PSD file)
Post by: Magic_fubu on April 11, 2011, 01:15:34 PM
I'm not a programmer, so this may not have any effect whatsoever, but did you add the </table> tag at the end? I noticed with what you copied over to here, it's missing
Title: Re: Table template (PSD file)
Post by: Corey Cooper on April 11, 2011, 04:37:44 PM
Looks right to me.  What DO you see on the Seating Chart screen?
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 11, 2011, 07:29:23 PM
Here is a screen shot.  Hopefully, this will show what I am doing wrong.  Thanks for the help.

(http://i338.photobucket.com/albums/n429/flatfootworks/seatingchart.jpg)
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 11, 2011, 07:42:25 PM
This same thing also happens when I select any of the default xml files.
Title: Re: Table template (PSD file)
Post by: Corey Cooper on April 12, 2011, 10:29:51 AM
Excellent, that helps a lot.  So, the interesting things are (a) you don't see an error (the Table Images dialog should report an error if the image file isn't found); and (b) the image is missing on the Table Images dialog as well as the Seating Chart page.

This tends to make me think that IE is unable to render the image.  Try this: pick a cell on the layout and edit it.  Change the HTML to:

<img src="images/greenracetrack.gif" border=1>

Does the image show up?  Is it an empty space or do you see the typical [X] that IE shows for a broken image?  You might want to add some sizing to that and a thicker border to be sure of what you are seeing:

<img src="images/greenracetrack.gif" border=5 height=200 width=200>

You also might want to specify the DataStore in the path:

<img src="<datastore>/images/greenracetrack.gif" border=5 height=200 width=200>

OK, I just tried this with a bad path to the image and the Tables Images dialog does NOT report an error.  So, I'm wondering now if the image file is indeed in the correct place.  And that I should update the dialog to display the error.
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 12, 2011, 12:06:45 PM
When I changed the html on the layout I got the [X].

When I used this <img src="<datastore>/images/greenracetrack.gif" border=5 height=200 width=200> the image shows up on the layout.

Title: Re: Table template (PSD file)
Post by: Corey Cooper on April 13, 2011, 11:08:47 AM
OK, so it looks like the image is good, and it is located in the correct folder.  It is interesting that specifying the <datastore> in the <img> tag shows the image, but the image doesn't show on the Seating Chart page, since the code to display the table essentially does the same thing: it changes "images/greenracetrack.gif" into a path into your data store.  So if your data store is in "C:\Users\MyComputer\Documents\The Tournament Director 2\Data", the table blueprint code should transform "images/greenracetrack.gif" into "C:\Users\MyComputer\Documents\The Tournament Director 2\Data\images\greenracetrack.gif".

Can you post your system info?  In the TD, press Ctrl+Alt+Shift+V to open the System Info dialog.  Press the "Copy to Clipboard" button and then paste it into a reply.
Title: Re: Table template (PSD file)
Post by: FlatFootWorks on April 13, 2011, 07:57:03 PM
Browser: Microsoft Internet Explorer
Browser Client Info Version: 7.0
Browser Code Name: Mozilla
Browser Decided Version: 8.0
Browser Detected Version: 8.0
Browser Language: en-US
Browser Minor Version: 0
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; Zune 4.7)
Cookies Enabled: true
CPU Class: x86
Data Folder: C:\Users\MyComputer\Documents\The Tournament Director 2
Date: 8:54:17 pm 4/13/2011
DB File: C:\Users\MyComputer\Documents\The Tournament Director 2\Data\db\td.db
DB Folder: C:\Users\MyComputer\Documents\The Tournament Director 2\Data\db
Install Folder: C:\Program Files (x86)\The Tournament Director 2
JScript Build: 16732
JScript Version: 5.8
Media Player Version: 12.0.7600.16667
Online: true
Platform: Win32
Preferences File: C:\Users\MyComputer\Documents\The Tournament Director 2\prefs.sav
Repo Config File: C:\Users\MyComputer\Documents\The Tournament Director 2\repo.sav
Repo Folder: C:\Users\MyComputer\Documents\The Tournament Director 2\Data
System Language: en-US
TD Version: 2.6.b4
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; Zune 4.7)
User Language: en-US
Virtual Store Folder: C:\Users\MyComputer\AppData\Roaming\Local\VirtualStore\Program Files\The Tournament Director 2
Title: Re: Table template (PSD file)
Post by: Corey Cooper on April 14, 2011, 09:57:31 AM
I have to admit I'm stumped.  Looks like it should be working to me.  So, you're certain the image is here: "C:\Users\MyComputer\Documents\The Tournament Director 2\Data\images\greenracetrack.gif"?

I did add a check in the Table Images dialog, to warn you if the image cannot be found.  With the next beta we can at least see if the TD thinks the image exists or not.