Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.188.668 Times

Geo Data Store 1.2

  Date Added: August 22, 2013  |  Visits: 393

Geo Data Store

Report Broken Link
Printer Friendly Version


Product Homepage
Download (51 downloads)



This plugin is meant to be used by other developers and to be used together with themes and other plugins. Many themes and plugins use WordPress meta data table to store longitude and latitude co-ordinates for posts. While this works fine the meta data table cannot be indexed very well. LetdĀ¬DSdus take for example you have made a custom post type called 'properties'. You create 100,000 posts all attached with latitude and longitude co-ordinates. You want your users to search for those properties in a 50 mile radius for example. Because of the method of which WordPress stores the meta data the query is slow especially when dealing with large amounts of data.This plugin has been made to retro fit your current WordPress install. You as the developer select, using filters, what meta data you want to start capturing and this plugin will put the data in a table better optimized for storing latitude and longitude co-ordinates. Upon plugin activate existing data will be index and any data from then on.Usage: Before activating set what meta keys you want this plugin to capture by using the filter 'sc_geodatastore_meta_keys'. If you store your co-ordinates in one meta data field like '51.513123,-0.089006' then you need to add the key of that field to $keys['latlng'], but if you store your latitude and longitude values in a separate meta data fields then you need to add the keys of those fields to $keys['lat'] and $keys['lng'].Example:add_filter('sc_geodatastore_meta_keys', 'homes_for_sale_geodata');function homes_for_sale_geodata($keys) {dlT dlT dlT dlT dlT dlT dlT dlT $keys['lat'][] = "chb_homes_for_sale_address_latitude";dlT dlT dlT dlT $keys['lng'][] = "chb_homes_for_sale_address_longitude";dlT dlT dlT dlT return $keys;}Credits: Big thanks to Jan Fabry for helping me with the mammoth re-index query. I thought it couldndĀ¬DSdut be done in one query and he proved me wrong :PNotice: This plugin is currently limited to only allowing one pair of co-ordinates per post. Maybe in a later version I will allow multiple pairs per post, but since this plugin was made to serve my purpose and it serves it well I see no reason to build upon it yet. Install : * Upload to plugins dir * Activate plugin * Add sc_geodatastore_meta_keys filter to your functions of plugin file to set what meta data keys to capture.

Requirements: No special requirements
Platforms: PHP
Keyword: Chb Homes Sale Address Longitude Fields Function Homes Sale Geodata Homes Sale Geodata Keys Keys Lat Keys Lng Exampleadd Filter Geodatastore Meta Keys Nbspnbspnbspn Nbspnbspnbspnbsp Nbspnbspnbspnbspreturn
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


GEO DATA STORE RELATED
Modules  -  CCK GMap Address 5.x-1.0-beta11
Create your own address fields via CCK. Addresses are validated via Google Maps and can be displayed in several ways. * Address * Longitude * Latitude * Gmap - Single * GMap - All in One * Route Link - Single * Route Link - Allfeatures *...
10 KB  
Libraries  -  Socket6 0.19
Socket6 is a Perl module for IPv6 related part of the C socket.h defines and structure manipulators. SYNOPSIS use Socket; use Socket6; @res = getaddrinfo(hishost.com, daytime, AF_UNSPEC, SOCK_STREAM); $family = -1; while (scalar(@res) >=...
55.3 KB  
Modules  -  Flexi Contact 3.12
We always need an enquiry page, with a few customisable fields. Could we find a simple one? No! So here it is. It is flexible and incredibly simple to setup: Just install it, create a menu item of type FlexiContact, and choose your options. *...
10 KB  
Mail Clients  -  MyOutlook for Linux 0.6
MyOutlook is a program written in PHP adopted Microsoft Outlook function: webmail, task and event organizer and contact address management
20.48 KB  
Development Tools  -  write2excel 1.0
Uses ActiveX commands to write data_n into range_n in an existing Excel spreadsheet. Inputs (excluding fileloc and promptforsave) must be paired.As of 10/04 update, you may provide the target range (upper left cell to lower right cell) OR just the...
10 KB  
Modules  -  AlphaRecommend Light 1.0.5
AlphaRecommend is a component to allows visitors to recommend or invite their friends to visit your website by e-mail. It incorporates ReCaptcha security to help prevent spam. There is also an option to import e-mails with Plaxo Address Book...
40.96 KB  
Network & Internet  -  mod_upload
mod_upload is an input filter module for multipart/form-data, as submitted from File Upload forms on the Web. It decodes the data, so the handler gets the file itself without the MIME encoding. Other fields from the form are provided as a table of...
11.26 KB  
Form Processors  -  NateMail 3.0.14
NateMail script will allow you to have your form contents processed and sent to you in an email.Features:- Prevents spamming abuse with limited recipients- Required Fields (not empty)- Email Fields (must be an email address)- Number Fields (must...
245.76 KB  
Programming  -  DLL Export Viewer 1.10
DLL Export Viewer is a utility that shows, for each specified DLL file, a list of all the exported functions together with their virtual memory directories. As we all know, DLLs are Dynamic Link Libraries.You can easily copy the memory address of...
3 KB  
Utilities  -  Openwall Linux kernel patch 2.4.35-ow2
Openwall Linux kernel patch is a collection of security-related features for the Linux kernel, all configurable via the new Security options configuration section. In addition to the new features, some versions of the patch contain various...
34.82 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB