Skip to content

Commit

Permalink
Ticket #4053 - Events: Add an option to allow to Follow without Join.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Sep 14, 2022
1 parent 4d9e051 commit 26cef7f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions modules/boonex/events/classes/BxEventsConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function __construct($aModule)
'PARAM_MMODE' => 'bx_events_members_mode',
'PARAM_PAID_JOIN_ENABLED' => true,
'PARAM_RECURRING_RESERVE' => 3, // 3 days for recurring payment to be registered
'PARAM_SBS_WO_JOIN' => 'bx_events_enable_subscribe_wo_join',
'PARAM_PER_PAGE_FOR_FAVORITES_LISTS' => 'bx_events_per_page_for_favorites_lists',
'PARAM_USE_IN' => 'bx_events_internal_notifications',

Expand Down
9 changes: 5 additions & 4 deletions modules/boonex/events/install/langs/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<string name="_bx_events_option_members_mode_multi_roles"><![CDATA[Multi Roles]]></string>
<string name="_bx_events_option_public_subscribed_me"><![CDATA[Public list of interested members]]></string>
<string name="_bx_events_option_per_page_for_favorites_lists"><![CDATA[Number of favorite lists per page]]></string>
<string name="_bx_events_option_enable_subscribe_wo_join"><![CDATA[Allow to mark as Interested without joining (marking as Going)]]></string>
<string name="_bx_events_option_internal_notifications"><![CDATA[Use internal notifications]]></string>

<string name="_bx_events_form_profile"><![CDATA[Events]]></string>
Expand Down Expand Up @@ -203,9 +204,9 @@
<string name="_bx_events_page_block_title_profile_info_link"><![CDATA[About <a href="{profile_link}">{display_name}</a>]]></string>
<string name="_bx_events_page_block_title_profile_info"><![CDATA[Info]]></string>
<string name="_bx_events_page_block_title_system_profile_info"><![CDATA[Info]]></string>
<string name="_bx_events_page_block_title_system_profile_pricing"><![CDATA[Pricing]]></string>
<string name="_bx_events_page_block_title_profile_pricing"><![CDATA[Pricing]]></string>
<string name="_bx_events_page_block_title_profile_pricing_link"><![CDATA[Pricing of <a href="{profile_link}">{display_name}</a>]]></string>
<string name="_bx_events_page_block_title_system_profile_pricing"><![CDATA[Pricing]]></string>
<string name="_bx_events_page_block_title_profile_pricing"><![CDATA[Pricing]]></string>
<string name="_bx_events_page_block_title_profile_pricing_link"><![CDATA[Pricing of <a href="{profile_link}">{display_name}</a>]]></string>
<string name="_bx_events_page_block_title_profile_description"><![CDATA[Description]]></string>
<string name="_bx_events_page_block_title_profile_friends_link"><![CDATA[Friends of <a href="{profile_link}">{display_name}</a>]]></string>
<string name="_bx_events_page_block_title_profile_friends"><![CDATA[Friends]]></string>
Expand All @@ -220,7 +221,7 @@
<string name="_bx_events_page_block_title_subscribers"><![CDATA[Interested]]></string>
<string name="_bx_events_page_block_title_system_subscribers"><![CDATA[Interested]]></string>
<string name="_bx_events_page_block_title_profile_comments"><![CDATA[Comments]]></string>
<string name="_bx_events_page_block_title_entry_reports"><![CDATA[Reports]]></string>
<string name="_bx_events_page_block_title_entry_reports"><![CDATA[Reports]]></string>
<string name="_bx_events_page_block_title_profile_comments_link"><![CDATA[Comments to <a href="{entry_link}">{title}</a>]]></string>
<string name="_bx_events_page_block_title_profile_actions"><![CDATA[Actions]]></string>
<string name="_bx_events_page_block_title_featured_profiles"><![CDATA[Featured Events]]></string>
Expand Down
1 change: 1 addition & 0 deletions modules/boonex/events/install/sql/enable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ INSERT INTO `sys_options` (`name`, `value`, `category_id`, `caption`, `type`, `e
('bx_events_searchable_fields', 'event_name,event_desc', @iCategId, '_bx_events_option_searchable_fields', 'list', 'a:2:{s:6:"module";s:9:"bx_events";s:6:"method";s:21:"get_searchable_fields";}', '', '', 30),
('bx_events_members_mode', '', @iCategId, '_bx_events_option_members_mode', 'select', 'a:2:{s:6:"module";s:9:"bx_events";s:6:"method";s:24:"get_options_members_mode";}', '', '', 40),
('bx_events_public_subscribed_me', 'on', @iCategId, '_bx_events_option_public_subscribed_me', 'checkbox', '', '', '', 50),
('bx_events_enable_subscribe_wo_join', '', @iCategId, '_bx_events_option_enable_subscribe_wo_join', 'checkbox', '', '', '', 55),
('bx_events_internal_notifications', '', @iCategId, '_bx_events_option_internal_notifications', 'checkbox', '', '', '', 60),
('bx_events_reminder_interval', '24', @iCategId, '_bx_events_option_reminder_interval', 'select', '24,48', '', '', 70);

Expand Down
1 change: 1 addition & 0 deletions modules/boonex/russian/data/langs/bx_events/ru.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<string name="_bx_spaces_option_members_mode_multi_roles"><![CDATA[Множественные роли]]></string>
<string name="_bx_events_option_public_subscribed_me"><![CDATA[Открытый список заинтересованных пользователей]]></string>
<string name="_bx_events_option_per_page_for_favorites_lists"><![CDATA[Количество списков избранного на странице]]></string>
<string name="_bx_events_option_enable_subscribe_wo_join"><![CDATA[Разрешить помечать как 'Заинтересован' пользователям, не являющимся участниками события]]></string>
<string name="_bx_events_option_internal_notifications"><![CDATA[Использовать встроенную нотификацию]]></string>

<string name="_bx_events_form_profile"><![CDATA[События]]></string>
Expand Down

0 comments on commit 26cef7f

Please sign in to comment.