Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author vicchi

    (@vicchi)

    Hi … currently there’s no way of doing this, but there could be very easily.

    Is it just the icon and address you’re after, or more meta-data?

    It should be relatively trivial to add a new filter and push out a new version (famous last words!).

    -Gary

    Thread Starter robertdiaz

    (@robertdiaz)

    Hi, it’s really just the icon and street address, mostly to match what I am currently using. I can forward you the custom setup that I’m using now if you want to have a look.

    Thanks again,

    Robert

    Plugin Author vicchi

    (@vicchi)

    I can forward you the custom setup that I’m using now if you want to have a look.

    That would be great … forward away!

    -Gary

    Thread Starter robertdiaz

    (@robertdiaz)

    I zipped up the 2 files and uploaded it to a folder on my server. Here’s the shortened link: https://goo.gl/fFvw1

    As you’ll see, it’s based on this:
    https://code.google.com/p/foursquare-php

    For your reference, the developer created a write-up on his blog here:
    https://elie.im/blog/web/display-your-latest-foursquare-checkins-on-your-blog-using-foursquare-api-v2-and-php/

    Plugin Author vicchi

    (@vicchi)

    Got the zip file. You can take it down from your server. I’ll take a look later this evening.

    -Gary

    Plugin Author vicchi

    (@vicchi)

    OK. I’m taking a look at this now. From my reading of what you’ve been asking, I think you want one of the following …

    1. A new plugin filter, which passes the venue icon URL, the venue name, the venue type and the venue address to a function you hook into the filter.

    2. The ability to show the venue type and the venue address in the plugin’s widget (I’m assuming that as the plugin’s map already uses the venue’s icon and shows the venue name that this is already OK for you; please let me know if this is an incorrect assumption).

    3. Both of the above.

    4. None of the above; I’m on totally the wrong track.

    … but which one? Please let me know and I can get this into the next version of the plugin.

    -Gary

    Thread Starter robertdiaz

    (@robertdiaz)

    The first option you mentioned is closest to what I had in mind. I suppose adding a plug-in filter of just the street address would suffice. Having the venue type icon next to the venue name might be a little redundant, given that it already appears on the map.

    Thanks!

    Plugin Author vicchi

    (@vicchi)

    I know it’s been 5 months but I’m now pretty close to getting the next version out of the door. There’s been other, more major, problems to be solved around the underlying maps APIs (see https://www.ads-software.com/support/topic/disappearing-map?replies=7) which has taken all of this time, when I’ve been able to work on this.

    So the next question that springs to mind is what information from the checkin metadata do you want to be able to use in a filter hook and how?

    The reason I ask is that the plugin already has a filter, wp_quadratum_strapline that is passed the content of the strapline that appears under the map in the widget. The filter hook function currently is passed the checkin’s venue URL and name and the checkin’s timestamp.

    Based on our earlier discussions I can add the entire geolocation metadata from the checkin as well as the URL to the venue’s icon to this filter, which should give you all you asked for, but is this the right filter for what you envisage using this data for? Or is there a need, in your mind, for another filter that passes this information and if so, what content do you want to the filter to pass to the hook function and act on?

    -Gary

    Plugin Author vicchi

    (@vicchi)

    The latest version of WP Quadratum (v1.3.0 and not v1.2.1 as previously mentioned; there were sufficient changes to warrant upping the minor version number) has been pushed to the WordPress plugin subversion repository this morning and should now be available for upgrading from v1.2.0.

    Amongst other bug fixes and changes, this now adds a new filter, wp_quadratum_checkin that gives you access to the entire checkin object that the Foursquare API returns. This new filter is called prior to wp_quadratum_strapline so you can store the information you need (venue icon and address) prior to the strapline filter being invoked.

    -Gary

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding Check-in Venue Icon Address to Check-in’ is closed to new replies.