Auto complete on distance search stopped

BP Profile Search Auto complete on distance search stopped

  • Author
    Post
  • #12134 Reply
    Michael Spencer
    Guest

    Recently – not sure when – the autocomplete of locations from google stopped working unless user is logged in to the wordpress dashboard. We need this to work again for the general public visiting the site. Can you help?

    #12135 Reply
    andrea
    Plugin Author

    Hi Michael,

    Could you please share the page where the problem happens? You could use my Contact page if you prefer to share it privately.

    #12158 Reply
    Michael Spencer
    Guest

    Andrea, messaged on your contact page.

    #12183 Reply
    andrea
    Plugin Author

    Hi Michael,

    I’ve just released BP Profile Search 5.7.1 that should fix the problem you reported.

    Could you please test it on your site?

    #12185 Reply
    Michael Spencer
    Guest

    Sorry but it seems to make no difference.

    #12189 Reply
    andrea
    Plugin Author

    Thanks Michael.

    May I access your test site as an administrator, to better understand the problem? You can use my Contact page to share username and password privately.

    #12190 Reply
    Michael Spencer
    Guest

    It is a live site unfortunately but I can give you access. Will provide user and password on your contact page.

    #12191 Reply
    andrea
    Plugin Author

    Thank you Michael for the admin credentials.

    I noticed that jQuery was not loaded on the problem page, and this prevented the autocomplete field from working.

    So I installed the Code Snippets plugin and added a snippet that loads jQuery if it’s missing.

    Now the autocomplete field works as expected, but if you prefer to add some code to your bp-custom.php file instead of using Code Snippets, just let me know!

    #12195 Reply
    Michael Spencer
    Guest

    Andrea, Thank you for the fix. Any thoughts on why that would be happening? Is it something related to your plugin or something odd about that web page.

    #12197 Reply
    andrea
    Plugin Author

    It’s related to BP Profile Search, and I’m going to fix it in the next release.

    The BP Profile Search form needs jQuery, but it doesn’t load it itself.

    In the vast majority of settings, jQuery is loaded by other components but, if this doesn’t happen, the search form doesn’t find jQuery and silently fails.

Reply to: Auto complete on distance search stopped
My Information