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  

NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » GalleryTap View previous topicPrinter friendly versionView next topic
Author Message
Crypton

Novice
Novice


Joined: Sep 28, 2004
Posts: 29

PostPosted: Wed Sep 29, 2004 6:29 am    Post subject: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 Reply with quote

GT-Gallery.php
Code: ›
<?php

// Gallery 1.4.4-pl2 PHP-Nuke GoogleTap

$urlin = array(
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=Gallery&amp;file=index&amp;include=view_album.php'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=Gallery&amp;file=index&amp;include=captionator.php'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=Gallery&amp;file=index&amp;include=slideshow.php'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=Gallery&amp;file=index&amp;include=view_album.php&amp;page=([0-9]*)'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=Gallery&amp;file=index&amp;include=view_album.php'",
"'(?<!/)modules.php\?op=modload&amp;name=Gallery&amp;file=index&amp;include=albums.php&amp;set_albumListPage=([0-9]*)'",
"'(?<!/)modules.php\?op=modload&amp;name=Gallery&amp;file=index&amp;include=albums.php'",
"'(?<!/)modules.php\?name=Gallery'",
);

$urlout = array(
"gallery-view-album-\\1.html",
"gallery-edit-caption-\\1.html",
"gallery-view-sideshow-\\1.html",
"gallery-view-album-\\1-page\\2.html",
"gallery-view-album-\\1.html",
"gallery-view-page\\1.html",
"gallery-list.html",
"gallery.html",
);

?>



.htaccess
Code: ›
#Gallery
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=Gallery&file=index&include=view_album.php [L]
RewriteRule ^gallery-edit-caption-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=Gallery&file=index&include=captionator.php [L]
RewriteRule ^gallery-view-sideshow-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=Gallery&file=index&include=slideshow.php [L]
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*)-page-([0-9]*).html modules.php?set_albumName=$1&op=modload&name=Gallery&file=index&include=view_album.php&page=$2 [L]
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=Gallery&file=index&include=view_album.php [L]
RewriteRule ^gallery-view-page-([0-9]*).html modules.php?op=modload&name=Gallery&file=index&include=albums.php&set_albumListPage=$1 [L]
RewriteRule ^gallery-list.html modules.php?op=modload&name=Gallery&file=index&include=albums.php [L]
RewriteRule ^gallery.html modules.php?name=Gallery [L]


Works on 1.4.4-pl2 - 1.4.5-cvs-b211

I will have to work on tapping the rest of it as a few links are giving me problems.


Last edited by Crypton on Thu Sep 30, 2004 8:13 am; edited 1 time in total
Back to top
Hidden View user's profile Send private message
AdBot
   Post subject: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226  

Back to top
gpass

Beginner
Beginner


Joined: Jun 01, 2004
Posts: 1

PostPosted: Sun Dec 05, 2004 9:00 pm    Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 Reply with quote

When I use this tap with firefox or netscape users cant add pictures to the gallery the pop up gives the .. Sorry, you can't access this file directly... in the pop up -

but it works in IE -- go figure

if i take tap out of the wrapper.header.default it works ok .. any thoughts?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Dec 06, 2004 9:51 am    Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 Reply with quote

I didn't write the NextGen tap for Gallery....and, the URLs within Gallery have undergone some massive changes since the original tap was written...It would be best to PM / email the author of the NextGen tap.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jalex

Beginner
Beginner


Joined: Dec 11, 2004
Posts: 9

PostPosted: Sat Jan 08, 2005 7:10 am    Post subject: Revised code for the gallery tap working with 1.4.4-pl4 Reply with quote

After a few hours of working through code above I have finally got the galleries tapped!

Before you start out you must make sure that your galleries do not have any "-" characters in the directory names.

Most vital links now work including page selections on galleries and photos.

Here's the GT code

Code: › <?php

// Gallery 1.4.4-pl2 PHP-Nuke GoogleTap

$urlin = array(
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=gallery&amp;file=index&amp;include=view_album.php&amp;page=([0-9]*)'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=gallery&amp;file=index&amp;include=view_album.php'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=gallery&amp;file=index&amp;include=captionator.php'",
"'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&amp;op=modload&amp;name=gallery&amp;file=index&amp;include=slideshow.php'",
"'(?<!/)modules.php\?op=modload&amp;name=gallery&amp;file=index&amp;include=albums.php&amp;set_albumListPage=([0-9]*)'",
"'(?<!/)modules.php\?op=modload&amp;name=gallery&amp;file=index&amp;include=albums.php'",
"'(?<!/)modules.php\?name=gallery'",
);

$urlout = array(
"gallery-view-album-\\1-page-\\2.html",
"gallery-view-album-\\1.html",
"gallery-edit-caption-\\1.html",
"gallery-view-sideshow-\\1.html",
"gallery-view-page-\\1.html",
"gallery-list.html",
"gallery.html",
);

?>


.....and the .htacces code

Code: › #Gallery
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php [L]
RewriteRule ^gallery-edit-caption-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=captionator.php [L]
RewriteRule ^gallery-view-sideshow-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=slideshow.php [L]
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*)-page-([0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php&page=$2 [L]
RewriteRule ^gallery-view-album-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php [L]
RewriteRule ^gallery-view-page-([0-9]*).html modules.php?op=modload&name=gallery&file=index&include=albums.php&set_albumListPage=$1 [L]
RewriteRule ^gallery-list.html modules.php?op=modload&name=gallery&file=index&include=albums.php [L]
RewriteRule ^gallery.html modules.php?name=gallery [L]


The only differences lie in syntax and where the urlin an urlout statements are placed.

To see this working check out www.eospix.com

I'm not too bothered about tapping the various NG blocks as once a google bot has found the galleries, they can then resolve the photos.

Enjioy Razz
Back to top
Offline View user's profile Send private message
lumax

Beginner
Beginner


Joined: Nov 04, 2003
Posts: 6

PostPosted: Thu Jan 20, 2005 11:30 pm    Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 Reply with quote

I really dont know why you didnt just use the entries provided at the NextGen site. They work just fine and tap all the urls to boot.
_________________
[alaskandog.com]
Back to top
Offline View user's profile Send private message
Mtwo

Beginner
Beginner


Joined: Mar 17, 2004
Posts: 5

PostPosted: Wed Jun 07, 2006 10:36 pm    Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 Reply with quote

sideshow?
Code: ›

RewriteRule ^gallery-view-sideshow-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=slideshow.php [L]

should be

RewriteRule ^gallery-view-slideshow-([a-zA-Z0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=slideshow.php [L]

also

"gallery-view-sideshow-\\1.html",
should be
"gallery-view-slideshow-\\1.html",
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » GalleryTap View previous topicPrinter friendly versionView next topic

 
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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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