Search by id

This topic contains 4 replies, has 2 voices, and was last updated by

 
Keymaster
5 years, 10 months ago.

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

    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

    https://prnt.sc/agsxif

    page

    • This topic was modified 5 years, 10 months ago by  saylife.
    #8073

    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #8081

    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 5 years, 10 months ago by  saylife.
    #8089

    Participant

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

    #8104

    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:

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

    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 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.