Mug Shots

Any questions related to version 2 or version 3 should be ask here. / Toutes les questions sur la version 2 ou la version 3 devraient être demandées ici.
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Mug Shots

Post by RSGN »

Hi,

I'm using the STHS Web link with the team logos for our league. I would like to know if it's possible to have the mug shots included on the league site. If so how do I proceed in order to see the photos of the players? (is it done via the Simulator? and if so on which tab?).

Thank you all.

RS
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Mug Shots

Post by SimonT »

Hi.

It's done with the Website Custom URL in the V3 Tab out of Output Option.
This section allows you add 2 custom links and their corresponding title in the website header, under the Main section. It also allows you define a ‘Mug shot Base Url’ (The option should be "http://cdn.nhle.com/photos/mugs/" without the quote) and ‘Mug Shot File Extension’ (The option should be "jpg" without the quote"). With those 2 options fill and by filling the NHL Players ID in the Edit Players Windows, the Player’s Report and Goalie’s Report dynamic webpage will show the NHL player’s mug shot from the NHL website.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

Thank you again for the great support.
Blackhawk
The Accomplished One / L'Accompli
Posts: 79
Joined: Sun Dec 15, 2013 6:32 pm

Re: Mug Shots

Post by Blackhawk »

Is there another URL to get Mug Shots?

It works well with the URL listed above, but lots of younger players like boeser, konecny, dobson appear with the default picture... so i think, they are not listed on this site...
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

Thanks for that, I could not have the mug shots to appear on my site.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Mug Shots

Post by SimonT »

Do you have some mugshot or no mug shot at all? You need 3 options to make it work.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Blackhawk
The Accomplished One / L'Accompli
Posts: 79
Joined: Sun Dec 15, 2013 6:32 pm

Re: Mug Shots

Post by Blackhawk »

something doesn't work properly in my league... when i compare it with your demo site...

look at this for example:
http://www.slnf.ch/FileWebClient/Player ... layer=1699

Casey Mittelstadt - his Mug Shot does not appear and its oval - not round

same player on your demo-site:
http://sths.simont.info/WebsiteDemo/Pla ... Player=242

What do i need to adjust?
Blackhawk
The Accomplished One / L'Accompli
Posts: 79
Joined: Sun Dec 15, 2013 6:32 pm

Re: Mug Shots

Post by Blackhawk »

found it... V3 Dynamic-Web-Page needed...

Issue closed for me
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

SimonT wrote: Thu Jun 24, 2021 10:57 pm Hi.

It's done with the Website Custom URL in the V3 Tab out of Output Option.
This section allows you add 2 custom links and their corresponding title in the website header, under the Main section. It also allows you define a ‘Mug shot Base Url’ (The option should be "http://cdn.nhle.com/photos/mugs/" without the quote) and ‘Mug Shot File Extension’ (The option should be "jpg" without the quote"). With those 2 options fill and by filling the NHL Players ID in the Edit Players Windows, the Player’s Report and Goalie’s Report dynamic webpage will show the NHL player’s mug shot from the NHL website.

I tried to follow the above instructions to input the links for the mugs shots. 1. I have put the title of my league website "Main Custom URL #1 Title" and on the link under
"Menu Custom URL #1 Link" I have put the http://cdn.nhle.com/photos/mugs/jpeg. On your note above it says "jpg" however the Mug shot base URL says "jpeg" I have switch between the two (Jpg and jpeg) and I still cannot get the mug shots on my website. What am I doing wrong?.

Thanks.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Mug Shots

Post by SimonT »

What your website URL?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

Web site is www.laswhl.ca
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Mug Shots

Post by SimonT »

Hi.

Your players doesn't have their "NHL ID" fill. Without this critical information, the Mug shot will not show correctly.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

Where do I get the NHL ID for the players?

Ex: AJ Greer has "URL LINK : https://www.nhl.com/player/8478421 - NHL ID is blank
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Mug Shots

Post by SimonT »

You can find a file with all number in the Download section, Ratings\2021\SHL-RatingsPack-2021.zip\Ratings-164GP\NHLID.csv. This file can be import in the STHS with the feature in the Bonus sub-menu of the STHS.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
RSGN
New in Town / Le Ptit Nouveau
Posts: 34
Joined: Sun Jan 17, 2021 1:11 pm

Re: Mug Shots

Post by RSGN »

Super,

Thank you.
Post Reply