davehardy Posted January 3, 2009 Report Share Posted January 3, 2009 Config::Set('SIGNATURE_TEXT_COLOR', '#FFFFFF'); This doesnt change the color of the txt Should be dark blue with #003366 that i added to my local_config and i used the reset button lots of times Dave Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 3, 2009 Administrators Report Share Posted January 3, 2009 Did the background change when you hit the reset. Try it without the # sign Actually I found an error in my code, To fix it for now, open core/common/pilotdata.class.php, around about line 486, theres: sscanf($color, Config::Get('SIGNATURE_TEXT_COLOR')); Replace it with $txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x'); Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 3, 2009 Report Share Posted January 3, 2009 Is there any way you could add to the code or whatever so you can have more than one background to choose from?? Like with my airline im of course AirEast but within the east there are alot of great things, animals, music, mountain and whatnot so im basing my livery's off of those things, for example 'Bear Air' is just one of them hence the bear on the tail of the aircraft. So is there any way we could have more than one signature but have the pilots choose what ones they want for a background??? And i replaced that code but my text color dosent change also... Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 3, 2009 Report Share Posted January 3, 2009 Fixed the sig color, lol and my questions still stands tho...if its possible... Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 3, 2009 Author Report Share Posted January 3, 2009 didnt fix it for me do i have to remove the # too ? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 3, 2009 Administrators Report Share Posted January 3, 2009 It'll remove the # sign. Weird, I'll take a look a bit deeper, it was working. Arg. And as for multiple backgrounds... right now no... I'll put it on my list though Oh, you guys know it'll take the size of the background image, so you can adjust the size through the bg image size. If you thought it was too big Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 3, 2009 Report Share Posted January 3, 2009 Naw i just went into photoshop and gave it a nice size for forums and whatnot, then uploaded it when into the one file i needed to edit and change the image location for it and it pretty much did the work for me, lol! Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 8, 2009 Author Report Share Posted January 8, 2009 get anywhere with this? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 8, 2009 Administrators Report Share Posted January 8, 2009 Haven't got to it yet, workin' my way down my list, it's the 3rd one down, hopefully by this afternoon, unless my boss decides to do something crazy like give me work. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 8, 2009 Administrators Report Share Posted January 8, 2009 Ok, find that sscanf() line, around line 499, replace that line and the next one with this: $txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x'); $textcolor = imagecolorallocate($img, $color[0], $color[1], $color[2]); Quote Link to comment Share on other sites More sharing options...
Curshad Posted June 20, 2014 Report Share Posted June 20, 2014 Ok, find that sscanf() line, around line 499, replace that line and the next one with this: $txtcolor = str_replace('#', '', Config::Get('SIGNATURE_TEXT_COLOR')); $color = sscanf($txtcolor, '%2x%2x%2x'); $textcolor = imagecolorallocate($img, $color[0], $color[1], $color[2]); HI CAN I CREAT A NEW SIGNATURE AND ADD IT TO ANOTHER AIRLINE WITHIN MY VA? FOR E.G. I HAVE A CODESHARE AIRLINE SILVER AIRWAYS ITS AN ADDED AIRLINE (FROM WITHIN THE ADMIN CENTER) UNDER MY SKY BAHAMAS VIRTUAL AIRLINE. SO THE IMAGE IN MY FORUM SIGNATURE IS THE SIGNATURE FOR MY VA I WANT SIL PILOTS TO HAVE A SIMILAR ONE BUT MODDED SO THEY CAN SEE THEY ARE SIL PILOTS BUT ALSO KEEPING MY CURRENT SIGNATURE. Quote Link to comment Share on other sites More sharing options...
Curshad Posted June 20, 2014 Report Share Posted June 20, 2014 heres the image Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.