config.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Posts Posts
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_posts',
  17. 'title' => 'Posts',
  18. 'note' => 'Basic blogging module.',
  19. 'version' => '9.0.12.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/posts/',
  29. 'home_uri' => 'posts',
  30. 'db_prefix' => 'bx_posts_',
  31. 'class_prefix' => 'BxPosts',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Posts',
  36. /**
  37. * List of page triggers.
  38. */
  39. 'page_triggers' => array (
  40. 'trigger_page_profile_view_entry',
  41. ),
  42. /**
  43. * Menu triggers.
  44. */
  45. 'menu_triggers' => array(
  46. 'trigger_profile_view_submenu',
  47. 'trigger_group_view_submenu',
  48. ),
  49. /**
  50. * Storage objects to automatically delete files from upon module uninstallation.
  51. * Note. Don't add storage objects used in transcoder objects.
  52. */
  53. 'storages' => array(
  54. 'bx_posts_files',
  55. 'bx_posts_photos',
  56. 'bx_posts_videos'
  57. ),
  58. /**
  59. * Transcoders.
  60. */
  61. 'transcoders' => array(
  62. 'bx_posts_preview',
  63. 'bx_posts_gallery',
  64. 'bx_posts_cover',
  65. 'bx_posts_preview_photos',
  66. 'bx_posts_gallery_photos',
  67. 'bx_posts_videos_poster',
  68. 'bx_posts_videos_poster_preview',
  69. 'bx_posts_videos_mp4',
  70. 'bx_posts_videos_webm'
  71. ),
  72. /**
  73. * Extended Search Forms.
  74. */
  75. 'esearches' => array(
  76. 'bx_posts',
  77. 'bx_posts_cmts'
  78. ),
  79. /**
  80. * Installation/Uninstallation Section.
  81. */
  82. 'install' => array(
  83. 'execute_sql' => 1,
  84. 'update_languages' => 1,
  85. 'clear_db_cache' => 1,
  86. ),
  87. 'uninstall' => array (
  88. 'process_esearches' => 1,
  89. 'execute_sql' => 1,
  90. 'update_languages' => 1,
  91. 'update_relations' => 1,
  92. 'clear_db_cache' => 1,
  93. ),
  94. 'enable' => array(
  95. 'execute_sql' => 1,
  96. 'update_relations' => 1,
  97. 'clear_db_cache' => 1,
  98. ),
  99. 'enable_success' => array(
  100. 'process_menu_triggers' => 1,
  101. 'process_page_triggers' => 1,
  102. 'process_esearches' => 1,
  103. 'register_transcoders' => 1,
  104. 'clear_db_cache' => 1,
  105. ),
  106. 'disable' => array (
  107. 'execute_sql' => 1,
  108. 'update_relations' => 1,
  109. 'unregister_transcoders' => 1,
  110. 'clear_db_cache' => 1,
  111. ),
  112. 'disable_failed' => array (
  113. 'register_transcoders' => 1,
  114. 'clear_db_cache' => 1,
  115. ),
  116. /**
  117. * Dependencies Section
  118. */
  119. 'dependencies' => array(),
  120. /**
  121. * Relations Section
  122. */
  123. 'relations' => array(
  124. 'bx_timeline',
  125. 'bx_notifications'
  126. ),
  127. );
  128. /** @} */