config.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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.9.DEV',
  20. 'vendor' => 'BoonEx',
  21. 'help_url' => 'http://feed.una.io/?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. * Storage objects to automatically delete files from upon module uninstallation.
  59. * Note. Don't add storage objects used in transcoder objects.
  60. */
  61. 'storages' => array(
  62. 'bx_groups_pics'
  63. ),
  64. /**
  65. * Transcoders.
  66. */
  67. 'transcoders' => array(
  68. 'bx_groups_icon',
  69. 'bx_groups_thumb',
  70. 'bx_groups_avatar',
  71. 'bx_groups_picture',
  72. 'bx_groups_cover',
  73. 'bx_groups_cover_thumb',
  74. 'bx_groups_gallery'
  75. ),
  76. /**
  77. * Extended Search Forms.
  78. */
  79. 'esearches' => array(
  80. 'bx_groups',
  81. 'bx_groups_cmts',
  82. ),
  83. /**
  84. * Installation/Uninstallation Section.
  85. */
  86. 'install' => array(
  87. 'execute_sql' => 1,
  88. 'update_languages' => 1,
  89. 'clear_db_cache' => 1,
  90. ),
  91. 'uninstall' => array (
  92. 'process_esearches' => 1,
  93. 'execute_sql' => 1,
  94. 'update_languages' => 1,
  95. 'process_connections' => 1,
  96. 'process_deleted_profiles' => 1,
  97. 'update_relations' => 1,
  98. 'clear_db_cache' => 1,
  99. ),
  100. 'enable' => array(
  101. 'execute_sql' => 1,
  102. 'update_relations' => 1,
  103. 'clear_db_cache' => 1,
  104. ),
  105. 'enable_success' => array(
  106. 'process_menu_triggers' => 1,
  107. 'process_page_triggers' => 1,
  108. 'process_esearches' => 1,
  109. 'register_transcoders' => 1,
  110. 'clear_db_cache' => 1,
  111. ),
  112. 'disable' => array (
  113. 'execute_sql' => 1,
  114. 'unregister_transcoders' => 1,
  115. 'update_relations' => 1,
  116. 'clear_db_cache' => 1,
  117. ),
  118. 'disable_failed' => array (
  119. 'register_transcoders' => 1,
  120. 'clear_db_cache' => 1,
  121. ),
  122. /**
  123. * Dependencies Section
  124. */
  125. 'dependencies' => array(),
  126. /**
  127. * Connections Section
  128. */
  129. 'relations' => array(
  130. 'bx_timeline',
  131. 'bx_notifications',
  132. ),
  133. );
  134. /** @} */