Changeset 3478919
- Timestamp:
- 03/10/2026 09:18:31 AM (3 weeks ago)
- Location:
- mycred/tags/3.0.2/includes/mycred-blocks/blocks
- Files:
-
- 3 edited
-
mycred-exchange/block.json (modified) (1 diff)
-
mycred-leaderboard/block.json (modified) (1 diff)
-
mycred-my-rank/block.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mycred/tags/3.0.2/includes/mycred-blocks/blocks/mycred-exchange/block.json
r3363925 r3478919 5 5 "title": "Exchange", 6 6 "category": "mycred", 7 "icon": " exchange-alt",7 "icon": "randomize", 8 8 "description": "A block for exchanging one point type to another in MyCred with customizable rates and settings.", 9 9 "attributes": { -
mycred/tags/3.0.2/includes/mycred-blocks/blocks/mycred-leaderboard/block.json
r3363925 r3478919 1 1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 2, 4 "name": "mycred-gb-blocks/mycred-leaderboard", 5 "title": "Leaderboard", 6 "category": "mycred", 7 "icon": "trophy", 8 "description": "A block to display a customizable leaderboard for MyCred points.", 9 "attributes": { 10 "number": { 11 "type": "integer", 12 "default": 25 13 }, 14 "order": { 15 "type": "string", 16 "default": "DESC" 17 }, 18 "offset": { 19 "type": "string", 20 "default": "0" 21 }, 22 "type": { 23 "type": "string", 24 "default": "" 25 }, 26 "based_on": { 27 "type": "string", 28 "default": "balance" 29 }, 30 "total": { 31 "type": "boolean", 32 "default": false 33 }, 34 "wrap": { 35 "type": "string", 36 "default": "li" 37 }, 38 "template": { 39 "type": "string", 40 "default": "#%position% %user_profile_link% %cred_f%" 41 }, 42 "nothing": { 43 "type": "string", 44 "default": "Leaderboard is empty" 45 }, 46 "current": { 47 "type": "boolean", 48 "default": false 49 }, 50 "timeframe": { 51 "type": "string", 52 "default": "" 53 }, 54 "exclude_zero": { 55 "type": "boolean", 56 "default": true 57 } 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 2, 4 "name": "mycred-gb-blocks/mycred-leaderboard", 5 "title": "Leaderboard", 6 "category": "mycred", 7 "icon": "awards", 8 "description": "A block to display a customizable leaderboard for MyCred points.", 9 "attributes": { 10 "number": { 11 "type": "integer", 12 "default": 25 58 13 }, 59 "textdomain": "mycred", 60 "editorScript": "file:./index.js", 61 "render": "php:MG_Blocks\\mycred_leaderboard_block::render_block" 14 "order": { 15 "type": "string", 16 "default": "DESC" 17 }, 18 "offset": { 19 "type": "string", 20 "default": "0" 21 }, 22 "type": { 23 "type": "string", 24 "default": "" 25 }, 26 "based_on": { 27 "type": "string", 28 "default": "balance" 29 }, 30 "total": { 31 "type": "boolean", 32 "default": false 33 }, 34 "wrap": { 35 "type": "string", 36 "default": "li" 37 }, 38 "template": { 39 "type": "string", 40 "default": "#%position% %user_profile_link% %cred_f%" 41 }, 42 "nothing": { 43 "type": "string", 44 "default": "Leaderboard is empty" 45 }, 46 "current": { 47 "type": "boolean", 48 "default": false 49 }, 50 "timeframe": { 51 "type": "string", 52 "default": "" 53 }, 54 "exclude_zero": { 55 "type": "boolean", 56 "default": true 57 } 58 }, 59 "textdomain": "mycred", 60 "editorScript": "file:./index.js", 61 "render": "php:MG_Blocks\\mycred_leaderboard_block::render_block" 62 62 } -
mycred/tags/3.0.2/includes/mycred-blocks/blocks/mycred-my-rank/block.json
r3363925 r3478919 1 1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 2, 4 "name": "mycred-gb-blocks/mycred-my-rank", 5 "title": "My Rank", 6 "category": "mycred", 7 "icon": "trophy", 8 "description": "Display the rank of a user based on the selected point type.", 9 "attributes": { 10 "user_id": { 11 "type": "string" 12 }, 13 "show_title": { 14 "type": "boolean", 15 "default": true 16 }, 17 "show_logo": { 18 "type": "boolean" 19 }, 20 "logo_size": { 21 "type": "string", 22 "default": "post-thumbnail" 23 }, 24 "first": { 25 "type": "string", 26 "default": "logo" 27 }, 28 "ctype": { 29 "type": "string" 30 } 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 2, 4 "name": "mycred-gb-blocks/mycred-my-rank", 5 "title": "My Rank", 6 "category": "mycred", 7 "icon": "awards", 8 "description": "Display the rank of a user based on the selected point type.", 9 "attributes": { 10 "user_id": { 11 "type": "string" 31 12 }, 32 "textdomain": "mycred", 33 "editorScript": "file:./index.js", 34 "render": "php:MG_Blocks\\mycred_my_rank_block::render_block" 13 "show_title": { 14 "type": "boolean", 15 "default": true 16 }, 17 "show_logo": { 18 "type": "boolean" 19 }, 20 "logo_size": { 21 "type": "string", 22 "default": "post-thumbnail" 23 }, 24 "first": { 25 "type": "string", 26 "default": "logo" 27 }, 28 "ctype": { 29 "type": "string" 30 } 31 }, 32 "textdomain": "mycred", 33 "editorScript": "file:./index.js", 34 "render": "php:MG_Blocks\\mycred_my_rank_block::render_block" 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.