Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
McGyver
New Member
New Member



Joined: Jan 27, 2005
Posts: 9

PostPosted: Thu Jan 27, 2005 9:29 am Reply with quote

hello all i just installed NukeSentinel and was wondering if someone could give it a test to see if i have it setup right my website url:
Only registered users can see links on this board! Get registered or login!

Also how do i get this googlebot ip out of my visitors list ? 66.249.65.234 its always there sometimes 2 at a time.
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Jan 27, 2005 9:46 am Reply with quote

Its working at least the one url I tried.

The IP is shown for as long as there is an active session. It might be a bug in the block you are using if it stays there for an exceptionally long time. I'd go back and see what block you are using but I'm kinda locked out at that moment lol!

Find something like time()-[some number here] change some number here to the number of seconds you want the ip to show in the block ie 900 = 5 minutes

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
McGyver







PostPosted: Thu Jan 27, 2005 10:27 am Reply with quote

sixonetonoffun

u say your blocked out of my site ?
if so i dont see your ip lol
 
McGyver







PostPosted: Thu Jan 27, 2005 10:36 am Reply with quote

Code:


$content  = "";
$username = $cookie[1];
$ip = getenv( "REMOTE_ADDR" );
getusrinfo($user);
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 10);
cookiedecode($user);
$sql = "SELECT username FROM $user_prefix"._users." ORDER BY user_id DESC LIMIT 0,1";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$lastuser = $row[username];
$numrows = $db->sql_numrows($db->sql_query("SELECT user_id FROM $user_prefix"._users.""));


thats whats in my block
so would it be this mt_srand ((double)microtime()*1000000); that has to be changed ?
 
sixonetonoffun







PostPosted: Thu Jan 27, 2005 11:11 am Reply with quote

No guess I wasn't blocked but it did trap the string.

That looks like the login block don't change that.

Where is the IP showing up at ? In a who's online block?
 
McGyver







PostPosted: Thu Jan 27, 2005 5:51 pm Reply with quote

well yea i have a all in 1 block that shows visitors and members that are on my site i made it so guests cant see the visitors ip just the count but admins can see visitors ip's only and under the visitors list there is always a googlebot ip.
 
McGyver







PostPosted: Thu Jan 27, 2005 6:02 pm Reply with quote

also is the .htaccess supose to be CHMOD 666 or 644 ?
 
sixonetonoffun







PostPosted: Thu Jan 27, 2005 6:11 pm Reply with quote

0666 if your using the write to htaccess options.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©