| Author |
Message |
media
Beginner


Joined: Jul 13, 2004 Posts: 4
|
Posted: Thu Jul 15, 2004 9:30 pm Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
Hrmm, Dari posted this link to me to solve my problem, but can someone please explain the steps to me for the following configuration:
PHP Nuke 7.2
Gallery v1.4.3-pl2
I am really confused because its seems like this is for prior versions of the programs. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
|
|
|
| Back to top |
|
 |
media
Beginner


Joined: Jul 13, 2004 Posts: 4
|
Posted: Thu Jul 15, 2004 9:48 pm Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
| Nevermind, I got it.. Thanks Dari!!! One of the options worked.. |
|
| Back to top |
|
|
Cook3677
Beginner


Joined: Oct 06, 2004 Posts: 1
|
Posted: Thu Oct 07, 2004 10:11 am Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
Just an FYI for those asking: I made it work with phpnuke 7.5 and Gallery v1.4.4-pl2..
Basicly just like Kit said
Go into ..\modules\Gallery\html_wrap\wrapper.header.default
Replaced (started at line 12 for me)
Code: › if (
($GALLERY_EMBEDDED_INSIDE_TYPE == 'postnuke' && !defined("LOADED_AS_MODULE")) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'phpnuke' && !eregi("modules.php", $PHP_SELF)) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'nsnnuke' && !eregi("modules.php", $PHP_SELF)) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'phpBB2' && !defined("LOADED_AS_MODULE"))
) {
die ("You can't access this file directly...");
}
with
Code: ›
if (
($GALLERY_EMBEDDED_INSIDE_TYPE == 'postnuke' && !defined("LOADED_AS_MODULE")) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'phpnuke' && !eregi("modules.php", $_SERVER['PHP_SELF'])) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'nsnnuke' && !eregi("modules.php", $PHP_SELF)) ||
($GALLERY_EMBEDDED_INSIDE_TYPE == 'phpBB2' && !defined("LOADED_AS_MODULE"))
) {
die ("You can't access this file directly...");
}
Note the $_SERVER['PHP_SELF'] change. |
|
| Back to top |
|
|
tomcjay
Beginner


Joined: Jun 23, 2005 Posts: 1 Location: Boston
|
Posted: Thu Sep 08, 2005 1:12 pm Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
I have gallery 1.5 and Nuke 7.6. I am ot quite sure what I am suppose to to do. I have look for the code mentioned initially in this thread in the gallery.header.default file and am unable to find the code. I would like to have gallery on the main page of nuke. What should I do?  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 08, 2005 1:16 pm Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
| alot has been changed in recent versions of gallery 1. IIRC, in 1.5.1, there is a method outlined for getting gallery as your homepage included in the package. |
|
| Back to top |
|
|
auctions97
Beginner


Joined: Feb 08, 2010 Posts: 1
|
Posted: Tue Feb 09, 2010 12:58 am Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
| thanks guys, the steps is really helpful |
|
| Back to top |
|
|
benkids
Beginner


Joined: Jan 03, 2011 Posts: 4
|
Posted: Mon Jan 03, 2011 9:54 pm Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 |
|
|
| ZhiBike is the product Bike Trials [biketrialseller.com] of Bike Trial Seller [biketrialseller.com] our sales agents, there are a variety of the latest style in 2009, including Forks, Stems, Bashrings, Bike Store [biketrialseller.com] Cranks(158m), Cranks(170m), Handlebars, Hub(Front,Disc), Bike Shop [biketrialseller.com] Frames(20), Frames(26) and more. Welcome to our web site |
|
| Back to top |
|
|
|
|
|
|
|