Create a FREE account or Login
As a guest, you don't have access to our FULL navigation system.
Author
Message
Crypton Novice Joined: Sep 28, 2004 Posts: 29
Posted: Wed Sep 29, 2004 6:29 am Post subject: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
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. Last edited by Crypton on Thu Sep 30, 2004 8:13 am; edited 1 time in total
Back to top
AdBot
Post subject: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
Back to top
gpass Beginner Joined: Jun 01, 2004 Posts: 1
Posted: Sun Dec 05, 2004 9:00 pm Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
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
dari Site Admin Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
Posted: Mon Dec 06, 2004 9:51 am Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
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
jalex Beginner Joined: Dec 11, 2004 Posts: 9
Posted: Sat Jan 08, 2005 7:10 am Post subject: Revised code for the gallery tap working with 1.4.4-pl4
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
Back to top
lumax Beginner Joined: Nov 04, 2003 Posts: 6
Posted: Thu Jan 20, 2005 11:30 pm Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
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
Mtwo Beginner Joined: Mar 17, 2004 Posts: 5
Posted: Wed Jun 07, 2006 10:36 pm Post subject: Re: NextGen Tap for 1.4.4-pl2 - 1.4.5-cvs-b226
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
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