开发者 | Malcolm-OPH |
---|---|
更新时间 | 2023年8月10日 16:05 |
PHP版本: | 5.0 及以上 |
WordPress版本: | 5.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
This determines which player the device is being used by.
CardzNet uses player groups, with a specified administrator, to administer games. Each group can have an unlimited number of players, but only one concurrent game is permitted for each group. The group administrator can add new players by selecting the "Invite New Member" button, and then enter the name and email address of the person they wish to invite. The new member will be added to the group when they accept the invitation using the link in the email that CardzNet sends them. Note: Users with Administrator privileges can add an existing Wordpress user to a group directly.
Each device used to play must be logged in with a different username, and this usually determines who will play the game. If more than one player uses the same device, then the group administrator should add an entry for each of these players on the "Add Game Details" admin page, with the same Username but add an entry for the Player Name. This Player Name is then used to identify the player. During play, a players cards are hidden on a shared screen each time the screen changes from one player to another. The cards can be revealed by either clicking on a button, or pressing a key on the keyboard.
The EMails generated by the CardzNet plugin are defined by a template file. Template defaults are in the {Plugins Folder}/wpcardznet/templates/email folder, which is copied to the {Uploads Folder}/wpcardznet/email when the plugin is Activated or Updated. The default template can be copied to new a file in the uploads folder, which can then be used to create a custom template, which can then in turn be selected using the Admin->Settings page. The template file can be modified as required. A number of "Tags" can be included in the EMail template, which will be replaced by data relating to the sale extracted from the database.
The following tags can be used in the EMail template:
Yes! CardzNet uses Wordpress Capabilities to control access to games and admin pages. The following Capabilities are implemented: cardznet_player - A user that can play a game cardznet_manager - A user that can start a game and add players to a group cardznet_admin - A user that can administer WPPlayCards (except for settings) cardznet_setup - A user that can change WPPlayCards settings Users added by CardzNet are created with the Subscriber Role with additional cardznet_player capability. When CardzNet adds an existing user to a group by CardzNet the cardznet_player capability is added to the user if they do not already have it.
Yes! CardzNet uses Wordpress Capabilities to control access to games and admin pages. The following Capabilities are implemented:
No. CardzNet should remove all the theme CSS from any page with the CardzNet shortcode on it, and replace it with its' own CSS. It has been tested with the WP default themes from Twenty-Ten onwards.