Club System
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"from_class": "XF\\Entity\\User",
|
||||
"to_class": "RomhackPlaza\\Master\\XF\\Entity\\User",
|
||||
"execute_order": 10,
|
||||
"active": true
|
||||
}
|
||||
5
_output/class_extensions/_metadata.json
Normal file
5
_output/class_extensions/_metadata.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"XF-Entity-User_RomhackPlaza-Master-XF-Entity-User.json": {
|
||||
"hash": "811593d6f012a53b9fa2ced871de96a9"
|
||||
}
|
||||
}
|
||||
14
_output/content_type_fields/_metadata.json
Normal file
14
_output/content_type_fields/_metadata.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"club_request-approval_queue_handler_class.json": {
|
||||
"hash": "e46546c5b569b04e7ad740a672d217cd"
|
||||
},
|
||||
"club_request-entity.json": {
|
||||
"hash": "547d2af8708a4c569b3b09fdd9308880"
|
||||
},
|
||||
"romhackplaza_entry-entity.json": {
|
||||
"hash": "8686ffd261eb8c1698a3ec6e31118f02"
|
||||
},
|
||||
"romhackplaza_entry-report_handler_class.json": {
|
||||
"hash": "3e3d009b1b4671a506accc2e920307b2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "club_request",
|
||||
"field_name": "approval_queue_handler_class",
|
||||
"field_value": "RomhackPlaza\\Master\\ApprovalQueue\\ClubRequest"
|
||||
}
|
||||
5
_output/content_type_fields/club_request-entity.json
Normal file
5
_output/content_type_fields/club_request-entity.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "club_request",
|
||||
"field_name": "entity",
|
||||
"field_value": "RomhackPlaza\\Master\\Entity\\ClubRequest"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "romhackplaza_entry",
|
||||
"field_name": "entity",
|
||||
"field_value": "RomhackPlaza\\Master\\Entity\\Entry"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "romhackplaza_entry",
|
||||
"field_name": "report_handler_class",
|
||||
"field_value": "RomhackPlaza\\Master\\Report\\Entry"
|
||||
}
|
||||
14
_output/extension_hint.php
Normal file
14
_output/extension_hint.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
// ################## THIS IS A GENERATED FILE ##################
|
||||
// DO NOT EDIT DIRECTLY. EDIT THE CLASS EXTENSIONS IN THE CONTROL PANEL.
|
||||
|
||||
/**
|
||||
* @noinspection PhpIllegalPsrClassPathInspection
|
||||
* @noinspection PhpMultipleClassesDeclarationsInOneFile
|
||||
*/
|
||||
|
||||
namespace RomhackPlaza\Master\XF\Entity
|
||||
{
|
||||
class XFCP_User extends \XF\Entity\User {}
|
||||
}
|
||||
5
_output/option_groups/_metadata.json
Normal file
5
_output/option_groups/_metadata.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"romhackplaza.json": {
|
||||
"hash": "02d554f377cebf4d2532162b1c223e64"
|
||||
}
|
||||
}
|
||||
6
_output/option_groups/romhackplaza.json
Normal file
6
_output/option_groups/romhackplaza.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"icon": "",
|
||||
"display_order": 500,
|
||||
"advanced": false,
|
||||
"debug_only": false
|
||||
}
|
||||
18
_output/option_hint.php
Normal file
18
_output/option_hint.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
// ################## THIS IS A GENERATED FILE ##################
|
||||
// DO NOT EDIT DIRECTLY. EDIT THE OPTIONS IN THE CONTROL PANEL.
|
||||
|
||||
/**
|
||||
* @noinspection PhpMultipleClassDeclarationsInspection
|
||||
* @noinspection PhpIllegalPsrClassPathInspection
|
||||
*/
|
||||
|
||||
namespace XF;
|
||||
|
||||
/**
|
||||
* @property non-negative-int|null $rhpz_club_node_id Club Parent Node ID
|
||||
*/
|
||||
class Options
|
||||
{
|
||||
}
|
||||
5
_output/options/_metadata.json
Normal file
5
_output/options/_metadata.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rhpz_club_node_id.json": {
|
||||
"hash": "96114ee498a669ab50a1bc32768d3969"
|
||||
}
|
||||
}
|
||||
13
_output/options/rhpz_club_node_id.json
Normal file
13
_output/options/rhpz_club_node_id.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"edit_format": "spinbox",
|
||||
"edit_format_params": "",
|
||||
"data_type": "unsigned_integer",
|
||||
"sub_options": [],
|
||||
"validation_class": "",
|
||||
"validation_method": "",
|
||||
"advanced": false,
|
||||
"default_value": "0",
|
||||
"relations": {
|
||||
"romhackplaza": 1
|
||||
}
|
||||
}
|
||||
6
_output/permissions/romhackplaza-canEditMyEntries.json
Normal file
6
_output/permissions/romhackplaza-canEditMyEntries.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 4,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 5,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
6
_output/permissions/romhackplaza-canModerateEntries.json
Normal file
6
_output/permissions/romhackplaza-canModerateEntries.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 6,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 9,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 10,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
6
_output/permissions/romhackplaza-canSeeOthersDrafts.json
Normal file
6
_output/permissions/romhackplaza-canSeeOthersDrafts.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 7,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 8,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"permission_type": "flag",
|
||||
"interface_group_id": "romhackplaza",
|
||||
"display_order": 11,
|
||||
"depend_permission_id": ""
|
||||
}
|
||||
1
_output/phrases/option.rhpz_club_node_id.txt
Normal file
1
_output/phrases/option.rhpz_club_node_id.txt
Normal file
@@ -0,0 +1 @@
|
||||
Club Parent Node ID
|
||||
1
_output/phrases/option_group.romhackplaza.txt
Normal file
1
_output/phrases/option_group.romhackplaza.txt
Normal file
@@ -0,0 +1 @@
|
||||
RomhackPlaza Options
|
||||
@@ -0,0 +1 @@
|
||||
Can Edit My Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can Edit Others Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can Moderate Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can See Hidden Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can See Locked Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can See Others Drafts
|
||||
@@ -0,0 +1 @@
|
||||
Can See Rejected Entries
|
||||
@@ -0,0 +1 @@
|
||||
Can Submit Entry in Published
|
||||
11
_output/routes/_metadata.json
Normal file
11
_output/routes/_metadata.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"api_romhackplaza_entry_.json": {
|
||||
"hash": "5f1609f559980b44af09fd85c3b34a30"
|
||||
},
|
||||
"public_clubs_.json": {
|
||||
"hash": "a10d34d7ce33cb577dc85906353d1bb2"
|
||||
},
|
||||
"public_romhackplaza_entry_.json": {
|
||||
"hash": "2c40d7266fcc22a5727830a69af2360c"
|
||||
}
|
||||
}
|
||||
11
_output/routes/api_romhackplaza_entry_.json
Normal file
11
_output/routes/api_romhackplaza_entry_.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"route_type": "api",
|
||||
"route_prefix": "romhackplaza_entry",
|
||||
"sub_name": "",
|
||||
"format": "",
|
||||
"build_class": "",
|
||||
"build_method": "",
|
||||
"controller": "RomhackPlaza\\Master:Entry",
|
||||
"context": "",
|
||||
"action_prefix": ""
|
||||
}
|
||||
11
_output/routes/public_clubs_.json
Normal file
11
_output/routes/public_clubs_.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"route_type": "public",
|
||||
"route_prefix": "clubs",
|
||||
"sub_name": "",
|
||||
"format": "",
|
||||
"build_class": "",
|
||||
"build_method": "",
|
||||
"controller": "RomhackPlaza\\Master:Club",
|
||||
"context": "",
|
||||
"action_prefix": ""
|
||||
}
|
||||
11
_output/routes/public_romhackplaza_entry_.json
Normal file
11
_output/routes/public_romhackplaza_entry_.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"route_type": "public",
|
||||
"route_prefix": "romhackplaza_entry",
|
||||
"sub_name": "",
|
||||
"format": ":int<id>",
|
||||
"build_class": "",
|
||||
"build_method": "",
|
||||
"controller": "RomhackPlaza\\Master:Entry",
|
||||
"context": "",
|
||||
"action_prefix": ""
|
||||
}
|
||||
11
_output/templates/public/approval_item_club_request.html
Normal file
11
_output/templates/public/approval_item_club_request.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<xf:macro id="approval_queue_macros::item_message_type"
|
||||
arg-content="{$content}"
|
||||
arg-user="{$content.User}"
|
||||
arg-messageHtml="{$content.description}"
|
||||
arg-contentDate="{$content.request_date}"
|
||||
arg-typePhraseHtml="Club Request"
|
||||
arg-headerPhrase="{$content.title}"
|
||||
arg-spamDetails="{$spamDetails}"
|
||||
arg-unapprovedItem="{$unapprovedItem}"
|
||||
arg-handler="{$handler}"
|
||||
/>
|
||||
11
_output/templates/public/club_request_form.html
Normal file
11
_output/templates/public/club_request_form.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<xf:title>Submit Club Request</xf:title>
|
||||
|
||||
<xf:form action="{{ link('clubs/save') }}" ajax="true" class="block">
|
||||
<div class="block-container">
|
||||
<div class="block-body">
|
||||
<xf:textboxrow name="title" label="Title" required="required" />
|
||||
<xf:textarearow name="description" label="Description" rows="4" required="required" />
|
||||
</div>
|
||||
<xf:submitrow submit="Submit" icon="save" />
|
||||
</div>
|
||||
</xf:form>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="block-row block-row--separated">
|
||||
{{ phrase('content:') }}
|
||||
{$report.content_info.description}
|
||||
</div>
|
||||
Reference in New Issue
Block a user