Title: Map &amp; Region module
Last modified: August 22, 2016

---

# Map & Region module

 *  Resolved [Tederic](https://wordpress.org/support/users/tederic/)
 * (@tederic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/)
 * 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://wordpress.org/plugins/business-directory-plugin/](https://wordpress.org/plugins/business-directory-plugin/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794170)
 * Hi Tederic,
 * I will ask my developer about this and I’ll report back when I know more.
 *  Thread Starter [Tederic](https://wordpress.org/support/users/tederic/)
 * (@tederic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794174)
 * 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](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794258)
 * 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): [http://businessdirectoryplugin.com/contact/](http://businessdirectoryplugin.com/contact/)
 *  Thread Starter [Tederic](https://wordpress.org/support/users/tederic/)
 * (@tederic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794263)
 * Done by contact formulary
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794275)
 * I’ve responded to your email–we can keep the conversation there.
 *  Thread Starter [Tederic](https://wordpress.org/support/users/tederic/)
 * (@tederic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794329)
 * 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.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tederic](https://wordpress.org/support/users/tederic/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/map-region-module/#post-5794329)
 * Status: resolved