Closed (fixed)
Project:
IP-based Determination of a Visitor's Country
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2013 at 16:26 UTC
Updated:
8 Oct 2013 at 14:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
zterry95 commentedHere is the patch and it has actually used in one of our production site and works well.
Below is a rules example for explain the usage.
Attachment is the patch.
Comment #2
jantoine commentedI have attempted to make the following improvements to the patch in #1:
Comment #4
tr commentedI rewrote #2 to be more like I think it should be, and I also added a Rules action to Set the country.
I would appreciate it if someone could give this patch a test. I welcome any suggestions for additional rules integration, and it would be great if someone could post some useful examples for the documentation.
Comment #5
yurg commentedHi,
Thank you for patch: it works great for me so far. There is one issue remains, may be if it's Rules-specific though: redirect works everywhere but front page.
Comment #6
tr commentedCommitted. Thanks.