Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke
Author Message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Mar 26, 2007 2:11 pm Reply with quote

Not positive this is a shortlinks issue but it might be... Tested on my old site still under the previous RavenNuke release w/o Shortlinks installed and it worked fine.

This is in the usergroups section of the forums
Code:
http://www.mysite.com/forums-groupcp.html


Selected a group with more than 50 members (a group with more than one page of members)

When you reach that page and try to view the second page at the link
Code:
http://www.mysite.com/forums-group9.html?start=50

it just re-displays the first page

the link w/o Shortlinks in previous RN release that was working
Code:
http://www.mysite.com/modules.php?name=Forums&file=groupcp&g=9&start=50


thanks in advance for your time and providing us with this great mod Smile
 
View user's profile Send private message Visit poster's website
montego
Site Admin



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

PostPosted: Tue Mar 27, 2007 6:20 am Reply with quote

Interesting... looks like a carry-over issue from GT. I'll work on this in the next day or so. Thanks!

_________________
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: Wed Mar 28, 2007 11:07 am Reply with quote

Ok, since I do not have that many users tied to specific groups where I can test this, please try the following for me:

=== OPEN ===

ShortLinks/GT-Forums.php

=== FIND ===

'"(?<!/)modules.php\?name=Forums&amp;file=groupcp&amp;g=([0-9]*)"',

=== ADD ABOVE (VERY important that you do this above) ===

'"(?<!/)modules.php\?name=Forums&amp;file=groupcp&amp;g=([0-9]*)&amp;start=([0-9]*)"',

=== FIND ===

'forums-group\\1.html',

=== ADD ABOVE (VERY important that you do this above) ===

'forums-group\\1-\\2.html',

=== OPEN ===

.htaccess

NOTE: This is very important. Since Raven has these forums "tapped", you MUST remove the '~' that I have added to the below lines in order to make this post properly.

=== FIND ===

RewriteRule ^forums-group([0-9]*).html modules.php?name=F~orums&file=groupcp&g=$1 [L]

=== ADD ABOVE ===

RewriteRule ^forums-group([0-9]*)-([0-9]*).html modules.php?name=F~orums&file=groupcp&g=$1&start=$2 [L]

=== DONE ===

Let me know please if this works and then I will incorporate into the next release of both RN and ShortLinks.
 
spasticdonkey







PostPosted: Wed Mar 28, 2007 11:47 am Reply with quote

nice work! that fixed it right up Smile
 
montego







PostPosted: Wed Mar 28, 2007 12:26 pm Reply with quote

Thanks! I will incorporate the fixes then.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Mar 28, 2007 1:25 pm Reply with quote

Nice find and nice job!
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke

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 ©