Neighbourhood events

This topic contains 13 replies, has 3 voices, and was last updated by  Alex Rollin 6 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #430597

    stepoutbuffalo
    Buyer
    Post count: 260

    Hi there!

    Could you help us with next question:

    how is it possible to filter events relatively a particular event?

    In GD we have the search functionality “Near Me” (when we search the events in some distance from user). Is it possible to do something similar for Events? E.g., we open the detail event page, and there are some neighborhood events have to be shown.

    #430605

    Alex Rollin
    Moderator
    Post count: 27815

    It’s possible to setup date search, to add “search by dates” as advance search filter in:
    Geodirectory – Event settings – Advance search

    #430626

    stepoutbuffalo
    Buyer
    Post count: 260

    We need to show events filtered not by date but on distance (e.g., 40 miles).
    And one more question: Is it possible to output these events on detailed event page?

    #430662

    Alex Rollin
    Moderator
    Post count: 27815

    The Events plugin comes with an event widget:
    https://wpgeodirectory.com/docs/events-addon-widgets/

    You could also customize with the GD Listings shortcode, set to display events:
    https://wpgeodirectory.com/docs/core-shortcodes/#listings

    #430953

    stepoutbuffalo
    Buyer
    Post count: 260

    Hi there!

    Could you help us with one more question:

    how to add the marker to the map on event detail page? Or maybe there is a way to output the map with markers using geodir_draw_map?

    Thanks!

    #430970

    Alex Rollin
    Moderator
    Post count: 27815

    Events work just like other CPT.

    To change the map marker, visit the Events Categories and change the map icon.

    Can you share a link to an event page? And tell us more about what you are trying to do there.

    #431137

    stepoutbuffalo
    Buyer
    Post count: 260

    we need to output the neighborhood events.
    we make the request to the DB and receive the events list with Address Latitude/Longitude parameters within 40 miles.
    So, we need to output these lat/long on the map on the detailed event page – https://stepoutbuffalo.com/events/roycroft-campus-garden-tour/

    #431144

    Alex Rollin
    Moderator
    Post count: 27815

    When I read your topic, after rereading it a couple times, I will say that this is not a use case covered within GeoDirectory.

    First of all, there can only be one GMap on a page at a time, generally speaking. A second GMap will conflict with the map in the detail page tab.

    There may be a clever way to accomplish this on a WP Page, with shortcodes for GD Listings and GD Listing GMAP.

    Doing this on a detail page will likely require a customization of the detail page template:

    https://wpgeodirectory.com/docs/customizing-geodirectory-templates/

    Have you managed to get a shortcode working that shows the listings you want?

    #431394

    stepoutbuffalo
    Buyer
    Post count: 260

    We are using shortcode [gd_listing_map width=100% height=300 scrollwheel=false category=”16924″ post_type=gd_event]
    On the post page http://dev.stepoutbuffalo.com/liten-buffel-is-putting-wny-on-the-map-for-natural-winemaking-good-vibes/ the shortcode works correctly – the events that included in this category output on the map.

    The same shortcode we are using on detailed event page http://dev.stepoutbuffalo.com/events/compeer-superhero-race-wellness-walk/#post_profile and there is only current event marker output on the map.

    What’s the reason of this, what do you think? It seems like gd_listing_map shortcode works not correctly on the detailed event page exactly.
    We had used your code that output the gd_listing_map shortcode as a basis.

    #431407

    Alex Rollin
    Moderator
    Post count: 27815

    The detail page already has a map, and changing it will require customizing the template.

    Using it on a non-GD page works as expected.

    #431438

    stepoutbuffalo
    Buyer
    Post count: 260

    we hiden the map using this
    function geodir_detail_page_tab_is_display_filter($value,$type){
    if($type==’post_map’){return false;}
    else{return $value;}
    }

    We output the map using the shortcode [gd_listing_map width=100% height=300 scrollwheel=false category=”16924″ post_type=gd_event]

    #431444

    Kiran
    Moderator
    Post count: 7069

    Hello,

    gd_listing_map shortcode only usable on non-GD pages. On detail page it will show current listing and on category/archive/search page it will show current listings from the page.

    Currently it is not possible to show particular markers on the map on detail page.

    FYI: We are working on GeoDirectory v2 and in v2 map functionality improved and the things you asking already implemented.

    Kiran

    #431782

    stepoutbuffalo
    Buyer
    Post count: 260

    It’s great news 🙂
    Could someone clarify when the second version will be available for use?

    #431783

    Alex Rollin
    Moderator
    Post count: 27815

    The beta is available for testing now:
    https://wpgeodirectory.com/docs-v2/geodirectory/beta/

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount