Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Aug 23, 2007 8:48 am Reply with quote

The issue was raised that the Top module still had the old download links in them. I have posted a sticky on how to address that. However, to also correct your ShortLinks, here is the fix (to be included in future versions of the NSN GR Downloads ShortLinks hack).

=== OPEN ===

ShortLinks/GT-Top.php

=== FIND ===

Code:

'"(?<!/)modules.php\?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()._&amp;a-zA-Z0-9+= ]*)"',


=== REPLACE WITH ===

Code:

'"(?<!/)modules.php\?name=Downloads&amp;op=getit&amp;lid=([0-9]*)"',


=== FIND ===

Code:

'downloadview-details-\\1-\\2.html',


=== REPLACE WITH ===

Code:

'download-file-\\1.html',


=== DONE ===
 
View user's profile Send private message Visit poster's website
Susann
Newbie
Newbie



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

PostPosted: Thu Aug 23, 2007 7:31 pm Reply with quote

Thank your for the fix !
 
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 Aug 23, 2007 9:48 pm Reply with quote

You are most welcome!

_________________
“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
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Sun Aug 26, 2007 5:48 pm Reply with quote

Thank you for this!!
 
View user's profile Send private message
Testy1
Newbie
Newbie



Joined: Jan 06, 2009
Posts: 17

PostPosted: Fri Mar 27, 2009 2:00 am Reply with quote

Update for ravennuke 2.3

I added it here as it was part of the NSNGR Downloads (TN_ShortLinks_NSN_GR_Downloads_010202)

Open: ShortLinks/GTB-block-Modules.php

Find:
Code:

'"(?<!/)modules.php\?name=HTML_Newsletter"'


Replace With:
Code:

'"(?<!/)modules.php\?name=HTML_Newsletter"',
'"(?<!/)modules.php\?name=GCalendar"',
'"(?<!/)modules.php\?name=Feeds"',
'"(?<!/)modules.php\?name=Comments"',
'"(?<!/)modules.php\?name=Legal"'


Find:
Code:

'html_newsletter.html'


Replace With:
Code:

'html_newsletter.html',
'eventscalendar.html',
'feeds.html',
'comments.html',
'legal.html'


Done
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sat Mar 28, 2009 8:48 am Reply with quote

Thanks Testy1!

_________________
“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
linear-bunch