Avatar Using Problem in Version 4

For general discussion of the Poker Mavens software
Post Reply
spoker
Posts: 76
Joined: Tue Sep 24, 2013 2:45 am

Avatar Using Problem in Version 4

Post by spoker »

Dear Kent,
i cant use my custom avatars in version 4 ,
i cant find avatar folder and i donw know how to use Avatar Graphic !
please give me an example code with image
thanks!
regards
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Avatar Using Problem in Version 4

Post by Kent Briggs »

spoker wrote:i cant use my custom avatars in version 4 ,
i cant find avatar folder and i donw know how to use Avatar Graphic !
Avatars must be in a single horizontal image in version 4. See the bottom of this page:

http://www.briggsoft.com/docs/pmavens/Templates.htm
spoker
Posts: 76
Joined: Tue Sep 24, 2013 2:45 am

Re: Avatar Using Problem in Version 4

Post by spoker »

Thanks , its ok now,
but about Player Avatar ..
in Version 3 we using this code for Get Player Avatar :
http://12.34.56.789:8087/avatar?Player=Aces123
but what in Version 4 ?!
ty
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Avatar Using Problem in Version 4

Post by Kent Briggs »

spoker wrote: in Version 3 we using this code for Get Player Avatar :
http://12.34.56.789:8087/avatar?Player=Aces123
but what in Version 4 ?!
http://12.34.56.789:8087/Image?Name=Avatars

See the second example under "Create New Account" on the API Examples page:

http://www.briggsoft.com/docs/pmavens/API_Examples.htm

There is NewAcct4.php example that shows how to isolate a single image in the horizontal strip using the background style in CSS with an offset.
spoker
Posts: 76
Joined: Tue Sep 24, 2013 2:45 am

Re: Avatar Using Problem in Version 4

Post by spoker »

Yes i See , But i want to get (( ONE PLAYER AVATAR )) no All Avatars !
for example : Player id= John
how can i get just John's Avatar ?!
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Avatar Using Problem in Version 4

Post by Kent Briggs »

spoker wrote:Yes i See , But i want to get (( ONE PLAYER AVATAR )) no All Avatars !
The version 4 client now uses them as one big image instead of 64 smaller images so that's how they are stored now. The example code I linked to will show them as individual avatars. If you really need separate image files then you'll have to create your own and store them on your own web site.
spoker
Posts: 76
Joined: Tue Sep 24, 2013 2:45 am

Re: Avatar Using Problem in Version 4

Post by spoker »

i fix it with API and some codes,
anyway thanks ! :)
Post Reply