lonebyrd
Oct 1 2006, 02:20 AM
I have installed php-nuke to a website and am trying to understand it. I want to change some things about it: the colors, put links in, and change the top of the page. I'm starting with the top of the page. I believe that is the header. Now, I found the file in the PHP-Nuke folder, but I'm not exactly sure what to do with it. I haven't quite made my design yet, as I'm not sure what height and width to make it. But I would upload it to my site, then from there, I just wouldn't know where to put it into PHP-Nuke. To anyone who would like a refresher who might be able to help, I'll post a copy of the header file. Here it is: CODE <?php
/************************************************************************/ /* PHP-NUKE: Advanced Content Management System */ /* ============================================ */ /* */ /* Copyright (c) 2005 by Francisco Burzi */ /* http://phpnuke.org */ /* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/
if (stristr($_SERVER['SCRIPT_NAME'], "header.php")) { Header("Location: index.php"); die(); }
require_once("mainfile.php");
################################################## # Include some common header for HTML generation # ##################################################
$header = 1;
function head() { global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle; include("includes/ipban.php"); $ThemeSel = get_theme(); include("themes/$ThemeSel/theme.php"); echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; echo "<html>\n"; echo "<head>\n"; echo "<title>$sitename $pagetitle</title>\n"; include("includes/meta.php"); include("includes/javascript.php");
if (file_exists("themes/$ThemeSel/images/favicon.ico")) { echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n"; } echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n"; echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n"; if (file_exists("includes/custom_files/custom_head.php")) { include_once("includes/custom_files/custom_head.php"); } echo "\n\n\n</head>\n\n"; if (file_exists("includes/custom_files/custom_header.php")) { include_once("includes/custom_files/custom_header.php"); } themeheader(); }
online(); head(); include("includes/counter.php"); global $home; if ($home == 1) { message_box(); blocks(Center); }
?> I was under the impression that things like PHP-Nuke and other CMS's didn't require you to know any languages, but this is a little confusing to me.
Reply
mirdux
Oct 1 2006, 02:40 AM
if you are aware of what the image is that is displayed as the header, simply find the image, and go under it's properties to see its dimensions, In PHP, unlike HTML it is a flowing arrangement, so moreoften, the dimensions of the images/sections arent depicted. now if your changing the image, the perticular image wouldnt me found in the script you posted, it would probably be found in header.php...... however if youwanted to change the .ico file, thats a 16x16 JPEG, then after you make that just rename it to ICO and thats the image displayed by your adress in the adress bar. Thats the most i can tell you with what you gave. cheers
Reply
lonebyrd
Oct 1 2006, 03:32 AM
Ok, this is the header.php file in the PHP-Nuke folder, so what exactly am I supposed to do. I just got done making my design for the top of the page. Am I supposed to make it 16x16? and what is that, inches? Or am I supposed to figure it in pixels? And what is ICO? I am not familiar with PHP-Nuke at all as you might be able to tell. From what I can see from the header.php file that I posted, there is something that says ico in there. Is that what you were talking about?
Reply
Recent Queries:--
phpnuke javascript header - 180.37 hr back. (1)
Similar Topics
Keywords : php, nuke, header, question
- Is PHP-Nuke Hard To Use?
(5)
PHP-Fusion [mod Of PHP-Nuke]
(1) I was looking for a decent CMS when i came across PHP-Fusion. Look great and has quite a bit of
options. You can find more information at the home site http://www.php-fusion.co.uk An example of
it would be my site bashnetwerks.astahost.com Give it a try... **edit the url is
http://www.bashnetwerks.astahost.com/php-files/news.php ....
Problem With PHP-Nuke Not Being Able To Mail Out
(1) I've got a problem.. I'm having phpnuke (7.2 if I'm correct) and it has problems with
emails. I can not send emails, registation codes, or any thing via mail. What might be wrong? what
shall I do? any help?....
New PHP-Nuke In Fantastico Needs Patch!
(6) The PHP-Nuke 7.7 version that is on the Fantastico in the Control Panel is broken, it is inserting
the WYSIWYG editor into the forums, I didn't test for the PM's, and it is probably there
also. The problem is in the includes/javascript.php and if you have put this on your site and have
never used the PHP-Nuke you might not know that it is not only wrong but it doesn't work
properly becuase the WYSIWYG is an HTML editor and the forums are looking for BB Code, so if you
have this version installed send me a PM and I'll give you the code to replace the Jav....
PHP-Nuke With IPB Forums
(0) One complaint many people have with the PHP-Nuke is that it uses phpBB2 forums as its forum
software, and also that it is hard to modify the phpBB forum for PHP-Nuke. MODs written for the
phpBB and phpBB2 will 98% of the time not work with the PHP-Nuke as writeen unless they just are
concerned with one or two files and then only if they do not need tables to be modified for the MOD.
So you have to look for Ported MODS (which I write and demonstrate at NukeXtra ) N Now there is a
modified version of PHP-Nuke referred to as IPB-Nuke and you can see it working at NukeX....
Want PHP-Nuke With IPB Forums?
(7) For those that like the IPB forums and want to use PHP-Nuke a standard PHP_nuke comes with the phpBB
forums, but I have a modified version that you can download and use. This modified version comes
with only one language supported (English) but you can add them if you want. When uploaded to your
server it occupies about 8.5 Meg and loads quickly. NOTE IPB forums do not come with the program
due to licensing requirements. So you have to have your own copy of IPB. The site is IPB Nuke
and the download is IPB Nuke download Note also if you go to the Forums on th....
Anyone Wanting Mods For PHP-Nuke?
(1) I write Ported MODS for the phpBB forums for the PHP-Nuke CMS. When I went from phpBB2 to the
PHP-Nuke I was not happy with the inabilty to find MODS that worked with the PHP-Nuke version of
phpBB2. I did find a site that had some but that was not really enough, so I learned how to port
these MODS over to the PHP-Nuke system and have ported many of them. The signature control MOD the
BB Code Box, the Attachment MOD, a Buddy List, advanced quick reply, Forum Title colors, custom
username color, admin-moderator custom colors, phpMyAdmin in your forums, and many more. Sen....
Glad To See The Sub Forum
I use PHP-Nuke and am happy! (0) I made a post a long time back and mentioned that I would like to see a forum for the Nuke but
don't know if this forum was added to that request but nevertheless I am happy to see this forum
and will be here often especially when my sql server is down and I can't be on my main site.....
PHP-Nuke 7.7.0.3: Newest Official Release
Newest official release of PHP-Nuke (5) The newest release of PHP-Nuke 7.7.0.3 is out and is the best since they came out with 6.5 which
went from the SPLATT forums to the phpBB2 forums. The 7.6 version had too many flaws and i went
back to 7.5 but now 7.7 is out and has a WYSIWYG that you use in the AdminControl Panel it is not a
BB Code, it is a pretty fancy HTML WYSIWYG however unless you define the advanced editor when you
enter your values in your config,php it will then give a bare bones WYSIWYG which is still pretty
inpressive, not to mention that it doesn't take long for the page to load, the adva....
PHP-Nuke Help
usernames (4) Since everyone here are geniuses and I'm a bit of a n00b, this should be easy... All i need is
some PHP that will find the current logged in user's username and put it in a textbox. I need to
be able to apply formatting, etc to the textbox, and the textbox will be used as part of a form.
Could you help me? Please?....
PHP-Nuke
The Data Bases Of PHP-Nuke (3) which are the data bases for PHP-Nuke?....
Need Help With PHP-Nuke Themes
Help Please. (5) I was wondering how you install the themes into PHP-Nuke. I know its a stupid question but i tried
to do it myself and it always said it couldn't locate the images whenever I previewed the theme
on my site.....
PHP-Nuke
Open source professional portal system (7) "PHP-Nuke is a Free Software project released under the GNU/GPL license and distributed for free.
Its development cost a lot of time and money from the developers side, and we wanted to offer this
new feature as a fair manner to finance the project's costs. Because I don't think that
requesting donations is the best way to manage some incomes for the project, I wanted to have a
method to obtain the needed money giving something in return to you." I'm enjoyed with PHP
Nuke. What do you know about this system ?I want to meet people , who like it.....
Comparative Review Of Mambo And PHP-Nuke
(9) QUOTE just want to share my points of view between this two CMS. I made the comparison as how
they are use as a portal system. I like Mambo's poll because it uses cookie but then again, it
does not have a comment system. Mambo does not allow custom admins for each component. The latest
version of PHP-Nuke allows this. Mambo has a WYSWIG editor. PHP-Nuke does not have one. When
making components, you have to add rows for two tables and make use of three or more files. In
PHP-Nuke, all you need is one file and it will automatically detect it thus, no need to do....
Php Nuke Platinum 7.6 Released
(0) Features Overview: · 100% size reduction in comparison to PHP-Nuke 7.6. · Custom user friendly
theme, T-Platinum. · Over 200% newly added features and mods. · Latest PHP-Nuke security fixes and
updates. · Secure and customise themes with anti-theft using T-Console. · Upgrade to something
amazing, the easy way. · Run PHP-Nuke Platinum from home with Inferno™. · Custom, user friendly
theme, T-Platinum. -> Light/plum/gloss colour scheme. -> Matching PHPbb theme. -> Included topic
icons. -> Included menu icons. -> T-Console security. -> Photoshop resources incl....
What Is: PHP-Nuke?
(11) PHP nuke is a content management system or CMS. IT has built in forums, download page, stories,
articles ,news and a lot of other stuff. Its a stable portal with a striking developments year after
year. A lot of modules and hacks are also available for phpnuke . TO have a closer look visit
http://phpnuke.org For PHP nuke platinum which is the more advanced version visit..
http://techgfx.com I don't think this can come under here. It's not really a new
invention or technology. Besides the writeup is too small. Take a look at the other interesting fact
& ....
Php Nuke 7.6 Out
(7) PHP-Nuke 7.6 Final version. This version big change is that you can now rename your admin.php file
and hide it for security improvement. Several bugs has been fixed, more variables validation added,
Forums administration is now compatible with the new modularized administration system, added the
inclusion of header, mainfile and footer custom files so you don't loose your custom changes
anymore, full support of Mozilla FireFox browser's features and many more. Additionaly PHP-Nuke
version 7.5 has been released for free to the public on the downloads section. c....
Php Nuke Or Mambo Home Page Screen
Cant access homepage of phpnuke or Mambo (2) I already posted this in the support section but i didn't get ANY response When I install
PHP-Nuke or Mambo i can't acess the homepage I can see the files used for the system but i
can't view them Any help for once....
PHP Nuke Database Help
(13) Hey Guys, I need help with creating the database for PHP Nuke. I have uploaded everything (folders)
and I need to know how to create the database. The PHP Nuke tutorial isn't helping. Thanks in
advance.....
Looking for php, nuke, header, question
|
*SIMILAR VIDEOS*
Searching Video's for php, nuke, header, question
|
advertisement
|
|