Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
media

Beginner
Beginner


Joined: Jul 13, 2004
Posts: 4

PostPosted: Thu Jul 15, 2004 9:30 pm    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9  

Back to top
media

Beginner
Beginner


Joined: Jul 13, 2004
Posts: 4

PostPosted: Thu Jul 15, 2004 9:48 pm    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

Nevermind, I got it.. Thanks Dari!!! One of the options worked..
Back to top
Offline View user's profile Send private message
Cook3677

Beginner
Beginner


Joined: Oct 06, 2004
Posts: 1

PostPosted: Thu Oct 07, 2004 10:11 am    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

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
Offline View user's profile Send private message
tomcjay

Beginner
Beginner


Joined: Jun 23, 2005
Posts: 1
Location: Boston

PostPosted: Thu Sep 08, 2005 1:12 pm    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

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? Arrow
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Thu Sep 08, 2005 1:16 pm    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

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
Offline View user's profile Send private message Visit poster's website
auctions97

Beginner
Beginner


Joined: Feb 08, 2010
Posts: 2

PostPosted: Tue Feb 09, 2010 12:58 am    Post subject: Re: Assigning GALLERY as HOME PAGE in Nuke 6.5~6.9 Reply with quote

thanks guys, the steps is really helpful
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkSearch Engine OptimisationSearch Engine OptimisationCompare VoIPSEO IndiaWeb Design Melbournemiami web designSEO IndiaLink BuildingPhoenix SEOPhoenix Web MarketingSEOManual Directory Submission Serviceflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOHome Appliances

7th year online! 2003-2010
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia