- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 43 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - making a new module (my_egallery) [ ]
Author
Message
spike84
Nuke Soldier
Joined: Sep 17, 2005
Posts: 10
Posted:
Tue Jan 03, 2006 3:14 am
well gtnextgen is working perfectly on my site exept for youraccount module probably because i installed the nsn one.Any suggestion on how to resolve this problem?
The other question is:
I'm trying to adjust my_egallery module for gtnextgen and so i modified the .httaccess file adding:
Code:
#My_eGallery
RewriteRule ^showgallery-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?op=modload&name=My_eGallery&file=index&do=showgall&gid=$1&offset=$2&orderby=$3
RewriteRule ^showgallery-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&file=index&do=showgall&gid=$1&offset=$2&orderby=$3
RewriteRule ^showgallery-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&do=showgall&gid=$1&offset=$2&orderby=$3
RewriteRule ^showgallery-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?op=modload&name=My_eGallery&file=index&do=showgall&gid=$1&offset=&orderby=$2
RewriteRule ^showgallery-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?op=modload&name=My_eGallery&do=showgall&gid=$1&offset=&orderby=$2
RewriteRule ^showgallery-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&do=showgall&gid=$1&offset=&orderby=$2
RewriteRule ^showgallery-([0-9]*).html /modules.php?op=modload&name=My_eGallery&file=index&do=showgall&gid=$1
RewriteRule ^showgallery-([0-9]*).html /modules.php?name=My_eGallery&file=index&do=showgall&gid=$1
RewriteRule ^showgallery-([0-9]*).html /modules.php?name=My_eGallery&do=showgall&gid=$1
RewriteRule ^showfile-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?op=modload&name=My_eGallery&file=index&do=showpic&pid=$1&orderby=$2
RewriteRule ^showfile-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&file=index&do=showpic&pid=$1&orderby=$2
RewriteRule ^showfile-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&do=showpic&pid=$1&orderby=$2
RewriteRule ^showfile-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?op=modload&name=My_eGallery&file=index&do=showpic&gid=$1&pid=$2&orderby=$3
RewriteRule ^showfile-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&file=index&do=showpic&gid=$1&pid=$2&orderby=$3
RewriteRule ^showfile-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&do=showpic&gid=$1&pid=$2&orderby=$3
RewriteRule ^showfile-([0-9]*).html /modules.php?op=modload&name=My_eGallery&file=index&do=showpic&pid=$1
RewriteRule ^showfile-([0-9]*).html /modules.php?name=My_eGallery&file=index&do=showpic&pid=$1
RewriteRule ^showfile-([0-9]*).html /modules.php?name=My_eGallery&do=showpic&pid=$1
RewriteRule ^gallerytop.html /modules.php?op=modload&name=My_eGallery&file=index&do=top
RewriteRule ^gallerytop.html /modules.php?name=My_eGallery&file=index&do=top
RewriteRule ^gallerytop.html /modules.php?name=My_eGallery&do=top
RewriteRule ^galleryupload.html /modules.php?op=modload&name=My_eGallery&file=index&do=upload
RewriteRule ^galleryupload.html /modules.php?name=My_eGallery&file=index&do=upload
RewriteRule ^galleryupload.html /modules.php?name=My_eGallery&do=upload
RewriteRule ^galleryvote.html /modules.php?op=modload&name=My_eGallery&file=index&do=Vote
RewriteRule ^galleryvote.html /modules.php?name=My_eGallery&file=index&do=Vote
RewriteRule ^galleryvote.html /modules.php?name=My_eGallery&do=Vote
RewriteRule ^gallerydeletecomment-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html /modules.php?name=My_eGallery&do=deletecomment&cid=$1&pid=$2&orderby=$3
RewriteRule ^gallery.html /modules.php?op=modload&name=My_eGallery&file=index
RewriteRule ^gallery.html /modules.php?name=My_eGallery&file=index
RewriteRule ^gallery.html /modules.php?op=modload&name=My_eGallery
RewriteRule ^gallery.html /modules.php?name=My_eGallery
note: the "/" before "modules.php...." it's required by my server altervista.org
after doing theese modifies the gallery index works
but categories have always this kind of urls:
Code:
.../modules.php?op=modload&name=My_eGallery&file=index&do=showgall&gid=14
anyone can help me with 2 problems please?
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12346
Posted:
Tue Jan 03, 2006 12:39 pm
spike84
Nuke Soldier
Joined: Sep 17, 2005
Posts: 10
Posted:
Tue Jan 03, 2006 2:28 pm
of course u'r right!
but inside the GT-My_eGallery.php (is it right?) what $urlin and $urlout shall i put??
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