berniezhao

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Search in unicode #140268

    berniezhao
    Expired Member
    Post count: 16

    Yes that would be great Stiofan!
    Thanks!

    in reply to: Search in unicode #139138

    berniezhao
    Expired Member
    Post count: 16

    I checked the source code in

    listing_filters.php

    Line 725

    
    
    
    $better_search[] = " OR ( $wpdb->posts.post_title LIKE "$s_term" OR $wpdb->posts.post_title LIKE "$s_term%" OR $wpdb->posts.post_title LIKE "% $s_term%" ) ";
    

    Line 754

    
    
    
    $better_search_terms .= ' OR ( ' . $wpdb->posts . '.post_title LIKE "' . $keyword . '" OR ' . $wpdb->posts . '.post_title LIKE "' . $keyword . '%" OR ' . $wpdb->posts . '.post_title LIKE "% ' . $keyword . '%" )';
    

    Both places added a “space” after “%”. If I remove the space and make it same as advanced search autocomplete, then everything works fine.
    If this is by design can we at least make it a configuration?
    Great thanks!

    in reply to: Search in unicode #139120

    berniezhao
    Expired Member
    Post count: 16

    Just to add a note:
    The auto-complete in advanced search plugin actually works great. It can search my terms ok. Are they using different logic than the main searching?
    Thanks!

    in reply to: Search in unicode #138521

    berniezhao
    Expired Member
    Post count: 16

    Thanks Paolo.
    That would be a problem for some languages that don’t have white spaces(like Asian). Because every character is actually a “word” and they are not separated by white spaces, the searching basically is useless this way.
    Can you tell me which php file has this feature maybe I can patch it myself until you have a solution?
    Thanks!

    in reply to: Search in unicode #138081

    berniezhao
    Expired Member
    Post count: 16
    This reply has been marked as private.
    in reply to: translation #60055

    berniezhao
    Expired Member
    Post count: 16

    Thanks @paolo!
    I kinda know maybe I need to manually add them into scan result. But usually I don’t have a lot of CPT, so that’s not a problem for now.
    Looking forward the the next release.
    Keep up the good work! 😉

    in reply to: translation #60037

    berniezhao
    Expired Member
    Post count: 16

    But in your case “testing-fr” is still the slug in the URL right? If you create a new listing, the posting type drop down list still says “Place” “Event” and “Testing” instead of French.

    in reply to: What is the Merge City option for? #59963

    berniezhao
    Expired Member
    Post count: 16

    Is there any work around? I’m also interested in implementing County level in USA.
    I would even trade City with County if I must choose one…
    Thanks.

    in reply to: translation #59954

    berniezhao
    Expired Member
    Post count: 16

    @paolo, thanks for the instruction. I followed the instruction and was able to translate the slugs but still not the “Name” of the CPT.

    In my case, I have “gd_place” and “gd_provider”. I can translate the “provider” to anything I want INSIDE the URL. However, when display on the page (for example when you create a listing, you can choose posting type), it still shows as “Provider”.

    Any help is appreciated!

    in reply to: translation #59890

    berniezhao
    Expired Member
    Post count: 16

    @paolo, I installed WPML. I can translate posts but I still couldn’t find the option translate post type name.
    Say I added one custom post type now I have two post types “place” and “provider”. I know the word “place” is the po file, but how do I translate the word “provider”?
    Thanks.

    in reply to: Unicode content display wrong #58686

    berniezhao
    Expired Member
    Post count: 16

    Thank you @stiofan!

    in reply to: Unicode content display wrong #58320

    berniezhao
    Expired Member
    Post count: 16

    Yes mb_convert_case() should be good. Thanks! Let us know.

Viewing 12 posts - 1 through 12 (of 12 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount