- Timestamp:
- Jun 5, 2009, 5:43:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.0/xpressme_integration_kit/class/xpressD3commentContent.class.php
r144 r257 198 198 $mydirname = $this->mydirname ; 199 199 if( preg_match( '/[^0-9a-zA-Z_-]/' , $mydirname ) ) die( 'Invalid mydirname' ) ; 200 200 201 201 $xpress_prefix = $mydirname; 202 202 if ($xpress_prefix == 'wordpress') $xpress_prefix = 'wp'; … … 216 216 $blog_name = $blog_row['option_value']; 217 217 218 218 219 219 // query 220 220 $sql = "SELECT * FROM ".$wp_post." WHERE ID=$link_id "; … … 329 329 $comment_content = "'" . addSlashes($d3f_row['post_text']) . "'"; 330 330 $comment_approved = "'" . $d3f_row['approval'] . "'"; 331 $user_ID = $d3f_row['uid']; 331 require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php'); 332 $user_ID = xoops_uid_to_wp_uid($d3f_row['uid']); 332 333 $comment_date_gmt = "'" . gmdate('Y-m-d H:i:s' , $d3f_row['post_time']) . "'"; 333 334 $comment_type = '';
Note: See TracChangeset
for help on using the changeset viewer.