PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15235
Location: Kansas

PostPosted: Tue Nov 08, 2005 6:24 pm Reply with quote Back to top

This is just a simple hack to NukeSentinel(tm) to stop tracking users who you don't need to track, like yourself, for instance Wink. Since I, as owner/admin am on all the time, I want to stop the tracking and adding to the hit counter, regardless of what machine and/or IP I am logging in from. Yes, you can do this through the IP but if your IP changes frequently, as most do, then you have a small, yet still inconvenient, maintenance. And, you don't always know when your IP has been refreshed, so you have the added attraction of having to check that! So, here is but one way to accomplish that. I have chosen to only circumvent the IP tracking and nothing else, so be aware that this is not stopping NukeSentinel in any other way.

Is this a security risk? No. But, if a visitor was able to guess your password, and your authid name/password (of course you are using that Smile ) then you would not have his IP that he used. You would still have your server logs Wink, so use at your own risk.

Edit includes/nukesentinel.php

FIND
Code:
// IP Tracking
// CAUTION: This function can slow your sites load time
if($ab_config['track_active'] == 1 AND !is_excluded($nsnst_const['remote_ip'])) {


CHANGE TO
Code:
// IP Tracking
// CAUTION: This function can slow your sites load time
$bypassTrackingList = array('user1');  // Raven 11/8/2005
$bypassTracking     = FALSE;  // Raven 11/8/2005
if (in_array(addslashes(strtolower($uinfo['username'])),$bypassTrackingList, TRUE)) $bypassTracking = TRUE;  // Raven 11/8/2005
if($ab_config['track_active'] == 1 AND !is_excluded($nsnst_const['remote_ip']) AND !$bypassTracking) {  // Raven 11/8/2005


Of course, in this line $bypassTrackingList = array('user1');, you would add the real username(s), separated by a comma and enclosed in tick marks, like $bypassTrackingList = array('user1','user2','user3');
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
aces
New Member
New Member


Joined: Aug 24, 2006
Posts: 1

PostPosted: Wed Aug 23, 2006 11:08 pm Reply with quote Back to top

Hi Im using the latest ravenuke 2.02.02 and sentinel 2.5.02 and the above isnt working for me, not sure what im doing wrong or if this just no longer works. please advise, thanks.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15235
Location: Kansas

PostPosted: Thu Aug 24, 2006 9:24 am Reply with quote Back to top

I will look into it. Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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