Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pierre Dargham

    (@pdargham)

    Hi there !

    Sorry for waiting this long before an answer.

    I think the plugin should change nothing on deleting a site.

    – Can you tell me examples of the tables you added on mucd_default_primary_tables_to_copy ? Which plugin tables are they ?

    – Do you know if when you create (not duplicate) manually a site, and activate the plugin that creates these tables, then delete this site, the tables remain here ?

    Best regards,

    Oierre

    Thread Starter AliasgerSW

    (@aliasgersw)

    Hello sir,

    Sorry for late reply because i am outsite.
    My actual code in functions.php is below :

    function add_table_to_copy($ar_primtab) {
    	$ar_addval = array(
    'awpcp_adfees',
    'awpcp_admeta',
    'awpcp_adphotos',
    'awpcp_ads',
    'awpcp_ad_regions',
    'awpcp_categories',
    'awpcp_credit_plans',
    'awpcp_media',
    'awpcp_pagename',
    'awpcp_pages',
    'awpcp_payments',
    'city',
    'country',
    'cpd_counter',
    'cp_ad_fields',
    'cp_ad_forms',
    'cp_ad_geocodes',
    'cp_ad_meta',
    'cp_ad_packs',
    'cp_ad_pop_daily',
    'cp_ad_pop_total',
    'es_deliverreport',
    'es_emaillist',
    'es_notification',
    'es_pluginconfig',
    'es_sentdetails',
    'es_templatetable',
    'location',
    'newsletter',
    'newsletter_emails',
    'newsletter_stats',
    'states',
    'wpbdp_fees',
    'wpbdp_form_fields',
    'wpbdp_listing_fees',
    'wpbdp_payments',
    'wpbdp_payments_items',
    'wpbdp_submit_state',
    'zerospam_blocked_ips',
    'zerospam_log',
    'p2p',
    'p2pmeta'
    	);
    
    	foreach($ar_addval as $singleval){
    		$ar_primtab[] = $singleval;
    	}
    	return $ar_primtab;
    }
    add_filter('mucd_default_primary_tables_to_copy', 'add_table_to_copy');

    During site duplication this tables were duplicating properly according to need. But when if i’ll delete this tables above table sometimes didnot deleted. Specially newsletter tables.

    Thanks in Advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem on deleting a Network’ is closed to new replies.