You are here

README.txt in Smart IP 6.2

$Id$

Description:
Smart IP Views Bridge exposes Smart IP visitor's location details to 
Views field (coordinates, country, ISO 3166 2-character country code, 
region, region code (FIPS), city and zip) and filter (country, ISO 3166 
2-character country code, region, region code (FIPS), city and zip).

Requirements:
Drupal 6.x
Smart IP
Views 2

Installation:
1. Login as an administrator. Enable the module at http://www.example.com/?q=admin/build/modules
as well as the Smart IP and Views modules.
2. Create your views at http://www.example.com/?q=admin/build/views

Guide/example of using Smart IP views fields and filters with Location module:
1. Download/install Location module.
2. Add location CCK field to “Page” content type (be sure to select 
“Allow” at the “City” from “Collection settings”).
3. Create a “Page” content. Populate the “Title”, “City” and select a country.
4. Create your views at http://www.example.com/?q=admin/build/views
5. Inside your Edit view, add a filter then select “Location: Country” and 
“Location: City” from the list (click “Add” button).
6. In “Defaults: Configure filter Location: Country”, scroll down at the 
bottom of the “Country” list and select “Smart IP: visitor's country code”. 
And select “Is” from “Operator:” radio selection. 
7. In “Defaults: Configure filter Location: City”, populate the “Value:” textfield 
with “smart_ip][location][city” Smart IP Views token and leave the “Is equal to” 
selected in “Operator:” dropdown menu.
“This will filter contents with the country defined in Location CCK fields (Country 
and City) in ralation to your visitor's country and city.”
8. Add a field then select “Smart IP: Country” from the list (click “Add” button).
9. In “Defaults: Configure field Smart IP: Country”, select “Country name” from the 
“Display style:” dropdown menu (click “Update” button). This will display the 
country of your visitor along with other CCK fields you've included in your views.

Support:
Please use the issue queue for filing bugs with this module at
http://drupal.org/project/issues/smart_ip

File

modules/smart_ip_views_bridge/README.txt
View source
  1. $Id$
  2. Description:
  3. Smart IP Views Bridge exposes Smart IP visitor's location details to
  4. Views field (coordinates, country, ISO 3166 2-character country code,
  5. region, region code (FIPS), city and zip) and filter (country, ISO 3166
  6. 2-character country code, region, region code (FIPS), city and zip).
  7. Requirements:
  8. Drupal 6.x
  9. Smart IP
  10. Views 2
  11. Installation:
  12. 1. Login as an administrator. Enable the module at http://www.example.com/?q=admin/build/modules
  13. as well as the Smart IP and Views modules.
  14. 2. Create your views at http://www.example.com/?q=admin/build/views
  15. Guide/example of using Smart IP views fields and filters with Location module:
  16. 1. Download/install Location module.
  17. 2. Add location CCK field to “Page” content type (be sure to select
  18. “Allow” at the “City” from “Collection settings”).
  19. 3. Create a “Page” content. Populate the “Title”, “City” and select a country.
  20. 4. Create your views at http://www.example.com/?q=admin/build/views
  21. 5. Inside your Edit view, add a filter then select “Location: Country” and
  22. “Location: City” from the list (click “Add” button).
  23. 6. In “Defaults: Configure filter Location: Country”, scroll down at the
  24. bottom of the “Country” list and select “Smart IP: visitor's country code”.
  25. And select “Is” from “Operator:” radio selection.
  26. 7. In “Defaults: Configure filter Location: City”, populate the “Value:” textfield
  27. with “smart_ip][location][city” Smart IP Views token and leave the “Is equal to”
  28. selected in “Operator:” dropdown menu.
  29. “This will filter contents with the country defined in Location CCK fields (Country
  30. and City) in ralation to your visitor's country and city.”
  31. 8. Add a field then select “Smart IP: Country” from the list (click “Add” button).
  32. 9. In “Defaults: Configure field Smart IP: Country”, select “Country name” from the
  33. “Display style:” dropdown menu (click “Update” button). This will display the
  34. country of your visitor along with other CCK fields you've included in your views.
  35. Support:
  36. Please use the issue queue for filing bugs with this module at
  37. http://drupal.org/project/issues/smart_ip