config.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Groups Groups
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_groups',
  17. 'title' => 'Groups',
  18. 'note' => 'Basic group profiles functionality.',
  19. 'version' => '9.0.2.DEV',
  20. 'vendor' => 'BoonEx',
  21. 'help_url' => 'http://feed.boonex.com/?section={module_name}',
  22. 'compatible_with' => array(
  23. '9.0.x'
  24. ),
  25. /**
  26. * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
  27. */
  28. 'home_dir' => 'boonex/groups/',
  29. 'home_uri' => 'groups',
  30. 'db_prefix' => 'bx_groups_',
  31. 'class_prefix' => 'BxGroups',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Groups',
  36. /**
  37. * Connections.
  38. */
  39. 'connections' => array(
  40. 'sys_profiles_friends' => array ('type' => 'profiles'),
  41. 'sys_profiles_subscriptions' => array ('type' => 'profiles'),
  42. ),
  43. /**
  44. * Menu triggers.
  45. */
  46. 'menu_triggers' => array(
  47. 'trigger_profile_view_submenu',
  48. 'trigger_group_view_submenu',
  49. 'trigger_group_view_actions',
  50. ),
  51. /**
  52. * Page triggers.
  53. */
  54. 'page_triggers' => array (
  55. 'trigger_page_group_view_entry',
  56. ),
  57. /**
  58. * Storages.
  59. */
  60. 'storages' => array(
  61. 'bx_groups_pics'
  62. ),
  63. /**
  64. * Transcoders.
  65. */
  66. 'transcoders' => array(
  67. 'bx_groups_icon',
  68. 'bx_groups_thumb',
  69. 'bx_groups_avatar',
  70. 'bx_groups_picture',
  71. 'bx_groups_cover',
  72. 'bx_groups_cover_thumb'
  73. ),
  74. /**
  75. * Installation/Uninstallation Section.
  76. */
  77. 'install' => array(
  78. 'execute_sql' => 1,
  79. 'update_languages' => 1,
  80. 'clear_db_cache' => 1,
  81. ),
  82. 'uninstall' => array (
  83. 'process_storages' => 1,
  84. 'execute_sql' => 1,
  85. 'update_languages' => 1,
  86. 'process_connections' => 1,
  87. 'process_deleted_profiles' => 1,
  88. 'update_relations' => 1,
  89. 'clear_db_cache' => 1,
  90. ),
  91. 'enable' => array(
  92. 'execute_sql' => 1,
  93. 'update_relations' => 1,
  94. 'clear_db_cache' => 1,
  95. ),
  96. 'enable_success' => array(
  97. 'process_menu_triggers' => 1,
  98. 'process_page_triggers' => 1,
  99. 'register_transcoders' => 1,
  100. 'clear_db_cache' => 1,
  101. ),
  102. 'disable' => array (
  103. 'execute_sql' => 1,
  104. 'unregister_transcoders' => 1,
  105. 'update_relations' => 1,
  106. 'clear_db_cache' => 1,
  107. ),
  108. 'disable_failed' => array (
  109. 'register_transcoders' => 1,
  110. 'clear_db_cache' => 1,
  111. ),
  112. /**
  113. * Dependencies Section
  114. */
  115. 'dependencies' => array(),
  116. /**
  117. * Connections Section
  118. */
  119. 'relations' => array(
  120. 'bx_timeline',
  121. 'bx_notifications',
  122. ),
  123. );
  124. /** @} */