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™
Author Message
stephen2417
Worker
Worker


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Sat May 29, 2004 11:41 am Reply with quote

Can we use this great program with cpg nuke?

It would be great! Very Happy
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sat May 29, 2004 12:24 pm Reply with quote

Although I haven't tested it, as long as the db interface works the same there should be no issue that I know of.
 
View user's profile Send private message
stephen2417
PostPosted: Sat May 29, 2004 12:28 pm Reply with quote

OK well ill test it a bit later on.. Im just goin crazy right now.. Razz
 
stephen2417
PostPosted: Sun May 30, 2004 8:46 am Reply with quote

Im workin with Bob on doing this and releacing it. Very Happy
 
Raven
PostPosted: Sun May 30, 2004 10:35 am Reply with quote

See if this helps Only registered users can see links on this board! Get registered or login!
 
stephen2417
PostPosted: Sun May 30, 2004 10:55 am Reply with quote

lol ya i wrote that hehe

Just revised it and moved it all to one post also. Wink
 
Raven
PostPosted: Sun May 30, 2004 11:00 am Reply with quote

For posterity, why don't you post it here?
 
stephen2417
PostPosted: Sun May 30, 2004 11:18 am Reply with quote

Your wish is my comand..

Complete instructions to convert Sentinel(tm) to CPG-Nuke...
OPEN includes/sentinel.php

AFTER the copyright's/credits ADD
Code:
define('CPG_NUKE', true);


FIND
Code:
$nuke_config = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_config"));

CHANGE TO
Code:
$nuke_config = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_config_custom"));


Still bug testing also. Very Happy
 
Raven
PostPosted: Sun May 30, 2004 12:10 pm Reply with quote

I would think you'd pull that constant from somewhere else (language file or config) and then do something like this in Sentinel
Code:
If (CPG_NUKE) $nuke_config = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_config_custom"));

else $nuke_config = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_config"));
 
corky
Regular
Regular


Joined: Feb 29, 2004
Posts: 63

PostPosted: Sun May 30, 2004 12:26 pm Reply with quote

I helped test it
 
View user's profile Send private message
stephen2417
PostPosted: Sun May 30, 2004 1:14 pm Reply with quote

Ya that could work.. But that could be in the next release..

And all you want corky is credit Laughing
 
Raven
PostPosted: Sun May 30, 2004 1:24 pm Reply with quote

While we appreciate everyone who helps test the code, it is constantly being tested and improved by all who use it. The credits that usually accompany any application are usually reserved for those who develop the code. We openly acknowledge and thank all who use Sentinel(tm) and send suggestions for improvement Wink
 
stephen2417
PostPosted: Sun May 30, 2004 5:00 pm Reply with quote

I found a bug in my cpg conversion and sent an email to bob about it. Rolling Eyes
 
sgtbookie
Hangin' Around


Joined: May 08, 2004
Posts: 29
Location: Atlanta, GA

PostPosted: Mon May 31, 2004 11:47 am Reply with quote

Stephen2417 - When I add the include("includes/sentinel.php"); to my mainfile, my site comes up blank? Is there somewhere else I need to add this includes?

_________________
Sgt.Bookie
TwelvevoltmanDOTcom 
View user's profile Send private message Visit poster's website
sgtbookie
PostPosted: Mon May 31, 2004 11:51 am Reply with quote

Actually if I move the include statement lower in the mainfile, it appears to work. Any recommendation on where to move it?
 
stephen2417
PostPosted: Mon May 31, 2004 12:00 pm Reply with quote

Ok it should be after the credits.. thats what i always say.

And if you had any other security in there, like ravens old script you will want to remove that.

Also you wont get emails with this and the page will not show up right when someone hacks bc its not pulling the email right from the database.

Bob is working on figuring that out.. But other than that it works a-ok

Plus hes projecting that this will be compadable with cpg nuke about version 1.2.0 Very Happy
 
stephen2417
PostPosted: Wed Jun 02, 2004 11:47 am Reply with quote

It seems that ive started a mini debate my self on cpgnuke.com.. They seem to not want to provide support for those who install it.

Well if they need to un install it, theres only one line thats actually moded so we should have no problem to remove it so they can support it. Make sence Rolling Eyes
 
Raven
PostPosted: Wed Jun 02, 2004 12:38 pm Reply with quote

That is their call to make Smile. This is the support forum for Sentinel and we will (unofficially) support integration (through the users) the best we can. But, we do not support those applications nor do we (necessarily) include them in our testing.
 
sgtbookie
PostPosted: Wed Jun 02, 2004 12:53 pm Reply with quote

Doesn't it just seem smarter for all the different security mods / sites support each other? At the end of the day, aren't we all just trying to protect our nuke sites?

Thanks for a great security mod! Sentinel rocks!
 
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Jun 02, 2004 1:52 pm Reply with quote

I think it may simply be that CPG-Nuke has elected to include and support Protector and thats fine too. It was announced some time before Sentinel as we know it now was released.
 
View user's profile Send private message
sgtbookie
PostPosted: Wed Jun 02, 2004 2:07 pm Reply with quote

Actually CPG 8.2a has ditched Protector, since most of the protection is native to their portal.
 
sixonetonoffun
PostPosted: Wed Jun 02, 2004 2:32 pm Reply with quote

Thats interesting and makes sense since the primary goals were speed and security.
 
xfsunolesphp
Regular
Regular


Joined: Aug 23, 2003
Posts: 77

PostPosted: Wed Jun 02, 2004 8:17 pm Reply with quote

1 little Bug about Sentiel in cpg-nuke. it's can't grab anything from nuke config table. value in cfg_value and name in cfg_field.
 
View user's profile Send private message
sgtbookie
PostPosted: Thu Jun 03, 2004 7:24 pm Reply with quote

Question regarding Sentinel. SHould I be seeing IP Addresses building up in my Blocked IP Address section? I guess I should add that I am running IIS and CPGnuke, so does the blocked IP Address section read the htaccess file?

Just want to make sure I have this configed properly.
 
xfsunolesphp
PostPosted: Thu Jun 03, 2004 7:27 pm Reply with quote

they read from IP Table and htaccess
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©