>>  Site Map >>  Forums >>  General 6x

Forum module - topics in forum:



General 6x - Discussions reagarding any other PHP-Nuke Problems.



NaviNuke2.0.2_4_6.5

Hello,
It's late and i'm half asleep, can someone help me resolve this please.

NaviNuke2.0.2_4_6.5

In the instructions it says:

2. - Insert the following line into includes/my_header.php
--// include("modules/NaviNuke/navinuke.php"); //--

Here's my_header.php

Code: :
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 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 (eregi("my_header.php", $_SERVER['SCRIPT_NAME'])) {
    Header("Location: ../index.php");
    die();
}
/*
   This file is to customize whatever stuff you need to include in your site
   when the header loads. This can be used for third party banners, custom
   javascript, popup windows, etc. With this file you don't need to edit
   system code each time you upgrade to a new version. Just remember, in case
   you add code here to not overwrite this file when updating!
   Whatever you put here will be between <head> and </head> tags.
*/

?>


What's the correct way to display that slip of code please? Embarassed
Thanks later






Code: :
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 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 (eregi("my_header.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: ../index.php");
die();
}
/*
This file is to customize whatever stuff you need to include in your site
when the header loads. This can be used for third party banners, custom
javascript, popup windows, etc. With this file you don't need to edit
system code each time you upgrade to a new version. Just remember, in case
you add code here to not overwrite this file when updating!
Whatever you put here will be between <head> and </head> tags.
*/
include("modules/NaviNuke/navinuke.php");
?>


Also, just so you know, this menu is confusing as hell to administer.

Have fun. Shocked




Reply..

Hello and thanks Dar, hm i'll give it a go, in what way confusing Shocked
Ah shur, here it goes!






It just is, take my word.

If its confusing to me you'll be ripping you're hair out shortly. Shocked




Reply..

Oh jesus!
No actualy! I'll take your word for it, don't need late nite stress.
I'm installing site update instead Laughing






If you want a menu go grab http://gp4tweaker.vadertrophy.com/cms/downloadview-details-51-Site_Navigator_1.0_rc1.html it's what we have here up top.




Reply..

Cool thanks, that's what i though the other navi was.






LOL no, definately not. Smile




reply..

Just wonderin, if it is java based, i could have conflict on the main page.
I've deleted java stuff off me home page before coz i went crazy tryin to find and correct .js files.
Lets see what happens.




reply..

Yeh nice addon thansk dar Smile
But when i opened that text doc my head started to get dizzy




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS