AntonLV 7 лет назад
Родитель
Сommit
9f3058d6d2
30 измененных файлов с 42 добавлено и 0 удалено
  1. 1 0
      modules/boonex/ads/classes/BxAdsConfig.php
  2. 2 0
      modules/boonex/ads/install/sql/install.sql
  3. 1 0
      modules/boonex/albums/classes/BxAlbumsConfig.php
  4. 2 0
      modules/boonex/albums/install/sql/install.sql
  5. 1 0
      modules/boonex/events/classes/BxEventsConfig.php
  6. 2 0
      modules/boonex/events/install/sql/install.sql
  7. 1 0
      modules/boonex/files/classes/BxFilesConfig.php
  8. 2 0
      modules/boonex/files/install/sql/install.sql
  9. 1 0
      modules/boonex/forum/install/sql/install.sql
  10. 1 0
      modules/boonex/glossary/install/sql/install.sql
  11. 1 0
      modules/boonex/groups/classes/BxGroupsConfig.php
  12. 2 0
      modules/boonex/groups/install/sql/install.sql
  13. 1 0
      modules/boonex/market/classes/BxMarketConfig.php
  14. 2 0
      modules/boonex/market/install/sql/install.sql
  15. 1 0
      modules/boonex/organizations/classes/BxOrgsConfig.php
  16. 2 0
      modules/boonex/organizations/install/sql/install.sql
  17. 1 0
      modules/boonex/persons/classes/BxPersonsConfig.php
  18. 2 0
      modules/boonex/persons/install/sql/install.sql
  19. 1 0
      modules/boonex/photos/classes/BxPhotosConfig.php
  20. 2 0
      modules/boonex/photos/install/sql/install.sql
  21. 1 0
      modules/boonex/polls/classes/BxPollsConfig.php
  22. 2 0
      modules/boonex/polls/install/sql/install.sql
  23. 1 0
      modules/boonex/shopify/classes/BxShopifyConfig.php
  24. 1 0
      modules/boonex/shopify/install/sql/install.sql
  25. 1 0
      modules/boonex/snipcart/classes/BxSnipcartConfig.php
  26. 1 0
      modules/boonex/snipcart/install/sql/install.sql
  27. 1 0
      modules/boonex/spaces/classes/BxSpacesConfig.php
  28. 2 0
      modules/boonex/spaces/install/sql/install.sql
  29. 1 0
      modules/boonex/videos/classes/BxVideosConfig.php
  30. 2 0
      modules/boonex/videos/install/sql/install.sql

+ 1 - 0
modules/boonex/ads/classes/BxAdsConfig.php

@@ -58,6 +58,7 @@ class BxAdsConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELD_ANONYMOUS' => 'anonymous',

+ 2 - 0
modules/boonex/ads/install/sql/install.sql

@@ -10,6 +10,8 @@ CREATE TABLE IF NOT EXISTS `bx_ads_entries` (
   `price` varchar(255) NOT NULL,
   `year` varchar(255) NOT NULL,
   `text` mediumtext NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/albums/classes/BxAlbumsConfig.php

@@ -50,6 +50,7 @@ class BxAlbumsConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/albums/install/sql/install.sql

@@ -10,6 +10,8 @@ CREATE TABLE IF NOT EXISTS `bx_albums_albums` (
   `thumb` int(11) NOT NULL,
   `title` varchar(255) NOT NULL,
   `text` text NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/events/classes/BxEventsConfig.php

@@ -57,6 +57,7 @@ class BxEventsConfig extends BxBaseModProfileConfig
             'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
             'FIELDS_QUICK_SEARCH' => array('event_name'),
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
             'FIELD_LABELS' => 'labels',

+ 2 - 0
modules/boonex/events/install/sql/install.sql

@@ -15,6 +15,8 @@ CREATE TABLE IF NOT EXISTS `bx_events_data` (
   `date_start` int(11) DEFAULT NULL,
   `date_end` int(11) DEFAULT NULL,
   `timezone` varchar(255) DEFAULT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/files/classes/BxFilesConfig.php

@@ -48,6 +48,7 @@ class BxFilesConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/files/install/sql/install.sql

@@ -13,6 +13,8 @@ CREATE TABLE IF NOT EXISTS `bx_files_main` (
   `desc` text NOT NULL,
   `data` text NOT NULL,
   `data_processed` tinyint(4) NOT NULL DEFAULT '0',
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/forum/install/sql/install.sql

@@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS `bx_forum_discussions` (
   `lr_timestamp` int(11) NOT NULL,
   `lr_profile_id` int(11) NOT NULL,
   `lr_comment_id` int(11) NOT NULL,
+  `labels` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/glossary/install/sql/install.sql

@@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `bx_glossary_terms` (
   `title` varchar(255) NOT NULL,
   `cat` int(11) NOT NULL,
   `text` text NOT NULL,
+  `labels` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/groups/classes/BxGroupsConfig.php

@@ -55,6 +55,7 @@ class BxGroupsConfig extends BxBaseModProfileConfig
             'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
             'FIELDS_QUICK_SEARCH' => array('group_name'),
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/groups/install/sql/install.sql

@@ -11,6 +11,8 @@ CREATE TABLE IF NOT EXISTS `bx_groups_data` (
   `group_name` varchar(255) NOT NULL,
   `group_cat` int(11) NOT NULL,
   `group_desc` text NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/market/classes/BxMarketConfig.php

@@ -76,6 +76,7 @@ class BxMarketConfig extends BxBaseModTextConfig
             'FIELD_FEATURED' => 'featured',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_QUICK_SEARCH' => array('title'),

+ 2 - 0
modules/boonex/market/install/sql/install.sql

@@ -20,6 +20,8 @@ CREATE TABLE IF NOT EXISTS `bx_market_products` (
   `price_recurring` float NOT NULL default '0',
   `duration_recurring` varchar(16) NOT NULL default 'month',
   `trial_recurring` int(11) NOT NULL default '0',
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/organizations/classes/BxOrgsConfig.php

@@ -56,6 +56,7 @@ class BxOrgsConfig extends BxBaseModProfileConfig
             'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
             'FIELDS_QUICK_SEARCH' => array('org_name'),
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/organizations/install/sql/install.sql

@@ -12,6 +12,8 @@ CREATE TABLE IF NOT EXISTS `bx_organizations_data` (
   `org_name` varchar(255) NOT NULL,
   `org_cat` int(11) NOT NULL,
   `org_desc` text NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/persons/classes/BxPersonsConfig.php

@@ -51,6 +51,7 @@ class BxPersonsConfig extends BxBaseModProfileConfig
             'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
             'FIELDS_QUICK_SEARCH' => array('fullname'),
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/persons/install/sql/install.sql

@@ -13,6 +13,8 @@ CREATE TABLE IF NOT EXISTS `bx_persons_data` (
   `description` text NOT NULL,
   `gender` varchar(255) DEFAULT NULL,
   `birthday` date DEFAULT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/photos/classes/BxPhotosConfig.php

@@ -51,6 +51,7 @@ class BxPhotosConfig extends BxBaseModTextConfig
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
             'FIELD_LABELS' => 'labels',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
 			

+ 2 - 0
modules/boonex/photos/install/sql/install.sql

@@ -11,6 +11,8 @@ CREATE TABLE IF NOT EXISTS `bx_photos_entries` (
   `title` varchar(255) NOT NULL,
   `cat` int(11) NOT NULL,
   `text` text NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/polls/classes/BxPollsConfig.php

@@ -50,6 +50,7 @@ class BxPollsConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELD_LABELS' => 'labels',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified

+ 2 - 0
modules/boonex/polls/install/sql/install.sql

@@ -10,6 +10,8 @@ CREATE TABLE IF NOT EXISTS `bx_polls_entries` (
   `thumb` int(11) NOT NULL,
   `text` text NOT NULL,
   `cat` int(11) NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/shopify/classes/BxShopifyConfig.php

@@ -49,6 +49,7 @@ class BxShopifyConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
 

+ 1 - 0
modules/boonex/shopify/install/sql/install.sql

@@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `bx_shopify_entries` (
   `title` varchar(255) NOT NULL,
   `code` varchar(16) NOT NULL default '',
   `cat` int(11) NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/snipcart/classes/BxSnipcartConfig.php

@@ -48,6 +48,7 @@ class BxSnipcartConfig extends BxBaseModTextConfig
             'FIELD_COMMENTS' => 'comments',
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
 

+ 1 - 0
modules/boonex/snipcart/install/sql/install.sql

@@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS `bx_snipcart_entries` (
   `text` text NOT NULL,
   `price` float NOT NULL default '0',
   `weight` float NOT NULL default '0',
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/spaces/classes/BxSpacesConfig.php

@@ -57,6 +57,7 @@ class BxSpacesConfig extends BxBaseModProfileConfig
             'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
             'FIELDS_QUICK_SEARCH' => array('space_name'),
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
             'FIELD_LABELS' => 'labels',

+ 2 - 0
modules/boonex/spaces/install/sql/install.sql

@@ -13,6 +13,8 @@ CREATE TABLE IF NOT EXISTS `bx_spaces_data` (
   `space_name` varchar(255) NOT NULL,
   `space_cat` int(11) NOT NULL,
   `space_desc` text NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',

+ 1 - 0
modules/boonex/videos/classes/BxVideosConfig.php

@@ -53,6 +53,7 @@ class BxVideosConfig extends BxBaseModTextConfig
             'FIELD_STATUS' => 'status',
             'FIELD_STATUS_ADMIN' => 'status_admin',
             'FIELD_LABELS' => 'labels',
+            'FIELD_LOCATION' => 'location',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
             'FIELDS_DELAYED_PROCESSING' => 'videos', // can be array of fields or comma separated string of field names

+ 2 - 0
modules/boonex/videos/install/sql/install.sql

@@ -11,6 +11,8 @@ CREATE TABLE IF NOT EXISTS `bx_videos_entries` (
   `cat` int(11) NOT NULL,
   `text` text NOT NULL,
   `duration` int(11) NOT NULL,
+  `labels` text NOT NULL,
+  `location` text NOT NULL,
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',