- Timestamp:
- Jun 8, 2009, 11:46:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php
r257 r261 458 458 // The content is reflected in the D3Forum comment when there is a change in the WordPress comment. 459 459 function wp_comment_sync_to_d3forum($comment_ID = 0,$sync_mode){ 460 global $xpress_config,$xoops_db ;460 global $xpress_config,$xoops_db,$xoops_config; 461 461 462 462 if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. '); 463 $mydirname = $xoops_config->module_name; 463 464 464 465 $d3f_forum_id = $xpress_config->d3forum_forum_id; … … 494 495 $modified_time = strtotime($row->comment_date); // or $row2['comment_date_gmt'] 495 496 require_once (get_xpress_dir_path() . 'include/general_functions.php'); 496 $uid = wp_uid_to_xoops_uid($row->user_id );497 $uid = wp_uid_to_xoops_uid($row->user_id,$mydirname); 497 498 $poster_ip = "'" . addslashes($row->comment_author_IP ). "'"; 498 499 $modifier_ip = "'" . addslashes($row->comment_author_IP) . "'";
Note: See TracChangeset
for help on using the changeset viewer.