Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
Accepted
ip_to_nation not working with ip_address
However, there is a tag called {logged_in_ip_address}, which will output the users ip address even inside the channel entries tag. BUT! When using this, ip_to_nation fails again. … So this is my final solution:
$this->EE->ip_data->find($ip);
include(APPPATH.' …
1
vote
2
answers
254
views
ip_to_nation not working with ip_address
However, if I hard code the IP address in there, it'll work:
{exp:ip_to_nation:world_flags image_url="http://example.com/images/world_flags/"}
66.85.128.185
{/exp:ip_to_nation:world_flags}
Any ideas …