Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sat Dec 11, 2004 9:22 am Reply with quote

I am working on an Enhanced Downloads 2.1 GT conversion pack. If anyone wants to beta test it with me when I am finished let me know.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sat Dec 11, 2004 9:55 am Reply with quote

Wave
 
View user's profile Send private message
TheosEleos
PostPosted: Sat Dec 11, 2004 6:19 pm Reply with quote

Ok, I have a beta ready for testing. If a couple of peope want to test it with me send me a pm.
 
Raven
PostPosted: Sat Dec 11, 2004 6:28 pm Reply with quote

Bring it on!
 
TheosEleos
PostPosted: Sat Dec 11, 2004 7:02 pm Reply with quote

I posted it in the super secret moderators forum. Very Happy
 
dean
Worker
Worker


Joined: Apr 14, 2004
Posts: 193

PostPosted: Mon Dec 13, 2004 3:23 am Reply with quote

Aw silly to post secret - I was working on same six months ago - I will post here if youre interested..................

First my php file:
Code:
<?php


$urlin = array(
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratelink&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=AddDownload([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=MostPopular&amp;ratenum=([0-9]*)&amp;ratetype=([a-z]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=MostPopular([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloadsDate&amp;selectdate=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloads([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=TopRated&amp;ratenum=([0-9]*)&amp;ratetype=([a-z]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=TopRated([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=brokendownload&amp;lid=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=outsidedownloadsetup&amp;lid=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([a-zA-Z0-9\_\-\#]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([a-zA-Z0-9\_\-\#]*)&amp;orderby=([a-zA-Z]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([a-zA-Z0-9\_\-]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z]*)&amp;show=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z]*)([a-zA-Z0-9#]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([a-zA-Z0-9]*)([a-zA-Z0-9\_\-\# ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;file=ns_uploads_file&amp;type=file'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload(comments|details|editorial)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;uname=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Search&amp;query=([a-zA-Z0-9_-]*)'"
);

$urlout = array(
"downloads-rate-\\1.html",
"downloads-add.html\\1",
"downloads-pop-\\1-\\2.html\\3",
"downloads-pop.html\\1",
"downloads-new-showday-\\1.html\\2",
"downloads-new-selectday-\\1.html\\2",
"downloads-new.html\\1",
"downloads-top-\\1-\\2.html",
"downloads-top.html\\1",
"downloads-broken-\\1.html\\2",
"downloads-file-\\1.html",
"downloads-mod-\\1.html",
"downloads-outside-\\1.html\\2",
"downloads-rate-\\1-\\2.html",
"downloads-search-\\1-\\2-order\\3-\\4.html",
"downloads-search-\\1-order\\2.html",
"downloads-search-\\1.html\\2",
"downloads-cat-\\1-\\2-order\\3-\\4.html\\5",
"downloads-cat-\\1-order\\2.html\\3",
"downloads-cat-\\1.html\\2",
"downloads-cat-\\1.html",
"download-upload.html",
"downloads-\\1-\\2-\\3.html",
"downloads.html",
"userinfo-\\1.html",
"search-\\1.html"
);

?>


Then my .htaccess entries:

Code:
#Downloads

RewriteRule ^downloads-rate-([0-9]*).html /modules.php?name=Downloads&d_op=ratelink&lid=$1 [L]
RewriteRule ^downloads-add.html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=AddDownload$1 [L]
RewriteRule ^downloads-pop-([0-9]*)-([a-z]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=MostPopular&ratenum=$1&ratetype=$2$3 [L]
RewriteRule ^downloads-pop.html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=MostPopular$1 [L]
RewriteRule ^downloads-new-showday-([0-9]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1$2 [L]
RewriteRule ^downloads-new-selectday-([0-9]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1$2 [L]
RewriteRule ^downloads-new.html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=NewDownloads$1 [L]
RewriteRule ^downloads-top-([0-9]*)-([a-z]*).html /modules.php?name=Downloads&d_op=TopRated&ratenum=$1&amp;ratetype=$2 [L]
RewriteRule ^downloads-top.html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=TopRated$1 [L]
RewriteRule ^downloads-broken-([0-9]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=brokendownload&lid=$1$2 [L]
RewriteRule ^downloads-file-([0-9]*).html /modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^downloads-mod-([0-9]*).html /modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^downloads-outside-([0-9]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1$2 [L]
RewriteRule ^downloads-rate-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html /modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html /modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html([[:punct:]\#a-zA-Z]*)  /modules.php?name=Downloads&d_op=search&query=$1$2 [L]
RewriteRule ^downloads-cat-([0-9]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4$5 [L]
RewriteRule ^downloads-cat-([0-9]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) /modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2$3 [L]
RewriteRule ^downloads-cat-([a-zA-Z0-9]*).html([[:punct:]\#a-zA-Z0-9]*) /modules.php?name=Downloads&d_op=viewdownload&cid=$1$2 [L]
RewriteRule ^downloads-cat-([0-9]*).html /modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^downloads-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html* /modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloads.html /modules.php?name=Downloads [L]
RewriteRule ^download-upload.html /modules.php?name=Downloads&file=ns_uploads_file&type=file [L]


I was having trouble with getting some of the lesser used buttons to work but most users dont even notice - tell me if you came up with anything different....
 
View user's profile Send private message
dean
PostPosted: Thu Dec 16, 2004 1:58 pm Reply with quote

Ever since I posted, I have been curious about whether you came up with anything different or better. BTW, why the secrecy?
 
TheosEleos
PostPosted: Thu Dec 16, 2004 3:02 pm Reply with quote

The only reason I kept the file a secret was so that it didin't get distributed and have a lot of errors and not work well.

I thought at least one or two people would pm me wanting to try it out. I guess there isn't that much interest in it.

I got pretty much everything to tap except the 'recommend' link in normal download view. If the name of the file has spaces it wouldn't convert because GT didn't seem to want to convert the %20 code into an actual url.
 
Raven
PostPosted: Thu Dec 16, 2004 3:12 pm Reply with quote

I couldn't get either of your codes to work and I haven't had time to figure out why.
 
TheosEleos
PostPosted: Thu Dec 16, 2004 3:13 pm Reply with quote

You just don't know what you are doing.

Code newbie! Groovy
 
dean
PostPosted: Thu Dec 16, 2004 4:28 pm Reply with quote

Mine is working in two different nukes right now, the following links are produced from my site:
Quote:
Main options:

downloads.html
downloads.html?d_op=search#searchresults
downloads-add.html#adddownload
downloads-new.html#newdownloads
downloads-new-showday-7.html#newdownloads
downloads-new-selectday-1088577742.html#newdlstart
downloads-pop.html#mostpop
downloads-top.html#toprated
downloads-top-10-num.html#toprated

This is a category:

downloads-cat-2.html#cat

Now this is strange, on mouseover a specific download is:

downloads-file-10.html#dl

When you click on it, this url is produced:
modules.php?name=Downloads&d_op=ns_getit&cid=1&lid=10&type=url#get


These are what I consider the unresolved issues:
Code:
If you click on the details or recommend buttons for that item, you are sent to the main download page. 


If you click on modify button you get:
downloads-mod-10.html#mod

Reporting a broken download gets this:
downloads-broken-10.html#reportbroken


I will repost my code when I return home later today for Raven but if you would be so kind to post what you have so far...........
 
TheosEleos
PostPosted: Thu Dec 16, 2004 5:32 pm Reply with quote

Here is a download of what I am using so far.
Only registered users can see links on this board! Get registered or login!

All I did was edit the regualr download code in .htaccess and gt-downloads. I did not write this from scratch.

The #whatever after .html is ok from what I have read at audioslave's site. At least with my code everything works that has that at the end.
 
TheosEleos
PostPosted: Thu Dec 30, 2004 12:09 am Reply with quote

Any luck on this, Dean? I hate it that my recommend option is not tapping correctly. It appears that some people want to recommend downloads from my site but some of them don't work because of the space thing.
 
dean
PostPosted: Sat Jan 01, 2005 4:28 pm Reply with quote

You're code is quite a bit different than mine:

Code:
#Downloads

RewriteRule ^downloads-rate-([0-9]*).html modules.php?name=Downloads&d_op=ratelink&lid=$1 [L]
RewriteRule ^downloads-add.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=AddDownload$1 [L]
RewriteRule ^downloads-pop-([0-9]*)-([a-z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=MostPopular&ratenum=$1&ratetype=$2$3 [L]
RewriteRule ^downloads-pop.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=MostPopular$1 [L]
RewriteRule ^downloads-new-showday-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1$2 [L]
RewriteRule ^downloads-new-selectday-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1$2 [L]
RewriteRule ^downloads-new.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloads$1 [L]
RewriteRule ^downloads-top-([0-9]*)-([a-z]*).html modules.php?name=Downloads&d_op=TopRated&ratenum=$1&amp;ratetype=$2 [L]
RewriteRule ^downloads-top.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=TopRated$1 [L]
RewriteRule ^downloads-broken-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=brokendownload&lid=$1$2 [L]
RewriteRule ^downloads-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^downloads-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^downloads-outside-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1$2 [L]
RewriteRule ^downloads-rate-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html([[:punct:]\#a-zA-Z]*)  modules.php?name=Downloads&d_op=search&query=$1$2 [L]
RewriteRule ^downloads-cat-([0-9]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4$5 [L]
RewriteRule ^downloads-cat-([0-9]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2$3 [L]
RewriteRule ^downloads-cat-([a-zA-Z0-9]*).html([[:punct:]\#a-zA-Z0-9]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1$2 [L]
RewriteRule ^downloads-cat-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^downloads-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html* modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloads.html downloads.html [L]
RewriteRule ^download-upload.html modules.php?name=Downloads&file=ns_uploads_file&type=file [L]


I noticed that you're code doesn't include [L] which is the suggested change in the 0.4a version....
 
TheosEleos
PostPosted: Sat Jan 01, 2005 4:40 pm Reply with quote

I had no idea. Thanks!
 
anor
New Member
New Member


Joined: Jan 02, 2005
Posts: 1

PostPosted: Sun Jan 02, 2005 5:47 am Reply with quote

TheosEleos i tried your instructions for edl v2.1 and have found a couple of bugs.
1st the search doesn't work.
2nd when a download contains spaces in it's name you cannot recommend it too a friend because it redirects you too a 404.html page (error thus).

I modified your insturctions a bit and here they come, it works great for my site.

GT-Downloads.php

Code:
$urlin = array(

"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_rec_dl&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_send_rec'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_two&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_one&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloaddetails&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloadcomments&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=brokendownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(TopRated|MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(AddDownload|NewDownloads|MostPopular|TopRated)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=outsidedownloadsetup&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads'"
);

$urlout = array(
"downloadrecommend-\\1-\\2-\\3.html",
"download-send.html",
"download-file-mirrortwo\\1.html",
"download-file-mirrorone\\1.html",
"downloaddetails-\\1-\\2-\\3.html",
"downloadcomments-\\1-\\2-\\3.html",
"download-mod-\\1.html",
"download-broken-\\1.html",
"download-shownew-\\1.html",
"download-seldate-\\1.html",
"download-file-\\1.html",
"ratedownload-\\1-\\2-\\3.html",
"ratedownload-\\1.html",
"download-\\1-\\2-\\3.html",
"downloads-\\1.html",
"download\\1-orderby\\2.html",
"download\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2.html",
"download-search.html",
"download-outside-\\1.html",
"downloads-cat\\1.html",
"downloads.html"
);


.htaccess

Code:
#Downloads

RewriteRule ^downloadrecommend-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Downloads&d_op=ns_dl_rec_dl&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-send.html modules.php?name=Downloads&d_op=ns_dl_send_rec [L]
RewriteRule ^download-file-mirrortwo([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_two&lid=$1 [L]
RewriteRule ^download-file-mirrorone([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_one&lid=$1 [L]
RewriteRule ^downloaddetails-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloaddetails&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloadcomments-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloadcomments&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^ratedownload-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=ratedownload&cid=$1&lid=$1&ttitle=$2 [L]
RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&d_op=search [L]
RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^downloads.html downloads.html [L]


Also i added the [L] which will somewhat speed it up becuase gt-nextgen then stops searching for other matching rewrites when he found the correct one.

Hope this helps you and others.
 
View user's profile Send private message Visit poster's website
TheosEleos
PostPosted: Thu Jan 06, 2005 11:49 am Reply with quote

Nice work Anor, slight error on what you posted.

Quote:
RewriteRule ^downloads.html downloads.html [L]


Besides that everything works great!
 
JRSweets
Worker
Worker


Joined: Aug 06, 2004
Posts: 192

PostPosted: Tue Jan 25, 2005 8:46 am Reply with quote

I also had to add these to get the security code working right...
(Make sure to remove the extra space between 'modules.' and 'php')

Added to .htaccess
Code:
RewriteRule ^downloads-gfx-([a-zA-Z0-9+]*).html modules. php?name=Downloads&d_op=gfx&random_num=$1 [L]

RewriteRule ^downloads-help-([a-zA-Z0-9+]*).html modules. php?name=Downloads&d_op=ns_pass_help&thepass=$1 [L]


Added to GT-Downloads.php
Code:
"'(?<!/)modules. php\?name=Downloads&amp;d_op=gfx&amp;random_num=([a-zA-Z0-9]*)'",

"'(?<!/)modules. php\?name=Downloads&amp;d_op=ns_pass_help&amp;thepass=([a-zA-Z0-9]*)'",


Code:
"downloads-gfx-\\1.html",

"downloads-help-\\1.html",
 
View user's profile Send private message
ashishjha54
Hangin' Around


Joined: Jan 24, 2005
Posts: 41

PostPosted: Thu Jan 27, 2005 9:27 pm Reply with quote

i tapped every url and it worked but when i try to add download and click the upload window ,a window pops up but instead of browse button it has downloads main page in it .can anybody solve this
 
View user's profile Send private message
JRSweets
PostPosted: Thu Jan 27, 2005 10:50 pm Reply with quote

I will post the updated code tomorrow...
 
JRSweets
PostPosted: Fri Jan 28, 2005 7:52 am Reply with quote

code for .htaccess
Code:
RewriteRule ^downloads-upload-([a-zA-Z0-9+]*).html modules. php?name=Downloads&file=ns_uploads_file&type=$1 [L]


code for GT-Downloads.php
Code:
"'(?<!/)modules.php\?name=Downloads&amp;file=ns_uploads_file&amp;type=([a-zA-Z0-9]*)'",

Code:
"downloads-upload-\\1.html",
 
dean
PostPosted: Fri Feb 04, 2005 9:30 pm Reply with quote

I'm a little confused about the last several posts - will the author(s) please post the total code for both php and .htaccess files?
 
racerx
New Member
New Member


Joined: Nov 16, 2004
Posts: 2

PostPosted: Wed Feb 09, 2005 12:39 am Reply with quote

Ok guys,


Total code here.

GT-Downloads.php

Quote:

<?php

$urlin = array(
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_rec_dl&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_send_rec'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_two&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_one&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloaddetails&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloadcomments&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=brokendownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(TopRated|MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(AddDownload|NewDownloads|MostPopular|TopRated)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=outsidedownloadsetup&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;file=ns_uploads_file&amp;type=file'",
"'(?<!/)modules. php\?name=Downloads&amp;d_op=gfx&amp;random_num=([a-zA-Z0-9]*)'",
"'(?<!/)modules. php\?name=Downloads&amp;d_op=ns_pass_help&amp;thepass=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Downloads'"
);

$urlout = array(
"downloadrecommend-\\1-\\2-\\3.html",
"download-send.html",
"download-file-mirrortwo\\1.html",
"download-file-mirrorone\\1.html",
"downloaddetails-\\1-\\2-\\3.html",
"downloadcomments-\\1-\\2-\\3.html",
"download-mod-\\1.html",
"download-broken-\\1.html",
"download-shownew-\\1.html",
"download-seldate-\\1.html",
"download-file-\\1.html",
"ratedownload-\\1-\\2-\\3.html",
"ratedownload-\\1.html",
"download-\\1-\\2-\\3.html",
"downloads-\\1.html",
"download\\1-orderby\\2.html",
"download\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2.html",
"download-search.html",
"download-outside-\\1.html",
"downloads-cat\\1.html",
"download-upload.html",
"downloads-gfx-\\1.html",
"downloads-help-\\1.html",
"downloads.html"
);

?>


.htaccess

Quote:

#Downloads
RewriteRule ^downloadrecommend-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Downloads&d_op=ns_dl_rec_dl&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-send.html modules.php?name=Downloads&d_op=ns_dl_send_rec [L]
RewriteRule ^download-file-mirrortwo([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_two&lid=$1 [L]
RewriteRule ^download-file-mirrorone([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_one&lid=$1 [L]
RewriteRule ^downloaddetails-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloaddetails&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloadcomments-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloadcomments&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^ratedownload-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=ratedownload&cid=$1&lid=$1&ttitle=$2 [L]
RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&d_op=search [L]
RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^download-upload.html /modules.php?name=Downloads&file=ns_uploads_file&type=file [L]
RewriteRule ^downloads-gfx-([a-zA-Z0-9+]*).html modules. php?name=Downloads&d_op=gfx&random_num=$1 [L]
RewriteRule ^downloads-help-([a-zA-Z0-9+]*).html modules. php?name=Downloads&d_op=ns_pass_help&thepass=$1 [L]
RewriteRule ^downloads.html /modules.php?name=Downloads [L]


cheers,

racerx @ Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
dean
PostPosted: Wed Feb 09, 2005 9:41 pm Reply with quote

Man......two great GT conversions in one week? Is it Christmas already?
 
racerx
PostPosted: Wed Feb 09, 2005 11:49 pm Reply with quote

Excuse me,

2 little bugs that i've fixed.

GT-Downloads.php

Quote:

<?php

$urlin = array(
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_rec_dl&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_send_rec'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_two&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_dl_get_mirror_one&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloaddetails&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloadcomments&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=brokendownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;cid=([0-9]*)&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ratedownload&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(TopRated|MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=(AddDownload|NewDownloads|MostPopular|TopRated)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=search'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=outsidedownloadsetup&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;file=ns_uploads_file&amp;type=file'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=gfx&amp;random_num=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;d_op=ns_pass_help&amp;thepass=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Downloads'"
);

$urlout = array(
"downloadrecommend-\\1-\\2-\\3.html",
"download-send.html",
"download-file-mirrortwo\\1.html",
"download-file-mirrorone\\1.html",
"downloaddetails-\\1-\\2-\\3.html",
"downloadcomments-\\1-\\2-\\3.html",
"download-mod-\\1.html",
"download-broken-\\1.html",
"download-shownew-\\1.html",
"download-seldate-\\1.html",
"download-file-\\1.html",
"ratedownload-\\1-\\2-\\3.html",
"ratedownload-\\1.html",
"download-\\1-\\2-\\3.html",
"downloads-\\1.html",
"download\\1-orderby\\2.html",
"download\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2.html",
"download-search.html",
"download-outside-\\1.html",
"downloads-cat\\1.html",
"download-upload.html",
"downloads-gfx-\\1.html",
"downloads-help-\\1.html",
"downloads.html"
);

?>



.htaccess

Quote:

#Downloads
RewriteRule ^downloadrecommend-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Downloads&d_op=ns_dl_rec_dl&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-send.html modules.php?name=Downloads&d_op=ns_dl_send_rec [L]
RewriteRule ^download-file-mirrortwo([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_two&lid=$1 [L]
RewriteRule ^download-file-mirrorone([0-9]*).html modules.php?name=Downloads&d_op=ns_dl_get_mirror_one&lid=$1 [L]
RewriteRule ^downloaddetails-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloaddetails&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloadcomments-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloadcomments&cid=$1&lid=$2&ttitle=$3 [L]
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^ratedownload-([0-9]*)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=ratedownload&cid=$1&lid=$1&ttitle=$2 [L]
RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&d_op=search [L]
RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^download-upload.html modules.php?name=Downloads&file=ns_uploads_file&type=file [L]
RewriteRule ^downloads-gfx-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=gfx&random_num=$1 [L]
RewriteRule ^downloads-help-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=ns_pass_help&thepass=$1 [L]
RewriteRule ^downloads.html downloads.html [L]


NOW IT'S WORKING PERFECTLY!!! Smile ALL FUNCTIONS ARE WORKING!!!


racerx,
Exploiters Team Security Only registered users can see links on this board! Get registered or login!
"Perfect is the enemy of good enough"
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

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 ©