1
0

config.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defdroup Spaces Spaces
  7. * @indroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_spaces',
  17. 'title' => 'Spaces',
  18. 'note' => 'Spaces functionality.',
  19. 'version' => '9.0.6.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/spaces/',
  29. 'home_uri' => 'spaces',
  30. 'db_prefix' => 'bx_spaces_',
  31. 'class_prefix' => 'BxSpaces',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Spaces',
  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_snippet_meta',
  50. 'trigger_group_view_actions',
  51. ),
  52. /**
  53. * Page triggers.
  54. */
  55. 'page_triggers' => array (
  56. 'trigger_page_group_view_entry',
  57. ),
  58. /**
  59. * Storage objects to automatically delete files from upon module uninstallation.
  60. * Note. Don't add storage objects used in transcoder objects.
  61. */
  62. 'storages' => array(
  63. 'bx_spaces_pics'
  64. ),
  65. /**
  66. * Transcoders.
  67. */
  68. 'transcoders' => array(
  69. 'bx_spaces_icon',
  70. 'bx_spaces_thumb',
  71. 'bx_spaces_avatar',
  72. 'bx_spaces_picture',
  73. 'bx_spaces_cover',
  74. 'bx_spaces_cover_thumb',
  75. 'bx_spaces_gallery'
  76. ),
  77. /**
  78. * Extended Search Forms.
  79. */
  80. 'esearches' => array(
  81. 'bx_spaces',
  82. 'bx_spaces_cmts',
  83. ),
  84. /**
  85. * Installation/Uninstallation Section.
  86. */
  87. 'install' => array(
  88. 'execute_sql' => 1,
  89. 'update_languages' => 1,
  90. 'clear_db_cache' => 1,
  91. ),
  92. 'uninstall' => array (
  93. 'process_esearches' => 1,
  94. 'execute_sql' => 1,
  95. 'update_languages' => 1,
  96. 'process_connections' => 1,
  97. 'process_deleted_profiles' => 1,
  98. 'update_relations' => 1,
  99. 'clear_db_cache' => 1,
  100. ),
  101. 'enable' => array(
  102. 'execute_sql' => 1,
  103. 'update_relations' => 1,
  104. 'clear_db_cache' => 1,
  105. ),
  106. 'enable_success' => array(
  107. 'process_menu_triggers' => 1,
  108. 'process_page_triggers' => 1,
  109. 'process_esearches' => 1,
  110. 'register_transcoders' => 1,
  111. 'clear_db_cache' => 1,
  112. ),
  113. 'disable' => array (
  114. 'execute_sql' => 1,
  115. 'unregister_transcoders' => 1,
  116. 'update_relations' => 1,
  117. 'clear_db_cache' => 1,
  118. ),
  119. 'disable_failed' => array (
  120. 'register_transcoders' => 1,
  121. 'clear_db_cache' => 1,
  122. ),
  123. /**
  124. * Dependencies Section
  125. */
  126. 'dependencies' => array(),
  127. /**
  128. * Connections Section
  129. */
  130. 'relations' => array(
  131. 'bx_timeline',
  132. 'bx_notifications',
  133. ),
  134. );
  135. /** @} */