Changeset 261 for trunk/xpressme_integration_kit/class
- Timestamp:
- Jun 8, 2009, 11:46:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php
r257 r261 272 272 function sync_to_wp_comment( $mode , $link_id , $forum_id , $topic_id , $post_id = 0 ){ 273 273 274 $mydirname = basename( dirname( dirname( __FILE__ ) ) );274 $mydirname = $this->mydirname ; 275 275 $xpress_prefix = $mydirname; 276 276 if ($xpress_prefix == 'wordpress') $xpress_prefix = 'wp'; … … 330 330 $comment_approved = "'" . $d3f_row['approval'] . "'"; 331 331 require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php'); 332 $user_ID = xoops_uid_to_wp_uid($d3f_row['uid'] );332 $user_ID = xoops_uid_to_wp_uid($d3f_row['uid'],$mydirname); 333 333 $comment_date_gmt = "'" . gmdate('Y-m-d H:i:s' , $d3f_row['post_time']) . "'"; 334 334 $comment_type = '';
Note: See TracChangeset
for help on using the changeset viewer.