This program adds shortcodes for some basic Poker Mavens API functionality.
该程序为一些基本的Poker Mavens API功能添加了短代码。
They are based on the examples at https://www.briggsoft.com/docs/pmavens/API_Examples.htm
它们基于https://www.briggsoft.com/docs/pmavens/API_Examples.htm
上的示例。
on the Poker Mavens Support site.
在Poker Mavens支持网站上。 p>
Shortcodes include:
短代码包括:
[pmapi_server_stats] – Adds the server stats.
[pmapi_server_stats] –添加服务器统计信息。 p>
[pmapi_server_top players=”#”] – Adds the Top # Chip leaders (default is 10).
[pmapi_server_topplayers =”#”] –添加排名前#的筹码领先者(默认为10)。 p>
[pmapi_userinfo] – Adds a page to update basic userinfo of the username that matches the username of the wordpress user.
[pmapi_userinfo] –添加页面以更新与wordpress用户的用户名匹配的用户名的基本userinfo。
If there is no matching name on the Poker Mavens server, a page to create one will be shown.
如果Poker Mavens服务器上没有匹配的名称,将显示一个创建名称的页面。 p>
[pmapi_login] – Adds a login username and password form.
[pmapi_login] –添加登录用户名和密码形式。
If user is logged in it will output a button to sign out and a button linking to the poker server.
如果用户登录,它将输出一个注销按钮和一个链接到扑克服务器的按钮。
If logged in and there is no username on the poker server that matches the wordpress username, the api will create one.
如果登录后,扑克服务器上没有与wordpress用户名匹配的用户名,则api将创建一个。 p>
[pmapi_rawdata] – Outputs raw data (for testing purposes).
[pmapi_rawdata] –输出原始数据(出于测试目的)。 p>
[pmapi_playbutton signin=”yes” signintext=”Click Here to Sign in and Play!”] – Displays a playbutton, or a signin link if there is nobody logged in. Does not display anything if no options are stet.
[pmapi_playbutton signin =”是” signintext =“单击此处登录并播放!”] –显示播放按钮,或者如果没有人登录,则显示登录链接。如果没有按下任何选项,则不显示任何内容。
If signin is “yes” default signin text is “Sign In” if it is not set.
如果登录为“是”,则默认登录文本为“登录”(如果未设置)。 p>