Author |
Message |
sharlein
Member Emeritus

Joined: Nov 19, 2002
Posts: 322
Location: On the Road
|
Posted:
Wed Aug 04, 2004 3:35 pm |
|
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?  |
_________________ Give Me Ambiguity Or Give Me Something Else! |
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Wed Aug 04, 2004 3:50 pm |
|
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: | 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();
|
|
|
|
|
 |
sharlein

|
Posted:
Wed Aug 04, 2004 4:33 pm |
|
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
|
Posted:
Wed Aug 04, 2004 5:37 pm |
|
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 Only registered users can see links on this board! Get registered or login!. The www.winsyntax.com site appears to be offline, but you can get it from the www.download.com 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 |
|
 |
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Aug 05, 2004 8:25 am |
|
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 Only registered users can see links on this board! Get registered or login! (also free). Make sure to get the PHP syntax files. |
|
|
|
 |
Muffin
Client

Joined: Apr 10, 2004
Posts: 649
Location: UK
|
Posted:
Thu Aug 05, 2004 8:58 am |
|
Everything upgraded smoothly thank you guys! |
_________________ Classic Mini rules the bends & bends the rules!
[img] |
|
|
 |
diablo
Hangin' Around

Joined: Feb 01, 2004
Posts: 34
|
Posted:
Thu Aug 05, 2004 1:01 pm |
|
Upgrade went smooth from 1.2 to version 2.0. Just a bit of feed back from a n00b 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  |
|
|
|
 |
Muffin

|
Posted:
Thu Aug 05, 2004 3:05 pm |
|
After I went thru the various versions it was set on when I checked each category.
Maybe I was just lucky (for once) lol |
|
|
|
 |
|