• Resolved Tederic

    (@tederic)


    Hello,

    I would like to use a map (actionscripts 3) in front of my website.

    I would like to use your function in : plugins/business-directory-regions/frontend/frontend.php

    For using your $_POST[‘set-location’] on Flash to set the location.

    If i have correctly understand your code, i need to use :
    bd-module = “wpbdp-regions”
    bd-action = “set-location”
    region-id = “XXX”

    URL like that : index.php?bd-module=wpbdp-regions&bd-action=set-location?region-id=XXX

    But what is exactly region-id on your database ?

    wp_terms > term_id or slug ?
    wp_wpbdp_regionmeta > meta_id or region_id ?

    I would like to minimaze my modification in yours modules to sustain this solution when you will upgrade your solft

    Could you have a look on this ?

    Thanks,

    Tederic

    https://www.ads-software.com/plugins/business-directory-plugin/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi Tederic,

    I will ask my developer about this and I’ll report back when I know more.

    Thread Starter Tederic

    (@tederic)

    Ok thanks you,

    Could you say them to don’t use “-” on $_Post variables, we can use this term in Action-Scripts.

    I have to recode all variables : /

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Here’s what my developer said:

    The region-id refers to the term_id from wp_terms. That being said, please keep in mind that the next version of Regions removes this cookie-based filtering. The URL the customer is trying to use will still work but instead of setting a cookie will redirect to the correct Region-specific URL.

    I’m not clear on what he wants to achieve, but it seems to me that the next version of Regions would work even better for him since he wouldn’t need to call scripts from BD. He can just see which URL he needs and make his code use that.

    Contact me here and I can update your regions (please provide your PayPal email used to purchase it, too): https://businessdirectoryplugin.com/contact/

    Thread Starter Tederic

    (@tederic)

    Done by contact formulary

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    I’ve responded to your email–we can keep the conversation there.

    Thread Starter Tederic

    (@tederic)

    Ok thats work great. Thanks you : )

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Map & Region module’ is closed to new replies.