i need a php file to edti the profile of player

For general discussion of the Poker Mavens software
Post Reply
barhoum
Posts: 5
Joined: Fri Jan 24, 2014 1:39 pm

i need a php file to edti the profile of player

Post by barhoum »

Hi, I've purchased the gold version of Poker Mavens , and I've downloaded the files from this link :http://www.briggsoft.com/docs/pmavens/API_Examples.htm, But I need to download the php file from which a player can edit their Profile . thank you so much ;)
Win4fun
Posts: 29
Joined: Tue Jul 02, 2013 12:51 pm
Contact:

Re: i need a php file to edti the profile of player

Post by Win4fun »

The example in the link you posted allows users to enter their profile information during registration, not after. You'd need a fairly simple custom script to do this. After that you'll need to host the php file online so people can visit your site and use it.
barhoum
Posts: 5
Joined: Fri Jan 24, 2014 1:39 pm

Re: i need a php file to edti the profile of player

Post by barhoum »

Thanks for the reply , But how edit my profile informations after registration ?? :) ,thanks again : Win4fun
Win4fun
Posts: 29
Joined: Tue Jul 02, 2013 12:51 pm
Contact:

Re: i need a php file to edti the profile of player

Post by Win4fun »

Use the AccountsEdit command from the API page:

AccountsEdit - change one or more settings in a player account. Player is the only required parameter and cannot be changed itself. Include other parameters only for the items you want to change. Parameters not included will retain their current values.

Player - account name (required)
Title - 0 to 15 characters
Level - 0 to 50 characters
RealName - real name, up to 25 characters
PW - player's password
Location - 1 to 30 character player location
Email - player's email address, up to 80 characters
Avatar - a number from 0 to 64
AvatarFile - optional avatar file path (Pro/Gold feature)
Gender - Male or Female
Chat - date in the format of YYYY-MM-DD HH:MM, representing the date and time when the player's chat privileges are enabled. Use 0000-00-00 00:00 to enable immediately or 9999-99-99 99:99 for an indefinite ban
ChatColor1 - optional seated chat color, #RRGGBB format (Pro/Gold feature)
ChatColor2 - optional observer chat color, #RRGGBB format (Pro/Gold feature)
ValCode - 8 digit hexadecimal number used for email validation
Balance - chip balance (avoid setting this parameter when player is logged in)
LastReset - date in the format of yyyy-mm-dd hh:mm
Logins - the number of times the player has logged in
FirstLogin - date in the format of yyyy-mm-dd hh:mm
LastLogin - date in the format of yyyy-mm-dd hh:mm
Custom - optional custom field
Note - optional note field
Post Reply