Nabeel 1723 Report post Posted December 11, 2008 Signatures are generated automatically, for each pilot. They are regenerated and stored, to alleviate server load. They're regenerated when a PIREP is filed, or an admin selects the option in the admin panel. The general format of a signature link is: http://yourvasite.com/lib/signatures/YOUR_PILOT_CODE.png So if you are VMA0045 - http://yourvasite.com/lib/signatures/VMA0045.png And this can be used as the link to a forum, etc. The basic signature is create from the background.png file, in /lib/signatures. The signature image will take the size of the background image (so if it's 500x150, then the signature will be that same size). They are all generated as PNGs. There are several options for signatures in your local.config.php: Config::Set('SIGNATURE_TEXT_COLOR', '#FFFFFF'); Config::Set('SIGNATURE_SHOW_EARNINGS', true); Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); Config::Set('SIGNATURE_SHOW_COPYRIGHT', true); SIGNATURE_TEXT_COLOR - The text color on the signature SIGNATURE_SHOW_EARNINGS - Show how much money a pilot has made (true/false) SIGNATURE_SHOW_RANK_IMAGE - Show the image for the rank of the pilot (true/false) SIGNATURE_SHOW_COPYRIGHT - Show the "powered by phpVMS, VA Name" (true/false) If you change an option, or the background image, in the admin panel dashboard, click "Generate Signatures". This will refresh all of them. Share this post Link to post Share on other sites
bunoire14 5 Report post Posted December 18, 2009 Nabeel, Is it possible to change the Font of the Signature and where its placed/formatted on the Image? Thanks, Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted December 18, 2009 Not without changing the code itself, I was planning to make that adjustable, but never got around to it Share this post Link to post Share on other sites
TAV1702 912 Report post Posted December 31, 2009 if you uploaded a custom pic and named it background.png, be sure to delete the image out of the sig folder when updating or it will over write your sig banner every time. I learned my lesson and did not name my sig banners the same as default one. Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 9, 2010 i just made a new background and now the sig is pure black with the US flag http://i50.tinypic.com/212bkwi.jpg << Current http://i46.tinypic.com/4h2jww.png<<What it should be Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted January 9, 2010 Make sure it's a proper JPG/PNG with no alpha layers, I don't think it like transparency layers. Did you try the regenerate link in maintenance? Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 10, 2010 Im pretty sure there are no layers will double check it is png and i did do the regen, will try again tonight! Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted January 11, 2010 You can also send it to me to try it out Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 11, 2010 Ok i just sent you a PM with a link to the image, thanks for the help! Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 14, 2010 Still not working showing up as a black square with the US flag.. Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted January 14, 2010 Sorry, forgot about this. It seemed to work for me. Can you try a different image? Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 15, 2010 I changed the image and it came out black, i put it back to the default one ( i renamed it to 123background.png ) and renamed it to the default background.png and it worked but no other images are working, let me delete the image i want to use and reupload. Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted January 15, 2010 How did you create that image? What if you create a different one Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 15, 2010 Created via Seashore app on Mac, I wil try to create another "sample" image. Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 15, 2010 Creating a new image worked, guess i will re-make my old image Share this post Link to post Share on other sites
Nabeel 1723 Report post Posted January 15, 2010 Created via Seashore app on Mac, I wil try to create another "sample" image. They might have been doing something funky with the image Share this post Link to post Share on other sites
JohnMck93 0 Report post Posted January 15, 2010 guess so, got it fixed now, thanks for all the help! Share this post Link to post Share on other sites
MAT 3 Report post Posted August 19, 2010 Hi Nabeel, would you be able to list the codes for colors on the signatures please as I am wanting to change the color of the text Thanks! Share this post Link to post Share on other sites
joeri 363 Report post Posted August 19, 2010 just google html collor codes and those you can use Share this post Link to post Share on other sites
MAT 3 Report post Posted August 19, 2010 Ok, thanks joeri Share this post Link to post Share on other sites
shaun105 4 Report post Posted December 29, 2010 Hi Is there a way to give a pilot a choice of signatures. For instance A330 Pilot signature, ATR72 Pilot. Or is it just the one signature? Share this post Link to post Share on other sites
simpilot 2129 Report post Posted December 30, 2010 You can add all the backgrounds you would like in the signatures/backgrounds/ folder and when the pilot goes to edit their profile there will be a dropdown with all the background file names to chose from. Share this post Link to post Share on other sites
shaun105 4 Report post Posted January 5, 2011 You can add all the backgrounds you would like in the signatures/backgrounds/ folder and when the pilot goes to edit their profile there will be a dropdown with all the background file names to chose from. Excellent Many thanks for that Sim Pilot. Share this post Link to post Share on other sites