|
| |
| |
Home |
| |
| |
Community |
| |
| |
Projects |
| |
| |
Support |
| |
| |
Members Only |
| |
| |
News |
| |
| |
Misc |
| |
|
|
| |
|
|
|
Follow peace with all men, and holiness, without which no man shall see the Lord.
|
|
| |
|
|
|
| Author |
Message |
Brujo64
Newbie


Joined: Jun 02, 2007
Posts: 2
|
Posted:
Sat Jan 05, 2008 11:53 am |
|
i like to share my working tap with the menalto gallery >1.5.2
Notice: there was a change in the gallery code around the Version 1.5.2 and for this you have to modify the $urlbefore with your domain name.
| Code: |
#Gallery
RewriteRule ^gallery.html modules.php?name=gallery [L]
RewriteRule ^gallery-albumlistpage_([0-9]*).html modules.php?op=modload&name=gallery&file=index&include=albums.php&set_albumListPage=$1 [L]
RewriteRule ^gallery.html modules.php?op=modload&name=gallery&file=index&include=albums.php [L]
RewriteRule ^gallery-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-album_([a-zA-Z0-9_-]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php [L]
RewriteRule ^gallery-photo_([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?set_albumName=$1&id=$2&op=modload&name=gallery&file=index&include=view_photo.ph
p [L]
RewriteRule ^gallery-photo_([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?full=1&set_albumName=$1&id=$2&op=modload&name=gallery&file=index&include=view_photo.php [L]
|
| Code: |
$urlbefore = 'http://your.domain/';
$urlin = array(
'"(?<!/)'.$urlbefore.'modules.php\?full=1&set_albumName=([a-zA-Z0-9_-]*)&id=([a-zA-Z0-9_-]*)&op=modload&name=gallery&file=index&include=view_photo.php"',
'"(?<!/)'.$urlbefore.'modules.php\?set_albumName=([a-zA-Z0-9_-]*)&id=([a-zA-Z0-9_-]*)&op=modload&name=gallery&file=index&include=view_photo.php"',
'"(?<!/)'.$urlbefore.'modules.php\?set_albumName=([a-zA-Z0-9_-]*)&op=modload&name=gallery&file=index&include=view_album.php&page=([0-9]*)"',
'"(?<!/)'.$urlbefore.'modules.php\?set_albumName=([a-zA-Z0-9_-]*)&op=modload&name=gallery&file=index&include=view_album.php"',
'"(?<!/)'.$urlbefore.'modules.php\?op=modload&name=gallery&file=index&include=albums.php&set_albumListPage=([0-9]*)"',
'"(?<!/)'.$urlbefore.'modules.php\?op=modload&name=gallery&file=index&include=albums.php"',
'"(?<!/)modules.php\?name=gallery"'
);
$urlout = array(
'gallery-photo-full_\\1-\\2.html',
'gallery-photo_\\1-\\2.html',
'gallery-album_\\1-page-\\2.html',
'gallery-album_\\1.html',
'gallery-albumlistpage_\\1.html',
'gallery.html',
'gallery.html'
);
|
have a lot of fun with it
Brujo |
Last edited by Brujo64 on Sat Jan 05, 2008 1:39 pm; edited 1 time in total |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 867
|
Posted:
Sat Jan 05, 2008 11:59 am |
|
Wow! I have never heard of anyone being 100% successful in tapping Gallery so my hat is off to you!
Thank you for sharing this! |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Brujo64
Newbie


Joined: Jun 02, 2007
Posts: 2
|
Posted:
Sat Jan 05, 2008 12:46 pm |
|
the gallery tap works for me and hopefull for others to... and it is not 100%, i missed to shorten some links like the Diashow.....
and thanks to you because i using your scripts Shortlinks & Dyn Titles on my site...
with best regards
Brujo |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 867
|
Posted:
Sat Jan 05, 2008 3:27 pm |
|
Sounds good. Thanks again. |
|
|
|
 |
|
|
|
View next topic
View previous topic
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
|
Powered by phpBB © 2001-2008 phpBB Group
:: Theme & Graphics by Daz :: Ported for PHP-Nuke by nukemods.com ::
All times are GMT - 4 Hours
|
|
|
|
|
|