Not easily. It would put a reliance on a 3rd party service.
Thread Starter
lazyym
(@lazyym)
DuckDuckgo actually does a pretty good job without a service site. https://duckduckgo.com/?q=63.153.100.7&t=ffcm&ia=answer
You get how duckduckgo IS the service? 🙂
Thread Starter
lazyym
(@lazyym)
Right but no captcha, yadayada like whois. Most of them appear right at the top of search. Any suggestions on how and where I’d attack that?
Yes! Wait for version 1.7 😀
I’m adding a filter for you. Basically you’ll want to toss this into a function (I would put it in a file called ‘register-ip-multisite.php’ in the mu-plugins folder) and it’ll filter exactly what you want:
function filter_ripm_show_ip($theip) {
$theip = '<a href="https://duckduckgo.com/?q='.$theip.'">'.$theip.'</a>';
return $theip;
}
add_filter('ripm_show_ip', 'filter_ripm_show_ip');
Bonus? It won’t try to put the link around ‘None Found’ for when there’s no IP.
(1.7 is being pushed right now)
Great addition Mika!!!!
One request though.
Right now the links opens up in the same window. I think it would be nice to have it on a new window by default.
thanks again
PS: Just a heads up. The code under the FAQ does NOT display correctly.
If you want new window, you would target new (this is basic HTML stuff, by the way).
function filter_ripm_show_ip($theip) {
$theip = '<a href="https://duckduckgo.com/?q='.$theip.'" target="new">'.$theip.'</a>';
return $theip;
}
add_filter('ripm_show_ip', 'filter_ripm_show_ip');
I’ll fix the readme later. Stupid markdown…
Thread Starter
lazyym
(@lazyym)
Best donation I’ve ever made. Thanks!
this is basic HTML stuff, by the way
You are right. Since the code is written manually, I should have done it myself. I wasn’t thinking.
I have to increase my sleeping times. 🙂
God, what’s sleeping like?