| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Lumy
Minmatar eXceed Inc. Triumvirate.
|
Posted - 2008.12.08 16:43:00 -
[1]
I've made a player corporation logo generator for python.
You can find the module here: PHP evecorplogo module (Note: it requires PHP GD2 extension)
The module requires preprocessed corp logo layer images, which you can find here: Corp Logo Pack (zip archive, 8MB) You can place the corplogos folder anywhere you want. If you place it in your project's work folder, it will work without having to set the EVE_CORPORATIONLOGO_GLYPHDIR in your code (see below).
If you are looking for a Ruby version, I recommend getting Ix Forres' version here: Ruby logo generator.
If you are looking for a Python version, I recommend getting Entity's version here: Python EVE Player Corp Logo Generator
Example usage: <?php define('EVE_CORPORATIONLOGO_GLYPHDIR', "wherever/you/put/corplogos/");
require('evecorplogo.php');
//use your favorite api library to fetch xml; $xml = CorpCorporationSheet($userID, $apiKey, $characterID);
//set header for direct output header('Content-Type: image/png'); //and put image to output echo EVECorpLogo($xml, 64); //but honestly, i would recomend to save image first
This produces images looking like this: (which just so happens to be Entity corp logo! )
Hope it's useful to someone :)
Thanks to: Chribba, for EVE-Files. CCP, for allowing the use of their logo images. (honestly, they should put whole pack to Community toolkit site. And Entity (from who I shamelessly copied and adapted most of stuf )
Joomla! in EVE - IGB compatible CMS. |

Entity
X-Factor Industries Synthetic Existence
|
Posted - 2008.12.08 16:51:00 -
[2]
heh _
Got Item? | EVE API? |

Dragonaire
Caldari Corax.
|
Posted - 2008.12.08 17:26:00 -
[3]
Good job you saved me from trying to come up with something for PHP Also thanks to Entity for extracting the images I been wanting them and seen many requests by others for them over last year here on the forums and no one seemed to ever come up with them. -- Finds camping stations from the inside much easier. Been known to write some PHP code for API from time to time too. |

Mira O'karr
Minmatar eXceed Inc.
|
Posted - 2008.12.08 21:56:00 -
[4]
nice one lumy :)
|

Lumy
Minmatar eXceed Inc. Triumvirate.
|
Posted - 2008.12.08 22:04:00 -
[5]
Added: EVE Corporation Logo Generator - Online version
Joomla! in EVE - IGB compatible CMS. |

Dragonaire
Caldari Corax.
|
Posted - 2008.12.08 22:44:00 -
[6]
Thanks Lumy for online version sure it's get a work out already  -- Finds camping stations from the inside much easier. Been known to write some PHP code for API from time to time too. |

speedcat
Gallente Human Liberty Syndicate Curatores Veritatis Alliance
|
Posted - 2009.02.25 02:52:00 -
[7]
Hello all
Sorry but I really don't get how I can get your .php -File up and running. There's too much confusion for me about the input I have to give the file if I just have userid, charid, API ... Can you perhaps do another example?  I'm a bit noob at php.
speed
|

Lumy
Minmatar eXceed Inc. Minor Threat.
|
Posted - 2009.02.25 10:44:00 -
[8]
Heh, you need to replace lines
//use your favorite api library to fetch xml; $xml = CorpCorporationSheet($userID, $apiKey, $characterID);
with some REAL api library. You can get latest version of Ale here http://sourceforge.net/project/showfiles.php?group_id=233060&package_id=307334.
$api = new Api(); $api->setCredentials($userID, $apiKey, $characterID); $xml = $api->getCorporationSheet();
I hope that helps.
PS: New (much much better) version of Ale should come soon(tm).
Joomla! in EVE - IGB compatible CMS. |

Lumy
Minmatar eXceed Inc. Minor Threat.
|
Posted - 2009.04.01 23:05:00 -
[9]
Shameless bump, because couple of new stuff.
1. Site moved.
2. Added support for gif and jpeg formats.
3. Allows to generate images directly from name: http://evecorplogo.code-box.sk/<corporationID>.<fileType> e.g.: http://evecorplogo.code-box.sk/423229765.png
Joomla! in EVE - IGB compatible CMS. |

Kaper
Delve Inc.
|
Posted - 2009.05.07 01:46:00 -
[10]
nifty little tool.
For "normal" people there's an easier way of finding the corp ID.
type in the corp name in chat, mark it with the mouse, right click it, select autolink->corporation and hit enter. You should now have your corp linked in the chat channel. Right click that and select copy. then paste in notepad, or for that matter in the eve chat again.
Output will be along the lines of : yourname > <b><url>showinfo:2//123456789>WhatEverYourCorpIsCalled</url></b>
123456789 = your corp id.
|
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |