Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other
Author Message
whitebox
Regular
Regular



Joined: Nov 22, 2004
Posts: 52

PostPosted: Sun Apr 23, 2006 1:51 pm Reply with quote

does anyone have GT-nextgen setting for NSN GR Downloads ??
ver NSN GR Downloads 760_102a
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Apr 23, 2006 4:57 pm Reply with quote

well its original for the 6.9 but i think it should work...

Code:



GT-Downloads2

<?php

$urlin = array(
"'(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=MostPopular&amp;ratenum=([0-9]*)&amp;ratetype=(percent|num)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=MostPopular'",
"'(?<!/)modules.php\?name=Downloads&amp;op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=NewDownloadsDate&amp;selectdate=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=NewDownloads'",
"'(?<!/)modules.php\?name=Downloads&amp;op=brokendownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([a-zA-Z0-9_-]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([a-zA-Z0-9_-]*)&amp;orderby=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Downloads(?!&)'",
"'(?<!/)modules.php\?name=Submit_Downloads'"
);

$urlout = array(
"Downloads-cat\\1-\\2-order\\3.html",
"Downloads-cat\\1-order\\2.html",
"Downloads-cat\\1.html",
"Downloads-rate\\1-\\2.html",
"Downloads-mostpop.html",
"Downloads-shownew\\1.html",
"Downloads-new-\\1.html",
"Downloads-new.html",
"Downloads-broken\\1.html",
"Downloads-\\1.html",
"Downloads-mod\\1.html",
"Downloads-search-\\1-\\2-order\\3.html",
"Downloads-search-\\1-order\\2.html",
"Downloads.html",
"submit_downloads.html"
);

?>




GT-NExtGEn Installation of NSN_GR_Downloads_690 Conversion Pack

Note: If you have changed the name of the module, please reflect those changes below, in the GT-Downloads.php file,
and also be sure rename the GT-Downloads.php file to the current module name you have assigned for it.

Installation:
Simply copy the below code into your .htaccess file
and upload the GT-Downloads.php to your GT Folder.

Code:



#NSN Group Downloads
RewriteRule ^downloads-cat([0-9]*)-([0-9]*)-order([a-zA-Z]*).html modules.php?name=Downloads&cid=$1&min=$2&orderby=$3
RewriteRule ^downloads-cat([0-9]*)-order([a-zA-Z]*).html modules.php?name=Downloads&cid=$1&orderby=$2
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&cid=$1
RewriteRule ^downloads-rate([0-9]*)-(percent|num).html modules.php?name=Downloads&op=MostPopular&ratenum=$1&ratetype=$2
RewriteRule ^downloads-mostpop.html modules.php?name=Downloads&op=MostPopular
RewriteRule ^downloads-shownew([0-9]*).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1
RewriteRule ^downloads-new.html modules.php?name=Downloads&op=NewDownloads
RewriteRule ^downloads-broken([0-9]*).html modules.php?name=Downloads&op=brokendownload&lid=$1
RewriteRule ^downloads-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1
RewriteRule ^downloads-mod([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1
RewriteRule ^downloads-search-([a-zA-Z0-9_-]*)-([0-9]*)-order([a-zA-Z]*).html  modules.php?name=Downloads&op=search&query=$1&min=$2&orderby=$3
RewriteRule ^downloads-search-([a-zA-Z0-9_-]*)-order([a-zA-Z]*).html modules.php?name=Downloads&op=search&query=$1&orderby=$2
RewriteRule ^downloads.html downloads.html
RewriteRule ^submit_downloads.html submit-download.html

 
View user's profile Send private message
whitebox







PostPosted: Sun Apr 23, 2006 7:43 pm Reply with quote

Thanks hitwalker, i'll test this later and let you guys know if everything works ok.
btw can you check your site, i registered while ago on your site and now i can't log in. i registered under acc whitebox
 
hitwalker







PostPosted: Sun Apr 23, 2006 8:02 pm Reply with quote

well your not in my system.. Sad
Not under that name...
Maybe you forgot to finish the registration...?
That happens a lot...they register,are to busy ,and day later temp account is gone.. Sad
 
whitebox







PostPosted: Mon Apr 24, 2006 8:36 am Reply with quote

ok i tested it out and it didn't work because there is one error in .htaccess

line before the last line is
Quote:
RewriteRule ^downloads.html downloads.html


no quotes i had to put the quotes for some reason it was chaning to the line above and i'm guessing that you put the right one so anyway here is that line that should be
Code:
"RewriteRule ^downloads.html modules.php?name=Downloads"


after i changed that NSN GR Download 760_102a works fine with nextgen
thanks again hitwalker also thanks for looking up my acc at your site.
 
hitwalker







PostPosted: Mon Apr 24, 2006 11:18 am Reply with quote

thats ok,these are just collected codes so i have no way of knowing if they ere working ones....
but you got it working so ...Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN Other

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©