PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
hbe_heretic
New Member
New Member


Joined: Oct 20, 2007
Posts: 8

PostPosted: Mon Oct 22, 2007 11:56 pm Reply with quote Back to top

I was just messing around with the scripts today trying to get the NSN GR Downloads working and I came across something that some of you may find interesting and helpful when trying to search IP's from the User Info block, rather than using the default search I have changed mine to Arin.net which is generally easy to use for most people and its free...heres the code I changed in the block-User_Info.php...Enjoy!

Code:
/*********************************************************************************************************/
/* Setup - Use these settings to control how some of the user info block displays to users/admins.       */
/*********************************************************************************************************/
$showGuests              = FALSE; //Allow/notAllow displaying of guest ip's partial or otherwise.
$showGuestsAdmin         = TRUE; //Allow/notAllow displaying of guest ip's partial or otherwise to Admins.
$showServerDateTime      = TRUE; //Allow/notAllow displaying of Server Date/Time.
$showServerDateTimeAdmin = TRUE; //Allow/notAllow displaying of Server Date/Time to Admins.
$whoisServerString       = 'ws.arin.net/whois/?queryinput=';
$nameMaxLength           = 13; //Max length for username display.  Will truncate with ....
$patchLevelGE30          = TRUE; //Are you using Chatserv's patch level Greater Than or Equal To 3.0?
$showHidden              = FALSE; //Allow/notAllow displaying of Hidden counts. FALSE=Admin Only  TRUE=ALL
/*********************************************************************************************************/
/* You should not need to modify anything below this line                                                */
/*********************************************************************************************************/
View user's profile Send private message
montego
Moderator


Joined: Aug 29, 2004
Posts: 7582
Location: Arizona

PostPosted: Tue Oct 23, 2007 6:29 am Reply with quote Back to top

Thanks,

But what is wrong with DNS Stuff? Seems to work fine for me and I never paid for anything there.

But, regardless, choices are good! Wink
View user's profile Send private message Visit poster's website
hbe_heretic
New Member
New Member


Joined: Oct 20, 2007
Posts: 8

PostPosted: Tue Oct 23, 2007 6:49 am Reply with quote Back to top

Actually every time I try and do a search even though I have signed up to DNS Stuff it brings me to their signup page with the default search settings, it worked once for me but since then it just keeps going to that page and its kind of a pain in the butt to have to sign in everytime I want to search someones IP on the fly and Arin is basically a quick fix that ensures a 90% success rate at finding out who/where these people are for me personally, but thats just my preference too cause I have always used Arin when searching IP's...not big on change I guess...lol
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Tue Oct 23, 2007 11:40 am Reply with quote Back to top

I'm not sure when they started doing this but I think dns stuff puts a cookie or something on your computer and after X number of queries they start bugging you about signing up and paying for their service.
View user's profile Send private message
montego
Moderator


Joined: Aug 29, 2004
Posts: 7582
Location: Arizona

PostPosted: Wed Oct 24, 2007 7:14 am Reply with quote Back to top

Ah, that would explain it. I have not reached that "limit" yet. Ok. Good to know.
View user's profile Send private message Visit poster's website
hbe_heretic
New Member
New Member


Joined: Oct 20, 2007
Posts: 8

PostPosted: Wed Oct 24, 2007 9:49 am Reply with quote Back to top

Ya its 10 free lookups then you are required to pay for the service.
View user's profile Send private message
mercman
Regular
Regular


Joined: Nov 29, 2006
Posts: 64
Location: TN, USA

PostPosted: Fri Apr 25, 2008 5:40 pm Reply with quote Back to top

Guys,
I found that the IP lookup didn't work for me right from the start.
I'd try to check a visitors IP and be brought the DNSstuff page described above.
The fix is simple:
In the code of the block-user_info.php block find this:
Code:

$whoisServerString       = 'dnsstuff.com/tools/whois.ch?ip=';

And change it to this:
Code:

$whoisServerString       = 'www.dnsstuff.com/tools/whois.ch?ip=';


Fixed it for me.

But it would be nice if someone fixed the "target=_blank" issue when checking a visitors IP and it actually opened in a new window instead of stealing focus from my site.
Razz Very Happy

-Merc
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum