XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 28, 2009, 6:10:49 PM (15 years ago)
Author:
toemon
Message:

予約投稿、xmlrpc 投稿時のイベント通知問題の修正 fixes #194
イベント通知のデバッグ用の処理追加

Location:
trunk/xpressme_integration_kit/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/oninstall.php

    r345 r352  
    111111        dbDelta($views_queries); 
    112112        $ret[] = "$group_role table of XPressME was made."; 
     113         
     114        $notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ; 
     115        $queries ="CREATE TABLE $notify_reserve ( 
     116                notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT , 
     117                notify_reserve_status varchar(20)  NOT NULL default '' , 
     118                category text  NOT NULL default '', 
     119                item_id bigint(20) unsigned NOT NULL default '0', 
     120                event varchar(20) NOT NULL default '', 
     121                extra_tags_arry longtext NOT NULL default '' , 
     122                user_list_arry longtext NOT NULL default '' , 
     123                module_id smallint(5) unsigned NOT NULL default '0' , 
     124                omit_user_id varchar(20) NOT NULL default '' , 
     125                KEY notify_reserve_id (notify_reserve_id) 
     126                )TYPE=MyISAM"; 
     127        dbDelta($queries); 
     128        $ret[] = "$notify_reserve table of XPressME was made."; 
    113129 
    114130        $sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')"; 
  • trunk/xpressme_integration_kit/include/onupdate.php

    r345 r352  
    205205        } 
    206206         
     207        if (! enhanced_table_check($mydirname,'notify_reserve')){ 
     208                $notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ; 
     209                $queries ="CREATE TABLE $notify_reserve ( 
     210                        notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT , 
     211                        notify_reserve_status varchar(20)  NOT NULL default '' , 
     212                        category text  NOT NULL default '', 
     213                        item_id bigint(20) unsigned NOT NULL default '0', 
     214                        event varchar(20) NOT NULL default '', 
     215                        extra_tags_arry longtext NOT NULL default '' , 
     216                        user_list_arry longtext NOT NULL default '' , 
     217                        module_id smallint(5) unsigned NOT NULL default '0' , 
     218                        omit_user_id varchar(20) NOT NULL default '' , 
     219                        KEY notify_reserve_id (notify_reserve_id) 
     220                        )TYPE=MyISAM"; 
     221                $db->queryF( $queries ) ; 
     222                $msgs[] = "$notify_reserve table of XPressME was made."; 
     223        } 
    207224        return $msgs; 
    208225} 
  • trunk/xpressme_integration_kit/include/xpress_debug_log.php

    r96 r352  
    11<?php 
     2 
     3// define('XPRESS_EVENT_DEBUG',1); 
     4 
    25if (!function_exists('xpress_debug')) { 
    36        function xpress_debug($title = '',$ditail_show = false) 
Note: See TracChangeset for help on using the changeset viewer.