Jump to content

Signature Options


davehardy

Recommended Posts

  • Administrators

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');

Link to comment
Share on other sites

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...

AEA0001.png

Link to comment
Share on other sites

  • Administrators

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 ;)

Link to comment
Share on other sites

  • Administrators

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]);

Link to comment
Share on other sites

  • 5 years later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...