| Author | Message |
| Post Title: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 | |
Crypton
Joined: Sep 28, 2004 Posts: 29
|
Posted: Wed Sep 29, 2004 6:29 am
GT-Gallery.php
Code: ›
<?php // Gallery 1.4.4-pl2 PHP-Nuke GoogleTap $urlin = array( "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=Gallery&file=index&include=view_album.php'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=Gallery&file=index&include=captionator.php'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=Gallery&file=index&include=slideshow.php'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=Gallery&file=index&include=view_album.php&page=([0-9]*)'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=Gallery&file=index&include=view_album.php'", "'(?<!/)modules.php\?op=modload&name=Gallery&file=index&include=albums.php&set_albumListPage=([0-9]*)'", "'(?<!/)modules.php\?op=modload&name=Gallery&file=index&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. |
| Author | Message |
| Post Title: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 | |
gpass
Joined: Jun 01, 2004 Posts: 1
|
Posted: Sun Dec 05, 2004 9:00 pm
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? |
| Author | Message |
| Post Title: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Dec 06, 2004 9:51 am
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.
|
| Author | Message |
| Post Title: Revised code for the gallery tap working with 1.4.4-pl4 | |
jalex
Joined: Dec 11, 2004 Posts: 9
|
Posted: Sat Jan 08, 2005 7:10 am
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]*)&op=modload&name=gallery&file=index&include=view_album.php&page=([0-9]*)'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=gallery&file=index&include=view_album.php'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=gallery&file=index&include=captionator.php'", "'(?<!/)modules.php\?set_albumName=([a-zA-Z0-9]*)&op=modload&name=gallery&file=index&include=slideshow.php'", "'(?<!/)modules.php\?op=modload&name=gallery&file=index&include=albums.php&set_albumListPage=([0-9]*)'", "'(?<!/)modules.php\?op=modload&name=gallery&file=index&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 |
| Author | Message |
| Post Title: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 | |
lumax
Joined: Nov 04, 2003 Posts: 6
|
Posted: Thu Jan 20, 2005 11:30 pm
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.
|
| Author | Message |
| Post Title: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226 | |
Mtwo
Joined: Mar 17, 2004 Posts: 5
|
Posted: Wed Jun 07, 2006 10:36 pm
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", |