This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search by id

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8071
    saylifesaylife
    Participant

    Hi
    I want to exclude pages from search completely
    But it is impossible to me, I and id added, didn’t help.
    Result
    http://richan.ru/ajax-search-pro.html
    http://richan.ru/?s=%D0%9F%D1%80%D0%BE%D0%B4%D0%B0%D0%B6%D0%B0

    And the search does not work on “id”, your code did not help me

    http://prnt.sc/agsxif

    page

    • This topic was modified 8 years, 6 months ago by saylifesaylife.
    #8073
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I just checked the search folder, and it contains remains from an old plugin version, incorrectly installed.

    Please FULLY re-install Ajax Search Pro using the plugin manager first and apply the fix I have recommended. (deactiavate, delete and install from codecanyon archive) It won’t work with old plugin versions. If it’s still won’t work after re-installing, then I will of course take another look.

    If you downloaded the plugin previously before purchasing from a 3rd party site, then I recommend to check your installation for viruses and backup everything. Pirated copies are very dangerous, and most likely contain malicious code to steal your website credentials.

    Let me know if reinstalling and trying the modification didn’t work.

    Also, make sure not to use the Index table engine, the modification (id search) will only work with the regular engine.

    #8081
    saylifesaylife
    Participant

    Search doesn’t work now in general.
    I took the module from the friend which he bought from you.
    Viruses aren’t present
    I made everything, and search doesn’t work in general ((
    Help me please.
    And how to clean pages from search?

    http://richan.ru/ajax-search-pro.html

    • This reply was modified 8 years, 6 months ago by saylifesaylife.
    #8089
    saylifesaylife
    Participant

    Your site of a demo doesn’t work search
    http://demo.wp-dreams.com/

    #8104
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It was indeed not working, because of the database table collation for the cyrillic symbols. I have changed the code to I have suggested to:

    [code]$this->parts[] = array(
    array("( $wpdb->posts.ID LIKE ‘$s’ )"), array()
    );[/code]

    Now it should search IDs and terms correctly if your switch back to the regular engine along with the ID exclusions.

    The demo was indeed not working because there was a maintenance on one of our database servers 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.