Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter modcar

    (@modcar)

    A slightly quicker response time would be appreciated. You’re very quick to take $$ for the extra add-ons, perhaps try being just as quick to respond to error reports!

    Thread Starter modcar

    (@modcar)

    Hi there,

    I’m referring to the links in wp-admin > ultimate member > (persons name) > info

    Thread Starter modcar

    (@modcar)

    1.0is the only version of the csv importer.

    And yes, fields have mapped when importing.

    This had been working fine for many months

    The developer tools in Chrome are a good replacement for Firebug

    As your server provider to restore your database, not just your files

    Forum: Plugins
    In reply to: [WooCommerce] Sale price $0
    Thread Starter modcar

    (@modcar)

    Anyone?

    I’m interested in this too.

    ?listing_tag=xx seems broken in the latest version

    Thread Starter modcar

    (@modcar)

    I uninstalled and reinstalled the importing plugin, and now it works

    Thread Starter modcar

    (@modcar)

    Thanks for the copy and paste from your help page. The directory you refer to is /ldd-directory-lite/templates however I edited a file in /ldd-directory-lite/includes

    I presume from the vague answer you’ve given, I cannot make this upgrade safe.

    Thread Starter modcar

    (@modcar)

    Yes, I’m using v1.0

    And yes I realise the plugin is supposed to use the title of the directory to determine what to update, but this isn’t happening.

    Please don’t make me wait another month for a reply….

    Thread Starter modcar

    (@modcar)

    Er – just under 3 weeks later and no response?

    Thread Starter modcar

    (@modcar)

    I managed to get this working for what I needed, but needed to modify /includes/template-functions.php – is there any way to make this upgrade safe?

    On line 358 I added

    //Return Tags - List
    function ldl_get_tags_li($parent = 0) {
    	
    	$args_arr = array('parent' => $parent);
    
    	$sort_by 	= ldl()->get_option('directory_category_sort', 'business_name');
    	$sort_order = ldl()->get_option('directory_category_sort_order','asc');
    		
    	if(isset($attr["cat_order_by"]) and !empty($attr["cat_order_by"])):
    		$sort_by 	= $attr["cat_order_by"];
    	endif;
    
    	if(isset($attr["cat_order"]) and !empty($attr["cat_order"])):
    		$sort_order = $attr["cat_order"];
    	endif;	
    
    	
    	if($sort_by == "title"):
    		$args_arr = array(
    					  'orderby'	=> 'name', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 
    	elseif ($sort_by == "id"):		
    		$args_arr = array(
    					  'orderby'	=> 'id', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 						
    	elseif ($sort_by == "slug"):
    		$args_arr = array(
    					  'orderby'	=> 'slug', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 					
    	elseif ($sort_by == "count"):	
    		$args_arr = array(
    					  'orderby'	=> 'count', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 
    	endif;				
    
    	$custom_url = "";
    	$custom_url_para = array();
    	
    	if(isset($attr["list_order_by"]) and !empty($attr["list_order_by"])):
    		$ls_sort_by 				 = $attr["list_order_by"];
    		$custom_url_para["order_by"] = $ls_sort_by;
    	endif;
    
    	if(isset($attr["list_order"]) and !empty($attr["list_order"])):
    		$ls_sort_order  	 	  = $attr["list_order"];
    		$custom_url_para["order"] = $ls_sort_order;
    	endif;	
    
    	if(isset($custom_url_para) and !empty($custom_url_para)):
    		$custom_url = "?".http_build_query($custom_url_para);
    	endif;
    		
        $terms = get_terms(LDDLITE_TAX_TAG, $args_arr);
    
        //$mask = '<li><a href="&listing_tag=%2$s">%2$s</a></li>';
    	$mask = '<li><a href="'.$_SERVER[REQUEST_URI].'&listing_tag=%2$s">%2$s</a></li>';
    	//$mask = '<li><a href="%1$s'.$custom_url.'">%2$s</a></li>';
    	
    
        $tags = array();
    	if(!empty($terms) and !is_wp_error( $terms )) {
    	  foreach ($terms as $tag) {
    		  $term_link = get_term_link($tag);
    		  $tags[] = sprintf($mask, $term_link, $tag->name);
    	  }
    	}
        return implode(' ', $tags);
    }
    
    //Return Tags - form
    function ldl_get_tags_option($parent = 0) {
    	
    	$args_arr = array('parent' => $parent);
    
    	$sort_by 	= ldl()->get_option('directory_category_sort', 'business_name');
    	$sort_order = ldl()->get_option('directory_category_sort_order','asc');
    		
    	if(isset($attr["cat_order_by"]) and !empty($attr["cat_order_by"])):
    		$sort_by 	= $attr["cat_order_by"];
    	endif;
    
    	if(isset($attr["cat_order"]) and !empty($attr["cat_order"])):
    		$sort_order = $attr["cat_order"];
    	endif;	
    
    	
    	if($sort_by == "title"):
    		$args_arr = array(
    					  'orderby'	=> 'name', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 
    	elseif ($sort_by == "id"):		
    		$args_arr = array(
    					  'orderby'	=> 'id', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 						
    	elseif ($sort_by == "slug"):
    		$args_arr = array(
    					  'orderby'	=> 'slug', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 					
    	elseif ($sort_by == "count"):	
    		$args_arr = array(
    					  'orderby'	=> 'count', 
    					  'order'	=> $sort_order,
    					  'parent'	=> $parent
    				  	); 
    	endif;				
    
    	$custom_url = "";
    	$custom_url_para = array();
    	
    	if(isset($attr["list_order_by"]) and !empty($attr["list_order_by"])):
    		$ls_sort_by 				 = $attr["list_order_by"];
    		$custom_url_para["order_by"] = $ls_sort_by;
    	endif;
    
    	if(isset($attr["list_order"]) and !empty($attr["list_order"])):
    		$ls_sort_order  	 	  = $attr["list_order"];
    		$custom_url_para["order"] = $ls_sort_order;
    	endif;	
    
    	if(isset($custom_url_para) and !empty($custom_url_para)):
    		$custom_url = "?".http_build_query($custom_url_para);
    	endif;
    		
        $terms = get_terms(LDDLITE_TAX_TAG, $args_arr);
    	
    	
        $mask = '<option value="%2$s">%2$s</option>';
    
        $tags = array();
    	if(!empty($terms) and !is_wp_error( $terms )) {
    	  foreach ($terms as $tag) {
    		  $term_link = get_term_link($tag);
    		  $tags[] = sprintf($mask, $term_link, $tag->name);
    	  }
    	}
        return implode(' ', $tags);
    }

    essentially this is simply a copy of the lines above, but replacing “LDDLITE_TAX_CAT” with “LDDLITE_TAX_TAG”

    Thread Starter modcar

    (@modcar)

    Guys, I need a response – my client is threatening to leave if I cannot get this sorted soon

    Thread Starter modcar

    (@modcar)

    I guess not then?

    Thread Starter modcar

    (@modcar)

    Hello;

    How do I import tags? in the sample CSV its called listing_tag – but in the importer, theres no tags in the dropdown.

    How do I import Contact Name? this field exists in the wp admin area, but not on the sample csv or on the import screen

    Also, the first column of the CSV never maps automatically. I’ve got around this by having the first column named blank

Viewing 15 replies - 1 through 15 (of 16 total)