config.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup NewComments New Comments
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_new_comments',
  17. 'title' => 'New Comments',
  18. 'note' => 'New comments, unread comments',
  19. 'version' => '9.0.0',
  20. 'vendor' => 'UNA INC',
  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/new_comments/',
  29. 'home_uri' => 'new_comments',
  30. 'db_prefix' => 'bx_new_comments_',
  31. 'class_prefix' => 'BxNewComments',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'New Comments',
  36. /**
  37. * Menu triggers.
  38. */
  39. 'menu_triggers' => array(
  40. 'trigger_profile_view_actions',
  41. 'trigger_profile_snippet_meta',
  42. ),
  43. /**
  44. * Installation/Uninstallation Section.
  45. */
  46. 'install' => array(
  47. 'check_dependencies' => 1,
  48. 'execute_sql' => 1,
  49. 'update_languages' => 1,
  50. ),
  51. 'uninstall' => array (
  52. 'execute_sql' => 1,
  53. 'update_languages' => 1,
  54. ),
  55. 'enable' => array(
  56. 'check_dependencies' => 1,
  57. 'execute_sql' => 1,
  58. 'clear_db_cache' => 1,
  59. ),
  60. 'enable_success' => array(
  61. 'process_menu_triggers' => 1,
  62. 'clear_db_cache' => 1,
  63. ),
  64. 'disable' => array(
  65. 'execute_sql' => 1,
  66. 'clear_db_cache' => 1,
  67. ),
  68. );
  69. /** @} */