Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x
Author Message
floppydrivez
Involved
Involved


Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi

PostPosted: Sun Nov 12, 2006 10:40 pm Reply with quote

Everytime I update sentinel I get a new one of these when I disable site.
Not that its really hurting anything, but its really annoying.

Since I can't get the image to post. It just says 3 times one over another
Site Disabled
 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Nov 12, 2006 11:21 pm Reply with quote

Hmm does the Sentinel configuration on?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
floppydrivez
PostPosted: Mon Nov 13, 2006 8:47 am Reply with quote

Well if your asking do I actually have the site disabled? Yes I do.
 
evaders99
PostPosted: Mon Nov 13, 2006 10:09 am Reply with quote

Are you saying that it gets disabled from the upgrade script?
 
floppydrivez
PostPosted: Mon Nov 13, 2006 10:45 am Reply with quote

No, when I disable the site in config it shows "Site Disabled" 3 times on top of each other at the top of the page.
 
floppydrivez
PostPosted: Mon Nov 13, 2006 12:39 pm Reply with quote

I think if I could identify where this message is coded or stored, I could start poking around there.
 
netgoodies
Regular
Regular


Joined: Sep 26, 2005
Posts: 63
Location: Oxfordshire. United Kingdom.

PostPosted: Mon Nov 13, 2006 6:45 pm Reply with quote

Hi

Code:
#

#-----[ OPEN ]------------------------------------------
#
header.php

#
#-----[ FIND ]------------------------------------------
#
    themeheader();

#
#-----[ BEFORE, ADD ]------------------------------------------
#
    global $ab_config;
    if($ab_config['site_switch'] == 1 && is_admin($_COOKIE['admin'])) {
      echo "<center><img src='images/nukesentinel/disabled.png' alt='"._AB_SITEDISABLED."' title='"._AB_SITEDISABLED."' border='0'></center><br />\n";
    }
    if($ab_config['disable_switch'] == 1 && is_admin($_COOKIE['admin'])) {
      echo "<center><img src='images/nukesentinel/inactive.png' alt='"._AB_NSDISABLED."' title='"._AB_NSDISABLED."' border='0'></center><br />\n";
    }


Make sure the above is not duplicated in your header.php

Regards

Martyn
 
View user's profile Send private message Visit poster's website
floppydrivez
PostPosted: Tue Nov 14, 2006 9:17 am Reply with quote

That was the problem. Thanks
 
netgoodies
PostPosted: Wed Nov 15, 2006 7:29 am Reply with quote

Your welcome.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x

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 ©