XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 5, 2009, 5:43:15 PM (15 years ago)
Author:
toemon
Message:

#139 XOOPS UID と WordPress? UID 相違による不具合の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php

    r144 r257  
    493493        $post_time = strtotime($row->comment_date);             // or   $row2['comment_date_gmt'] 
    494494        $modified_time = strtotime($row->comment_date); // or   $row2['comment_date_gmt'] 
    495         $uid = $row->user_id; 
     495        require_once (get_xpress_dir_path() . 'include/general_functions.php'); 
     496        $uid =  wp_uid_to_xoops_uid($row->user_id); 
    496497        $poster_ip = "'" . addslashes($row->comment_author_IP ). "'"; 
    497498        $modifier_ip = "'" . addslashes($row->comment_author_IP) . "'"; 
Note: See TracChangeset for help on using the changeset viewer.