Resolved – Settings Being Reset After Updates

Over the past 6 months or so we’ve been working with customers to resolve an issue where updating Store Locator Plus® would reset some (not all) settings. This was especially prevalent with our WordPress plugin users. With the latest 2511.08.XX release we believe we’ve finally put this issue to rest.

For some users, when they would update the base Store Locator Plus® WordPress plugin they would lose some settings. One of the settings we noticed on one of our test boxes was the Google Maps API key being reset. The full list of possible settings that could be impacted are shown here:

broadcast_timestamp => 0
default_country => us
extended_data_tested => 0
map_language => en
next_field_id => 1
next_field_ported => 
premium_user_id => 
premium_subscription_id => 
radius_behavior => always_use
slplus_plugindir => /var/www/html/wp-content/plugins/store-locator-plus/
slplus_basename => store-locator-plus/store-locator-plus.php
themes_last_updated => 0
active_style_css => div#map img {...more CSS...
admin_notice_dismissed => 0
invalid_query_message => We did not receive a valid JSONP response.
radii => 10,25,50,100,(200),500
searchlayout => ...HTML...
hide_address_entry => 0
hide_radius_selector => 0
label_radius => Within
label_search => Address / Zip
map_height => 480
map_height_units => px
map_width => 100
map_width_units => %
remove_credits => 0
maplayout => ...HTML...
initial_results_returned => 25
max_results_returned => 25
message_bad_address => Could not locate this address. Please try a different location.
message_no_results => No locations found.
instructions => Enter an address or zip code and click the find locations button.
label_hours => Hours
label_image => Image
theme => a_gallery_style
style_id => 
layout => ...HTML...
log_schedule_messages => 0
google_geocode_key => AI...HY
google_server_key => AI...HY
url_control_description => 

Results Layout Logic : ifnotset

Store Locator Plus® has a new release coming soon that adds some new features to the product offering.    The new 5.3 release builds on the current Results Layout formatting by adding a new ifnotset attribute to the [slp_location] shortcodes.    This allows user to display location data or option values by using either the “ifset” or “ifnotset” logic.

Display Phone Number If Set, Otherwise Display Fax Number

In this example, the results layout will show users the location phone number when that field has data in it.   If the phone number is not set it will render the fax field.    This goes in the Store Locator Plus® | Settings | Results | Results Layout setting.