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
sharlein
Member Emeritus



Joined: Nov 19, 2002
Posts: 322
Location: On the Road

PostPosted: Wed Aug 04, 2004 3:35 pm Reply with quote

Every went very smoothly on install and update tables. The 'How to's' are very well written and informative. Thank you all very much. The only time I got confused was adding the lines to javascript.php and what the header.tmp is for? Embarassed Bang Head RavensScripts

_________________
Give Me Ambiguity Or Give Me Something Else! 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Wed Aug 04, 2004 3:50 pm Reply with quote

Quote:
HEADER.PHP File Edits:
======================
This will display a reminder to admins when they have their site disabled.
If you haven't altered your header.php you can use the included one. Rename it from header.tmp
to header.php before uploading it or follow the directions below.
Open your header.php file and find:

Code:
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;


Quote:
add $ab_config to the global:

Code:
    global $ab_config, $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;


Quote:
Now find:

Code:
    themeheader();


Quote:
and add before it:

Code:
    if($ab_config['site_switch'] == 1) {

      echo "<center><img src='images/sentinel/disabled.png' border='0' width='200' height='20'></center><br />\n";
    }


Quote:
It should look like:

Code:
    if($ab_config['site_switch'] == 1) {

      echo "<center><img src='images/sentinel/disabled.png' border='0' width='200' height='20'></center><br />\n";
    }
    themeheader();
 
View user's profile Send private message Visit poster's website
sharlein







PostPosted: Wed Aug 04, 2004 4:33 pm Reply with quote

Thank you very much Bob. The readme.txt when opened in note pad was hard for me to read. It was one run on sentence with a lot of small rectangles mixed in. Excellent work. A heartfelt well done to the team.
 
GeekyGuy
Client



Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Wed Aug 04, 2004 5:37 pm Reply with quote

sharlein,

I gave up on using notepad when I first started with PHP-Nuke. I strongly recommend a program called WinSyntax. You can get more information about it here. The [ Only registered users can see links on this board! Get registered or login! ] site appears to be offline, but you can get it from the [ Only registered users can see links on this board! Get registered or login! ] site I linked to.

I now use WinSyntax for all .txt, .htm, .php files.

Enjoy

_________________
"The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Thu Aug 05, 2004 8:25 am Reply with quote

WinSyntax seems to be highly rated on Download.com, but apparently it, too, gets the file from WinSyntax.com (aka arisesoft.com) which is down.

[EDIT]
You might also want to check out Crimson Editor (also free). Make sure to get the PHP syntax files.
 
View user's profile Send private message
Muffin
Client



Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Thu Aug 05, 2004 8:58 am Reply with quote

Everything upgraded smoothly thank you guys!

_________________
Classic Mini rules the bends & bends the rules!
[img] 
View user's profile Send private message
diablo
Hangin' Around



Joined: Feb 01, 2004
Posts: 34

PostPosted: Thu Aug 05, 2004 1:01 pm Reply with quote

Upgrade went smooth from 1.2 to version 2.0. Just a bit of feed back from a n00b Laughing It looks like by default that everything is off but i would of thought that it would be better is everything was on by default so as to give you time to read all the functionality and have a protected site. Even a Safe button which switches everything to a reasonable secure level.

Just my tuppence.

Thanks for great service and i'm now off to donate Smile
 
View user's profile Send private message
Muffin







PostPosted: Thu Aug 05, 2004 3:05 pm Reply with quote

After I went thru the various versions it was set on when I checked each category.

Maybe I was just lucky Rolling Eyes (for once) lol
 
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 ©