Skip to content

a PHP-written forums signature generator for World of Tanks MMO game

License

Notifications You must be signed in to change notification settings

tomaski/WoT-signature-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WoT signature example

WoT signature generator

The WoT signature generator is a PHP-written signature generator for World of Tanks related forums.

GitHub version GitHub issues GitHub forks GitHub stars Contributors GitHub license follow WoT signature generator

It will create a 468px wide and 100px high signature (as per maximum allowed size on official WoT forum).

Table of Contents

  1. Requirements
  2. Usage
  3. Signature description

Requirements

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:

  1. this library is needed as the generator makes use of the functions like imagecreatefrompng(), imagecolorallocatealpha() etc
  2. this is required to have the same URL for creating and displaying (see usage)
  3. 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

Usage

  1. upload all files to your server
  2. 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)
  3. 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

Signature description

wot signature explained

[//]: # (back to top

Author

Tomasz Paluszkiewicz

License

MIT

[//]: # (back to top

About

a PHP-written forums signature generator for World of Tanks MMO game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages