Page 1 of 1

Gamercard with Stats 2.0 (More images + more)

Posted: Wed Apr 06, 2016 9:28 pm
by myabsolution
Today, the_fog installed some improvements to the Game Cards. For the while, they won't update their stats as they will be stored in cache until a full day has passed to save CPU usage. Additionally, they can only be shown as long as the "Make your Game Stats public?" option on the GamePrefs page is set to "YES."

Also, thanks to MrCreamy, 6 new images were added to the collection. Link works the same way as it has worked before, alternatively, they can work like this:

Code: Select all

http://obsrv.org/banners/[scenario abbreviation][picture number1-12]/[player ID].png

Some examples of functioning code:

Code: Select all

http://obsrv.org/banners/bfp01/SAILOR.png
Image


Once again, enjoy!

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Wed Apr 06, 2016 10:06 pm
by StuntmanSnake
Good stuff!

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 12:03 am
by Silver Gray
Nice :eek:

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 12:21 am
by TheMixedHerb
Good stuff again, but all of the base images and their corresponding numbers should be in the post to show them off I think. Also, which scenarios have ones and which ones don't - and if so how many? It's kinda hard to tell, fits into my initial point though.

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 2:15 am
by myabsolution
Good stuff again, but all of the base images and their corresponding numbers should be in the post to show them off I think. Also, which scenarios have ones and which ones don't - and if so how many? It's kinda hard to tell, fits into my initial point though.

you can just use banners/[b][u]numbers1-12[/u][/b]/id.png

so instead of scenario code, just insert number 1-12.

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 2:24 am
by AssassinMan23
Keep em coming dudes. looking good.

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 3:15 am
by leotreves
This is kool. I see they liked my idea for renaming the cards. Great job, guys Image

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 7:31 pm
by the_fog
99% of the script work was done by alinho, kudos to him ;)
100% of the gfx work was done by MrCreamy, thanks again!

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 8:19 pm
by leotreves
Btw I couldn't set it for me. It keeps showing

It was not possible to determine the dimensions of the image. Please verify that the URL you entered is correct.

WIth another ID it seems to work, but not with mine.

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 8:23 pm
by alinho
Btw I couldn't set it for me. It keeps showing

It was not possible to determine the dimensions of the image. Please verify that the URL you entered is correct.

WIth another ID it seems to work, but not with mine.
Do you have "Your player statistics are public" set to "YES" here:
biopanel.php

If so, can you give me your Player ID?

Re: Gamercard with Stats 2.0 (More images + more)

Posted: Thu Apr 07, 2016 8:26 pm
by leotreves
Weird... It used to be. Along with the setting: ONLY FRIENDS CAN JOIN.
Now it all looks reset.

Anyways, setting it back to public made it work. Guess we have one less troubleshoot