Gametracker SSL Proxy

xF1 Add-on Gametracker SSL Proxy 2.0

No permission to download
Compatible XF Versions
1.0, 1.1, 1.2, 1.3, 1.4, 1.5
Introduction
If you display Gametracker banners on your ssl secured site, you may get a warning for mixed content as Gametracker does not deliver their banner images via https. With this proxy script you are able to fix this issue.

What does this script do?
  1. The script checks, if the banner url starts with GameTracker.com : No Statistics Available to prevent the proxy script being used for any other purposes.
  2. The script checks the banner's file extension to set the appropriate header MIME.
  3. The script outputs the banner via yourdomain.com/gtproxy/?url=*encoded URL*
Preparation
Download and unzip the resource and upload the folder 'gtproxy' to your forum root directory.

Installation
Read these steps carefully as the setup may be a little bit complicated.
  1. Copy the banner code from Gametracker and paste it in your desired location (e.g. separate page or sidebar block).
  2. Look at the code and copy the image URL (bold part). Example:
    <a href="http://www.gametracker.com/server_info/ts.tactical-riot-gaming.de:9987/" target="_blank"><img src="Tactical Riot Gaming [ts3] TeamSpeak 3" border="0" width="560" height="95" alt=""/></a>
  3. Go to https://www.base64encode.org, paste the image URL into the top box and click ">ENCODE<". Copy the encoded URL from the bottom box. In our example it would be:
    aHR0cDovL2NhY2hlLnd3dy5nYW1ldHJhY2tlci5jb20vc2VydmVyX2luZm8vdHMudGFjdGljYWwtcmlvdC1nYW1pbmcuZGU6OTk4Nw==
  4. Replace the image URL in the Gametracker code (the bold section above) with
    gtproxy/?url=aHR0cDovL2NhY2hlLnd3dy5nYW1ldHJhY2tlci5jb20vc2VydmVyX2luZm8vdHMudGFjdGljYWwtcmlvdC1nYW1pbmcuZGU6OTk4Ny9iXzU2MF85NV8xLnBuZw==
    where the blue section is the encoded URL from base64encode.org.
  5. Your final code should now look like this:
    <a href="http://www.gametracker.com/server_info/ts.tactical-riot-gaming.de:9987/" target="_blank"><img src="gtproxy/?url=aHR0cDovL2NhY2hlLnd3dy5nYW1ldHJhY2tlci5jb20vc2VydmVyX2luZm8vdHMudGFjdGljYWwtcmlvdC1nYW1pbmcuZGU6OTk4Ny9iXzU2MF85NV8xLnBuZw==" border="0" width="560" height="95" alt=""/></a>
  6. Save and enjoy!
I'm sure you don't a screenshot for this workaround as the result should be clear
  • Like
Reactions: Vla-Flip
Author
ENXF NET
Downloads
1
Views
1,046
Last update
Rating
0.00 star(s) 0 ratings

More resources from ENXF NET

Top