Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
Brujo
Regular
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Wed Feb 13, 2008 3:50 am Reply with quote

missing entry in GT-Stories_Archive.php for Stories Archiv > Show All Stories > (tap for) Next / Previous Page

i have done it like this:

Quote:

'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_all&amp;min=([0-9]*)"',

'archive-showall-\\1.html',
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Wed Feb 13, 2008 7:27 am Reply with quote

Brujo, thanks for this. I will log this and get 'er fixed.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego
PostPosted: Sat Feb 23, 2008 7:24 am Reply with quote

For those of you interested in the complete fix, here is what I have done for the upcoming RN 2.20.01 and ShortLinks 1.2.1 fix:

=== OPEN FILE ===

ShortLinks/GT-Stories_Archive.php

=== REPLACE ===

Replace your $urlin and $urlout to look like this:

Code:


$urlin = array(
'"(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;thold=([0-9]*)"',
'"(?<!/)modules.php\?name=News&amp;file=categories&amp;op=newindex&amp;catid=([0-9]*)"',
'"(?<!/)modules.php\?name=News&amp;file=article&amp;op=newindex&amp;catid=([0-9]*)"',
'"(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)"',
'"(?<!/)modules.php\?name=News&amp;file=print&amp;sid=([0-9]*)"',
'"(?<!/)modules.php\?name=News&amp;file=friend&amp;op=FriendSend&amp;sid=([0-9]*)"',
'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_all&amp;min=([0-9]*)"',
'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_all"',
'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_month&amp;year=([0-9]*)&amp;month=([0-9]*)&amp;month_l=([a-zA-Z]*)"',
'"(?<!/)modules.php\?name=Stories_Archive"'
);

$urlout = array(
'article-\\1-\\2-\\3-\\4.html',
'article-category-\\1.html',
'article-cat-\\1.html',
'article\\1.html',
'article-print-\\1.html',
'article-friend-\\1.html',
'archive-showall-\\1.html',
'archive-showall.html',
'archive-\\1-\\2-\\3.html',
'archive.html'
);


=== OPEN FILE ===

.htaccess

=== REPLACE CODE ===

Code:
#Stories Archive

RewriteRule ^archive.html archive.html [L]
RewriteRule ^archive-showall.html modules.php?name=Stories_Archive&sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]


=== WITH ===

Code:


#Stories Archive
RewriteRule ^archive-showall-([0-9]*).html modules.php?name=Stories_Archive&sa=show_all&;min=$1 [L]
RewriteRule ^archive-showall.html modules.php?name=Stories_Archive&sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]
RewriteRule ^archive.html archive.html [L]


=== DONE ===

Thanks Brujo!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

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 ©