Changeset 432615
- Timestamp:
- 09/02/2011 11:51:47 PM (15 years ago)
- Location:
- post-miner/trunk
- Files:
-
- 2 edited
-
PostMiner/Installer.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-miner/trunk/PostMiner/Installer.php
r432610 r432615 98 98 static private $SQL_DROP_VISITED = "DROP TABLE `%s_visits`"; 99 99 100 /** 101 * SQL statement for deleting terms relation content 102 * @var string 103 */ 104 static private $SQL_DELETE_TERMS_RELATION = 'DELETE FROM `%s_term_relationships`'; 105 106 /** 107 * SQL statement for deleting terms 108 * @var string 109 */ 110 static private $SQL_DELETE_TERMS = 'DELETE FROM `%s_terms`'; 111 100 112 101 113 /** … … 120 132 $wpdb->get_results( sprintf( self::$SQL_VISITED, $prefix ) ); 121 133 122 add_option("post-miner_db_version", '1.0.0');123 134 124 update_option("post-miner_db_version", '1.0.1'); 135 if( get_option("post-miner_db_version") == '1.0.0' ) 136 { 137 update_option("post-miner_db_version", '1.0.1'); 138 139 update_option("post-miner_recommendations_header", "Recommended for you:"); 140 141 $wpdb->get_results( sprintf( self::$SQL_DELETE_TERMS_RELATION, $prefix ) ); 142 143 $wpdb->get_results( sprintf( self::$SQL_DELETE_TERMS, $prefix ) ); 144 } 145 else 146 { 147 add_option("post-miner_db_version", '1.0.0'); 148 149 add_option("post-miner_recommendations_header", "Recommended for you:"); 125 150 126 add_option("post-miner_recommendations_header", "You might be also interested in:"); 127 128 add_option("post-miner_recommendations_limit", 5); 151 add_option("post-miner_recommendations_limit", 5); 152 } 129 153 130 154 PostMiner_Indexer::indexPosts(); -
post-miner/trunk/readme.txt
r429760 r432615 5 5 Requires at least: 3.1.0 6 6 Tested up to: 3.2.1 7 Stable tag: 0.9.27 Stable tag: 1.0.0 8 8 9 9 Content recommendations engine for WordPress. … … 12 12 13 13 Post Miner helps your audience discovering relevant content on your blog without searching. 14 The plugin uses Euclidean distance and collective intelligence* (CI will be available from version 1. x)14 The plugin uses Euclidean distance and collective intelligence* (CI will be available from version 1.1.x) 15 15 to provide a good match and better user experience. 16 16 17 17 == Installation == 18 19 1. IMPORTANT! It makes sense to use this plugin ONLY with ENGLISH language content at this point.20 18 21 19 1. Upload `post-miner` directory to the `/wp-content/plugins/` … … 34 32 = 0.9.2 = 35 33 * critical bug fix - broken recommendations links 34 35 = 1.0.0 = 36 * recommending user relevant content (visitor's behavior is stored in the database) 37 * improved recommendation algorithm
Note: See TracChangeset
for help on using the changeset viewer.