HomeHelpTrac

Changeset 15700 for trunk/install


Ignore:
Timestamp:
11/24/11 03:33:53 (6 months ago)
Author:
Alexander Trofimov
Message:

Accounts and Profiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/sql/v70.sql

    r15699 r15700  
    28462846) ENGINE=MyISAM  DEFAULT CHARSET=utf8; 
    28472847 
    2848 -- 
    2849 -- Dumping data for table `sys_stat_site` 
    2850 -- 
    2851  
    2852 INSERT INTO `sys_stat_site` VALUES(1, 'all', 'Members', 'browse.php', 'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = ''Active'' AND (`Couple`=''0'' OR `Couple`>`ID`)', 'profiles.php?profiles=Approval', 'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status`!=''Active'' AND (`Couple`=''0'' OR `Couple`>`ID`)', 'mbs.png', 1); 
    2853 INSERT INTO `sys_stat_site` VALUES(3, 'onl', 'Online', 'search.php?online_only=1', 'SELECT COUNT(`ID`) AS `count_onl` FROM `Profiles` WHERE `DateLastNav` > SUBDATE(NOW(), INTERVAL 5 MINUTE) AND (`Couple`=0 OR `Couple`>`ID`)', '', '', 'mbs_online.png', 2); 
    2854 INSERT INTO `sys_stat_site` VALUES(5, 'ntd', 'New Today', 'browse.php', 'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = ''Active'' AND (TO_DAYS(NOW()) - TO_DAYS(`DateReg`)) <= 1 AND (`Couple`=0 OR `Couple`>`ID`)', '', '', 'mbs.png', 3); 
    2855 INSERT INTO `sys_stat_site` VALUES(7, 'nmh', 'This Month', 'browse.php', 'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = ''Active'' AND (TO_DAYS(NOW()) - TO_DAYS(`DateReg`)) <= 30 AND (`Couple`=0 OR `Couple`>`ID`)', '', '', 'mbs.png', 5); 
    2856 INSERT INTO `sys_stat_site` VALUES(8, 'tgs', 'Tags', 'tags.php?tags_mode=profile', 'SELECT COUNT( DISTINCT `Tag` ) FROM `sys_tags`', '', '', 'tgs.png', 6); 
    2857 INSERT INTO `sys_stat_site` VALUES(10, 'nyr', 'This Year', 'browse.php', 'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = ''Active'' AND (TO_DAYS(NOW()) - TO_DAYS(`DateReg`)) <= 365 AND (`Couple`=0 OR `Couple`>`ID`)', '', '', 'mbs.png', 7); 
    2858  
    28592848-- -------------------------------------------------------- 
    28602849 
     
    28722861) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ; 
    28732862 
    2874 -- 
    2875 -- Dumping data for table 'sys_objects_search' 
    2876 -- 
    2877  
    2878 INSERT INTO `sys_objects_search` VALUES(3, 'profile', '_Profiles', 'BxTemplSearchProfile', 'templates/tmpl_{tmpl}/scripts/BxTemplSearchProfile.php'); 
    28792863 
    28802864-- -------------------------------------------------------- 
     
    29402924) ENGINE=MyISAM  DEFAULT CHARSET=utf8; 
    29412925 
    2942 -- 
    2943 -- Dumping data for table `sys_objects_tag` 
    2944 -- 
    2945  
    2946 INSERT INTO `sys_objects_tag` VALUES(1, 'profile', 'SELECT `Tags` FROM `Profiles` WHERE `ID` = {iID} AND `Status` = ''Active''', 'enable_modrewrite', 'search/tag/{tag}', 'search.php?Tags={tag}', '_Profiles'); 
    29472926 
    29482927-- -------------------------------------------------------- 
     
    31553134) ENGINE=MyISAM  DEFAULT CHARSET=utf8; 
    31563135 
    3157 -- 
    3158 -- Dumping data for table `sys_objects_vote` 
    3159 -- 
    3160  
    3161 INSERT INTO `sys_objects_vote` VALUES(1, 'profile', 'sys_profile_rating', 'sys_profile_voting_track', 'pr_', '5', 'vote_send_result', 'BX_PERIOD_PER_VOTE', '1', '', '', 'Profiles', 'Rate', 'RateCount', 'ID', '', ''); 
    31623136 
    31633137-- ------------------------------------------------------- 
     
    33713345) ENGINE=MyISAM  DEFAULT CHARSET=utf8; 
    33723346 
    3373 -- 
    3374 -- Dumping data for table `sys_objects_views` 
    3375 -- 
    3376  
    3377 INSERT INTO `sys_objects_views` VALUES(NULL, 'profiles', 'sys_profile_views_track', 86400, 'Profiles', 'ID', 'Views', 1); 
    33783347 
    33793348-- 
Note: See TracChangeset for help on using the changeset viewer.