Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Wed Feb 18, 2009 7:15 pm Reply with quote

/modules.php?name=Submit_Downloads isnīt a short url but the rules are within the .htaccess.
I have overwritten by accident the most of NSN GR Downloads and need to figure out some things again when using NSN GR.



What should I have in the GTZ Page TAP for NSN Gr Downloads.
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Feb 18, 2009 8:35 pm Reply with quote

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, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Thu Feb 19, 2009 8:18 am Reply with quote

Montego thanks. Thats what I have. Everything is in place but submit downloads doesnīt work. Donīt know why.When I checked your downloads submit function I saw you also donīt have
submit-download.html
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Feb 19, 2009 8:50 am Reply with quote

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. Embarassed

To fix, simply replace your $urlin and $urlout arrays in ShortLinks/GT-Downloads.php with the following:

Code:

$urlin = array(
'"(?<!/)modules.php\?name=Downloads&amp;op=modifydownloadrequest&amp;lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=NewDownloads&amp;newdownloadshowdays=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=getit&amp;lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=(MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=(NewDownloads|MostPopular)"',
'"(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;min=([0-9]*)&amp;cid=([0-9]*)"',   //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)"',  //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)"',    //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;min=([0-9]*)&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=search"',    //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=gfx&amp;random_num=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;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!
 
View user's profile Send private message Visit poster's website
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Thu Feb 19, 2009 9:20 am Reply with quote

Thanks this is finally solved. Smile
 
View user's profile Send private message Visit poster's website
purple45
Newbie
Newbie



Joined: Mar 07, 2015
Posts: 1

PostPosted: Sat Mar 07, 2015 2:09 am Reply with quote

Everything is in place but submit downloads doesnīt work. Donīt know why.When I checked your downloads submit function I saw you also donīt have .???

*Edited by G *
Spam links removed


Last edited by purple45 on Sat Mar 21, 2015 8:05 am; edited 1 time in total 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Mar 08, 2015 3:23 pm Reply with quote

purple45,

I believe your post go cut off. If you're looking into code, then maybe you are not having a ShortLink issue and this is the wrong thread to have posted in? Could you try to post again the issue you are seeing?

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch