XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 13, 2009, 10:25:32 PM (15 years ago)
Author:
toemon
Message:

D3Forumコメント統合の途中 とりあえずD3Forum側からWP側への同期の部分だけ完了。
WPからD3フォーラム側への同期はバグ・エラーあり

File:
1 edited

Legend:

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

    r96 r104  
    5454//require_once('../include/custom_functions.php'); 
    5555 
     56//D3Forum Comment Integration 
     57if ($XPressME->is_use_d3forum){ 
     58        require_once dirname( __FILE__ ).'/include/d3forum_comment_synchro.php' ; 
     59        add_action("comment_post",      "onaction_comment_post"); 
     60        add_action("edit_comment",      "onaction_edit_comment"); 
     61        add_action("delete_comment","onaction_delete_comment"); 
     62        add_action("delete_post",       "onaction_delete_post"); 
     63        add_action("wp_set_comment_status" , "onaction_comment_apobe"); 
     64         
     65         
     66        add_filter('comments_template', "disp_d3forum_comments" ); 
     67 
     68} 
     69 
     70 
    5671// SQL debug windows 
    5772add_filter('query', array(&$XPressME, 'xpress_sql_debug')); 
Note: See TracChangeset for help on using the changeset viewer.