The WoT signature generator is a PHP-written signature generator for World of Tanks related forums.
It will create a 468px wide and 100px high signature (as per maximum allowed size on official WoT forum).
Prior to uploading the files make sure you meet following requirements:
- PHP >= 4.3.2 with libgd 1
- Apache with mod_rewrite 2
- Wargaming Application ID 3
explanation:
- this library is needed as the generator makes use of the functions like
imagecreatefrompng()
,imagecolorallocatealpha()
etc - this is required to have the same URL for creating and displaying (see usage)
- in order to be able to access player's tanks en stats, you must be registered to Wargaming Developers Room (click) and have your application created.
[//]: # (⬆ back to top
- upload all files to your server
- edit
incl/config_incl.php
- your API ID (this is your application ID)
- your API token (required for access to more sesitive player data - currently not used)
- your API URL (change it depending on the realm generator needs to use: EU/RU/NA/ASIA)
- use following URL scheme for creating/displaying signature
URL_TO_GENERATOR/PLAYER_ID
So if generator URL is https://my-wot-signature.net/
and you want to create signature for player with ID 123456789
, your signature URL should look like: https://my-wot-signature.net/123456789
With Apache's mod_rewrite server will serve a file 123456789.png
if it exists inside ./autogenerated
or redirect to https://my-wot-signature.net/generate.php?id=123456789
if the file was not found.
generate.php
will create the signature inside ./autogenerated
and serve it
So whether the signature exists or not, it will be displayed (if the player ID is correct, of course) :D
[//]: # (⬆ back to top
[//]: # (⬆ back to top
[//]: # (⬆ back to top