Ticket #1925: 1925.converters.patch
File 1925.converters.patch, 17.3 KB (added by , 11 years ago) |
---|
-
includes/admin/converters/AEF.php
290 290 'to_fieldname' => 'post_modified_gmt', 291 291 'callback_method' => 'callback_datetime' 292 292 ); 293 $this->field_map[] = array(294 'from_tablename' => 'posts',295 'from_fieldname' => 'ptime',296 'join_tablename' => 'topics',297 'join_type' => 'INNER',298 'join_expression' => 'ON topics.first_post_id = posts.pid',299 'to_type' => 'topic',300 'to_fieldname' => '_bbp_last_active_time',301 'callback_method' => 'callback_datetime'302 );303 293 304 294 // Topic status (Open = 1 or Closed = 0, AEF v1.0.9) 305 295 $this->field_map[] = array( -
includes/admin/converters/bbPress1.php
284 284 'to_type' => 'topic', 285 285 'to_fieldname' => 'post_modified_gmt' 286 286 ); 287 $this->field_map[] = array(288 'from_tablename' => 'topics',289 'from_fieldname' => 'topic_time',290 'to_type' => 'topic',291 'to_fieldname' => '_bbp_last_active_time'292 );293 287 294 288 /** Tags Section ******************************************************/ 295 289 -
includes/admin/converters/Drupal7.php
228 228 'to_fieldname' => 'post_modified_gmt', 229 229 'callback_method' => 'callback_datetime' 230 230 ); 231 $this->field_map[] = array(232 'from_tablename' => 'forum_index',233 'from_fieldname' => 'last_comment_timestamp',234 'to_type' => 'topic',235 'to_fieldname' => '_bbp_last_active_time',236 'callback_method' => 'callback_datetime'237 );238 231 239 232 // Topic status (Drupal v7.x Comments Enabled no = 0, closed = 1 & open = 2) 240 233 $this->field_map[] = array( -
includes/admin/converters/Example.php
271 271 'to_fieldname' => 'post_modified_gmt', 272 272 'callback_method' => 'callback_datetime' 273 273 ); 274 $this->field_map[] = array(275 'from_tablename' => 'topics_table',276 'from_fieldname' => 'the_topic_modified_date',277 'to_type' => 'topic',278 'to_fieldname' => '_bbp_last_active_time',279 'callback_method' => 'callback_datetime'280 );281 274 282 275 // Setup any table joins needed for the topic section 283 276 $this->field_map[] = array( -
includes/admin/converters/FluxBB.php
260 260 'to_fieldname' => 'post_modified_gmt', 261 261 'callback_method' => 'callback_datetime' 262 262 ); 263 $this->field_map[] = array(264 'from_tablename' => 'topics',265 'from_fieldname' => 'posted',266 'to_type' => 'topic',267 'to_fieldname' => '_bbp_last_active_time',268 'callback_method' => 'callback_datetime'269 );270 263 271 264 // Topic status (Open = 0 or Closed = 1, FluxBB v1.5.3) 272 265 $this->field_map[] = array( -
includes/admin/converters/Invision.php
252 252 'to_fieldname' => 'post_modified_gmt', 253 253 'callback_method' => 'callback_datetime' 254 254 ); 255 $this->field_map[] = array(256 'from_tablename' => 'topics',257 'from_fieldname' => 'last_post',258 'to_type' => 'topic',259 'to_fieldname' => '_bbp_last_active_time',260 'callback_method' => 'callback_datetime'261 );262 255 263 256 /** Tags Section ******************************************************/ 264 257 -
includes/admin/converters/Kunena1.php
251 251 'to_fieldname' => 'post_modified_gmt', 252 252 'callback_method' => 'callback_datetime' 253 253 ); 254 $this->field_map[] = array(255 'from_tablename' => 'kunena_messages',256 'from_fieldname' => 'time',257 'to_type' => 'topic',258 'to_fieldname' => '_bbp_last_active_time',259 'callback_method' => 'callback_datetime'260 );261 254 262 255 // Topic status (Open or Closed, Kunena v3.x 0=open & 1=closed) 263 256 $this->field_map[] = array( -
includes/admin/converters/Kunena2.php
270 270 'to_fieldname' => 'post_modified_gmt', 271 271 'callback_method' => 'callback_datetime' 272 272 ); 273 $this->field_map[] = array(274 'from_tablename' => 'kunena_topics',275 'from_fieldname' => 'last_post_time',276 'to_type' => 'topic',277 'to_fieldname' => '_bbp_last_active_time',278 'callback_method' => 'callback_datetime'279 );280 273 281 274 // Topic status (Open or Closed, Kunena v2.x 0=open & 1=closed) 282 275 $this->field_map[] = array( -
includes/admin/converters/Kunena3.php
269 269 'to_fieldname' => 'post_modified_gmt', 270 270 'callback_method' => 'callback_datetime' 271 271 ); 272 $this->field_map[] = array(273 'from_tablename' => 'kunena_topics',274 'from_fieldname' => 'last_post_time',275 'to_type' => 'topic',276 'to_fieldname' => '_bbp_last_active_time',277 'callback_method' => 'callback_datetime'278 );279 272 280 273 // Topic status (Open or Closed, Kunena v3.x 0=open & 1=closed) 281 274 $this->field_map[] = array( -
includes/admin/converters/Mingle.php
196 196 'to_type' => 'topic', 197 197 'to_fieldname' => 'post_modified_gmt' 198 198 ); 199 $this->field_map[] = array(200 'from_tablename' => 'forum_threads',201 'from_fieldname' => 'last_post',202 'to_type' => 'topic',203 'to_fieldname' => '_bbp_last_active_time'204 );205 199 206 200 // Topic status (Open or Closed) 207 201 $this->field_map[] = array( -
includes/admin/converters/MyBB.php
247 247 'to_fieldname' => 'post_modified_gmt', 248 248 'callback_method' => 'callback_datetime' 249 249 ); 250 $this->field_map[] = array(251 'from_tablename' => 'threads',252 'from_fieldname' => 'lastpost',253 'to_type' => 'topic',254 'to_fieldname' => '_bbp_last_active_time',255 'callback_method' => 'callback_datetime'256 );257 250 258 251 // Topic status (Open or Closed, MyBB v1.6.10 open = null & closed = 1) 259 252 $this->field_map[] = array( -
includes/admin/converters/Phorum.php
241 241 'to_fieldname' => 'post_modified_gmt', 242 242 'callback_method' => 'callback_datetime' 243 243 ); 244 $this->field_map[] = array(245 'from_tablename' => 'messages',246 'from_fieldname' => 'datestamp',247 'to_type' => 'topic',248 'to_fieldname' => '_bbp_last_active_time',249 'callback_method' => 'callback_datetime'250 );251 244 252 245 // Topic status (Open = 0 or Closed = 1) 253 246 $this->field_map[] = array( -
includes/admin/converters/phpBB.php
278 278 ); 279 279 $this->field_map[] = array( 280 280 'from_tablename' => 'topics', 281 'from_fieldname' => 'topic_ time',281 'from_fieldname' => 'topic_last_post_time', 282 282 'to_type' => 'topic', 283 283 'to_fieldname' => 'post_modified', 284 284 'callback_method' => 'callback_datetime' … … 285 285 ); 286 286 $this->field_map[] = array( 287 287 'from_tablename' => 'topics', 288 'from_fieldname' => 'topic_ time',288 'from_fieldname' => 'topic_last_post_time', 289 289 'to_type' => 'topic', 290 290 'to_fieldname' => 'post_modified_gmt', 291 291 'callback_method' => 'callback_datetime' 292 292 ); 293 $this->field_map[] = array(294 'from_tablename' => 'topics',295 'from_fieldname' => 'topic_last_post_time',296 'to_type' => 'topic',297 'to_fieldname' => '_bbp_last_active_time',298 'callback_method' => 'callback_datetime'299 );300 293 301 294 /** Tags Section ******************************************************/ 302 295 -
includes/admin/converters/PHPFox3.php
280 280 'to_fieldname' => 'post_modified_gmt', 281 281 'callback_method' => 'callback_datetime' 282 282 ); 283 $this->field_map[] = array(284 'from_tablename' => 'forum_thread',285 'from_fieldname' => 'time_update',286 'to_type' => 'topic',287 'to_fieldname' => '_bbp_last_active_time',288 'callback_method' => 'callback_datetime'289 );290 283 291 284 /** Tags Section ******************************************************/ 292 285 -
includes/admin/converters/PHPWind.php
276 276 'to_fieldname' => 'post_modified_gmt', 277 277 'callback_method' => 'callback_datetime' 278 278 ); 279 $this->field_map[] = array(280 'from_tablename' => 'bbs_threads',281 'from_fieldname' => 'lastpost_time',282 'to_type' => 'topic',283 'to_fieldname' => '_bbp_last_active_time',284 'callback_method' => 'callback_datetime'285 );286 279 287 280 // Topic status (Open or Closed, PHPWind v9.x 0=no, 1=closed & 2=open) 288 281 $this->field_map[] = array( -
includes/admin/converters/PunBB.php
268 268 'to_fieldname' => 'post_modified_gmt', 269 269 'callback_method' => 'callback_datetime' 270 270 ); 271 $this->field_map[] = array(272 'from_tablename' => 'topics',273 'from_fieldname' => 'last_post',274 'to_type' => 'topic',275 'to_fieldname' => '_bbp_last_active_time',276 'callback_method' => 'callback_datetime'277 );278 271 279 272 /** Tags Section ******************************************************/ 280 273 -
includes/admin/converters/SimplePress5.php
248 248 'to_type' => 'topic', 249 249 'to_fieldname' => 'post_modified_gmt' 250 250 ); 251 $this->field_map[] = array(252 'from_tablename' => 'sftopics',253 'from_fieldname' => 'topic_date',254 'to_type' => 'topic',255 'to_fieldname' => '_bbp_last_active_time'256 );257 251 258 252 /** Tags Section ******************************************************/ 259 253 -
includes/admin/converters/SMF.php
290 290 'to_fieldname' => 'post_modified_gmt', 291 291 'callback_method' => 'callback_datetime' 292 292 ); 293 $this->field_map[] = array(294 'from_tablename' => 'messages',295 'from_fieldname' => 'poster_time',296 'join_tablename' => 'topics',297 'join_type' => 'LEFT',298 'join_expression' => 'ON topics.id_first_msg = messages.id_msg',299 'to_type' => 'topic',300 'to_fieldname' => '_bbp_last_active_time',301 'callback_method' => 'callback_datetime'302 );303 293 304 294 /** Tags Section ******************************************************/ 305 295 -
includes/admin/converters/Vanilla.php
248 248 ); 249 249 $this->field_map[] = array( 250 250 'from_tablename' => 'Discussion', 251 'from_fieldname' => 'Date Updated',251 'from_fieldname' => 'DateLastComment', 252 252 'to_type' => 'topic', 253 253 'to_fieldname' => 'post_modified' 254 254 ); 255 255 $this->field_map[] = array( 256 256 'from_tablename' => 'Discussion', 257 'from_fieldname' => 'Date Updated',257 'from_fieldname' => 'DateLastComment', 258 258 'to_type' => 'topic', 259 259 'to_fieldname' => 'post_modified_gmt' 260 260 ); 261 $this->field_map[] = array(262 'from_tablename' => 'Discussion',263 'from_fieldname' => 'DateLastComment',264 'to_type' => 'topic',265 'to_fieldname' => '_bbp_last_active_time'266 );267 261 268 262 /** Tags Section ******************************************************/ 269 263 -
includes/admin/converters/vBulletin.php
270 270 ); 271 271 $this->field_map[] = array( 272 272 'from_tablename' => 'thread', 273 'from_fieldname' => ' dateline',273 'from_fieldname' => 'lastpost', 274 274 'to_type' => 'topic', 275 275 'to_fieldname' => 'post_modified', 276 276 'callback_method' => 'callback_datetime' … … 277 277 ); 278 278 $this->field_map[] = array( 279 279 'from_tablename' => 'thread', 280 'from_fieldname' => ' dateline',280 'from_fieldname' => 'lastpost', 281 281 'to_type' => 'topic', 282 282 'to_fieldname' => 'post_modified_gmt', 283 283 'callback_method' => 'callback_datetime' 284 284 ); 285 $this->field_map[] = array(286 'from_tablename' => 'thread',287 'from_fieldname' => 'lastpost',288 'to_type' => 'topic',289 'to_fieldname' => '_bbp_last_active_time',290 'callback_method' => 'callback_datetime'291 );292 285 293 286 /** Tags Section ******************************************************/ 294 287 -
includes/admin/converters/vBulletin3.php
270 270 ); 271 271 $this->field_map[] = array( 272 272 'from_tablename' => 'thread', 273 'from_fieldname' => ' dateline',273 'from_fieldname' => 'lastpost', 274 274 'to_type' => 'topic', 275 275 'to_fieldname' => 'post_modified', 276 276 'callback_method' => 'callback_datetime' … … 277 277 ); 278 278 $this->field_map[] = array( 279 279 'from_tablename' => 'thread', 280 'from_fieldname' => ' dateline',280 'from_fieldname' => 'lastpost', 281 281 'to_type' => 'topic', 282 282 'to_fieldname' => 'post_modified_gmt', 283 283 'callback_method' => 'callback_datetime' 284 284 ); 285 $this->field_map[] = array(286 'from_tablename' => 'thread',287 'from_fieldname' => 'lastpost',288 'to_type' => 'topic',289 'to_fieldname' => '_bbp_last_active_time',290 'callback_method' => 'callback_datetime'291 );292 285 293 286 /** Tags Section ******************************************************/ 294 287 -
includes/admin/converters/XenForo.php
300 300 'to_fieldname' => 'post_modified_gmt', 301 301 'callback_method' => 'callback_datetime' 302 302 ); 303 $this->field_map[] = array(304 'from_tablename' => 'thread',305 'from_fieldname' => 'last_post_date',306 'to_type' => 'topic',307 'to_fieldname' => '_bbp_last_active_time',308 'callback_method' => 'callback_datetime'309 );310 303 311 304 /** Tags Section ******************************************************/ 312 305 -
includes/admin/converters/XMB.php
299 299 'to_fieldname' => 'post_modified_gmt', 300 300 'callback_method' => 'callback_datetime' 301 301 ); 302 $this->field_map[] = array(303 'from_tablename' => 'posts',304 'from_fieldname' => 'dateline',305 'join_tablename' => 'threads',306 'join_type' => 'INNER',307 'join_expression' => 'USING (tid) WHERE posts.subject != ""',308 'to_type' => 'topic',309 'to_fieldname' => '_bbp_last_active_time',310 'callback_method' => 'callback_datetime'311 );312 302 313 303 /** Tags Section ******************************************************/ 314 304