Administrators Nabeel Posted December 11, 2008 Administrators Report Share 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. Link to comment Share on other sites More sharing options...
bunoire14 Posted December 18, 2009 Report Share Posted December 18, 2009 Nabeel, Is it possible to change the Font of the Signature and where its placed/formatted on the Image? Thanks, Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 18, 2009 Author Administrators Report Share Posted December 18, 2009 Not without changing the code itself, I was planning to make that adjustable, but never got around to it Link to comment Share on other sites More sharing options...
TAV1702 Posted December 31, 2009 Report Share 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. Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 9, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 9, 2010 Author Administrators Report Share 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? Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 10, 2010 Report Share 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! Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 11, 2010 Author Administrators Report Share Posted January 11, 2010 You can also send it to me to try it out Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 11, 2010 Report Share Posted January 11, 2010 Ok i just sent you a PM with a link to the image, thanks for the help! Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 14, 2010 Report Share Posted January 14, 2010 Still not working showing up as a black square with the US flag.. Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 14, 2010 Author Administrators Report Share Posted January 14, 2010 Sorry, forgot about this. It seemed to work for me. Can you try a different image? Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 15, 2010 Report Share 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. Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 15, 2010 Author Administrators Report Share Posted January 15, 2010 How did you create that image? What if you create a different one Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 15, 2010 Report Share Posted January 15, 2010 Created via Seashore app on Mac, I wil try to create another "sample" image. Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 15, 2010 Report Share Posted January 15, 2010 Creating a new image worked, guess i will re-make my old image Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 15, 2010 Author Administrators Report Share 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 Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 15, 2010 Report Share Posted January 15, 2010 guess so, got it fixed now, thanks for all the help! Link to comment Share on other sites More sharing options...
MAT Posted August 19, 2010 Report Share 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! Link to comment Share on other sites More sharing options...
Moderators joeri Posted August 19, 2010 Moderators Report Share Posted August 19, 2010 just google html collor codes and those you can use Link to comment Share on other sites More sharing options...
MAT Posted August 19, 2010 Report Share Posted August 19, 2010 Ok, thanks joeri Link to comment Share on other sites More sharing options...
shaun105 Posted December 29, 2010 Report Share 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? Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 30, 2010 Administrators Report Share 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. Link to comment Share on other sites More sharing options...
shaun105 Posted January 5, 2011 Report Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts