WordPress.org

Ready to get started?Download WordPress

Forums

WP Find Your Nearest
[resolved] Working Samples please (23 posts)

  1. CreativeWP
    Member
    Posted 2 years ago #

    Do you have any working samples to see? I may need it, but I want to see it in action.

    Thanks,

    http://wordpress.org/extend/plugins/wp-find-your-nearest/

  2. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    It's currently only running with a demonstration of full capacity on a development site which my client might not be too happy to show, but when it goes live I'll put the link up. In the mean time I'll sort a demo on my own site over the weekend

  3. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    OK, you can test it on http://www.sitecoders.net/wordpress-plugins/wp-find-your-nearest/. I've populated it with five music venues in West Yorkshire UK, so best use a UK postcode such as the example I give on that page...

  4. chriskemm
    Member
    Posted 2 years ago #

    Hi

    The plugin looks great so far!

    One question though it doesn't detail how you get a search box on your site, have I missed this?

    Chris

  5. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    Oops... <facepalm> Thanks for the feedback... the search box is a widget called FYN - Search Form

    I'll update the instructions tonight if I get a chance

  6. chriskemm
    Member
    Posted 2 years ago #

    Hi Adam,

    Thanks for this!

  7. chriskemm
    Member
    Posted 2 years ago #

    Hi

    I would like to just return one result the most relavent one. I know this isn't an option (yet) but I assume you would just need to edit this in wp-find-your-nearest.php

    // Reset Post Data
    	wp_reset_postdata();
    	ksort($results);
    	foreach($results as $distance=>$content){
    		echo $contents;
    	}

    Any help would be very much appreciated.

  8. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    yes that should do it... replace

    foreach($results as $distance=>$content){
    		echo $contents;
    	}

    with

    echo reset($results);

    (I haven't tested that btw... but if I get a chance I'll add a "limit returned results" option too)

    Thanks for the suggestion

  9. chriskemm
    Member
    Posted 2 years ago #

    Works like a charm thanks!

    Yes I think it would be a great extra.

  10. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    Let me know where you are using it so I can boast! :-)

  11. CreativeWP
    Member
    Posted 2 years ago #

    I would love to see this incorporate at least to open in a new window with Google maps, so if I want to see the map, I could.

    Thanks for this great tool.

  12. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    nice idea... thanks :-)

  13. Adam Sargant
    Member
    Plugin Author

    Posted 2 years ago #

    OK... I've upgraded the plugin to include "limit search results" and a Google map pop up dialog

  14. stevieella
    Member
    Posted 2 years ago #

    Any way to allow the search box to go in a page instead of a widgetted area?

  15. SR20VET
    Member
    Posted 2 years ago #

    test_page
    Only works using Chrome on a PC... Chrome on a mac or any other browser won't do the trick. Same for mobile..
    It could've been such a nice piece of work :)

  16. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    Not having a mac I have only tested in PC (chrome, firefox and IE8) and linux (chrome and firefox)... how does it fail on mac, precisely?

  17. mrjcgoodwin
    Member
    Posted 1 year ago #

    Hi Adam,

    This looks like a great plugin that we are thinking of using. Could you advise if it is possible to mod it slightly so that it simply returns the number of results. E.g. 'There are 5 stores in your local area' rather than the actual results, as we want people to sign up for the site once they know we have the relevant info.

    Thank you and sorry I haven't started a new thread - it seems to follow from chriskemm's quaestion above. Feel free to move it! :-)

  18. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    Hi mrjcgoodwin

    This is certainly doable... a simple check on logged in status should suffice or even making the results view capability based...

    I've nearly completed a premium version of the plugin which I plan to make available for somewhere in the region of 10-20 GB pounds... if this is a feature that would interest you I would include it in that

  19. mrjcgoodwin
    Member
    Posted 1 year ago #

    This would definitely be something we would be interested in using.

    The only problem is timescale. I am working on a site which has to go live in the next few weeks just after new year. Can you recommend a quick hack to the existing codebase that will output the number of results only. We will then simply email users the relevant details as initially we aren't expecting huge numbers and are phasing the launch of the site - at first its more to just drum up interest.

    But we would then definitely want to upgrade to this more dynamic functionality once you are ready with your premium plugin, and I'd be more than happy to help you test it and showcase it once it's up and running.

  20. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    email me on adam 'at' sargant.net and I will look at making a quick fix and emailing it to you as a zip file

  21. mrjcgoodwin
    Member
    Posted 1 year ago #

    Brilliant thanks - just fired you an email now.

  22. empire592149
    Member
    Posted 1 year ago #

    Hi, first let me thankyou for a simple and easy to use plugin that does exactly what you want it to do. I'm having just one problem at the moment and that is that the map is loading behind my wordpress header which simply does'nt look right. I've only just started this website so not much to see yet but please feel free to take a look.
    Thanks very much
    Angela

  23. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Angela

    Looks to me to be an issue with your theme rather than the plugin. Your style sheeting is setting the zindex of the #branding id used by the header to 9999... presumably to ensure it appears above anything! Try editing style.css and changing value of x-index for the if #branding to, say, something like 1500

    I'm going to mark this topic as resolved as it would be helpful if people raised new topics for new issues (and would save sending emails to previous contributors that had nothing to do with their problem ;-) )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic