montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Wed Feb 18, 2009 8:35 pm |
|
Susann,
There are no taps needed within GTZ-PageTap.php for NSN GR Downloads. Have you checked out my tap distro for this module?
http://montegoscripts.com/download-file-44.html
This has everything that you need and it was actually updated in June of last year (so latest-and-greatest that I have). |
_________________ To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins |
|
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Thu Feb 19, 2009 8:50 am |
|
Susann, I just checked and, of course, you are correct! The reason is that for the longest time I had this link shut off. In fact, I don't ever recall turning it back on, so that is why I missed it.
To fix, simply replace your $urlin and $urlout arrays in ShortLinks/GT-Downloads.php with the following:
| Code: |
$urlin = array(
'"(?<!/)modules.php\?name=Downloads&op=modifydownloadrequest&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=NewDownloads&newdownloadshowdays=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=NewDownloadsDate&selectdate=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=(MostPopular)&ratenum=([0-9]*)&ratetype=(num|percent)"',
'"(?<!/)modules.php\?name=Downloads&op=(NewDownloads|MostPopular)"',
'"(?<!/)modules.php\?name=Downloads&cid=([0-9]*)&orderby=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&min=([0-9]*)&cid=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+=]*)&min=([0-9]*)&orderby=([a-zA-Z0-9+]*)&show=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+= ]*)&orderby=([a-zA-Z0-9+]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&min=([0-9]*)&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=Downloads&op=search"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=gfx&random_num=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&cid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads"',
'"(?<!/)modules.php\?name=Submit_Downloads"'
);
$urlout = array(
'download-mod-\\1.html',
'download-shownew-\\1.html',
'download-seldate-\\1.html',
'download-file-\\1.html',
'download-\\1-\\2-\\3.html',
'downloads-\\1.html',
'download-sort-\\1-orderby-\\2.html',
'download-paging-\\1-\\2.html', //Must make code chg to work!
'download-search-\\1-\\2-\\3-\\4.html', //Must make code chg to work!
'download-search-\\1-\\2.html', //Must make code chg to work!
'download-searchp-\\1-\\2.html',
'download-search.html', //Must make code chg to work!
'download-gfx-\\1.html',
'downloads-cat\\1.html',
'downloads.html',
'submit-download.html'
);
|
Do not hesitate to post any other errors that you find. I have entered this one into my bug tracker to make sure I incorporate with a fix pack. Thanks! |
| |
|