Author |
Message |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sun Sep 27, 2009 12:04 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
Moderator
![](modules/Forums/images/avatars/4e3210db4efb891870d79.gif)
Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sun Sep 27, 2009 2:19 pm |
|
You need to enter a comma between the tags but I see also a wrong url where I have a space included in the tag:
Produced a url for the tag "Web Hosting":
/content-browse-tag-web.html+hosting
Will add this to our bug tracker. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
Moderator
![](modules/Forums/images/avatars/bea6a62d4db43637aa29d.jpg)
Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic
|
Posted:
Sun Sep 27, 2009 8:38 pm |
|
I'm digging into this.... |
_________________ "For those whom have not reach the sky... Every mountain seems high"
Best Regards
Jonathan Estrella
http://about.me/jestrella04 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 9:12 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 28, 2009 2:10 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Sep 28, 2009 5:42 pm |
|
... oh I hate tapping URLs!!! ![Laughing](modules/Forums/images/smiles/icon_lol.gif) |
_________________ 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! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Sep 29, 2009 10:07 pm |
|
took a little reading on perl regular expressions but i think this does the trick (for the most part)
htaccess
Code:RewriteRule ^content-browsetag-([a-zA-Z0-9_\-\+]*)-order-([0-9]*).html modules.php?name=Content&pa=BrowseTag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([[a-zA-Z0-9_\-\+]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
|
and the urlin of GT-Content
Code:'"(?<!/)modules.php\?name=Content&pa=BrowseTag&tag=([a-zA-Z0-9_\-\+]*)&order=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=browse_tag&tag=([a-zA-Z0-9_\-\+]*)"',
|
should handle the content plus browse tags shortlinks, except for the "order by" function, which seems to strip the + for a space, which happens in the untapped module
http://nukeseo.com/modules.php?name=Content&pa=BrowseTag&tag=PHPNuke%20navigation&order=5
and forums......
htaccess
Code:RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_\-\+]*).html forums.html?file=viewtopic&$1=$2&highlight=$3 [L]
|
gt-forum urlin
Code:'"(?<!/)modules.php\?name=Forums&file=viewtopic&(t|p)=([0-9]*)&highlight=([A-Za-z0-9_\-\+]*)"',
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 30, 2009 8:39 am |
|
Thanks for pointing that out M, I have now fixed it and commited it... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 30, 2009 11:21 am |
|
cool, i just noticed i used an extra
[
in that first htaccess edit though...
seemed to work anyway but shouldn't be there.. ie
content-browse-tag-([[a-zA-Z0-9_\-\+]*).html
should be
content-browse-tag-([a-zA-Z0-9_\-\+]*).html
maybe you caught it? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 30, 2009 8:10 pm |
|
jestrella wrote: | Thanks for pointing that out M, I have now fixed it and commited it... |
Good job sir! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 27, 2009 2:27 pm |
|
For the Forums, the rewrites that I have implemented in our repository are:
GT-Forums:
Code:
'"(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&start=([0-9]*)&postdays=([0-9]*)&postorder=(desc|asc)&highlight=([A-Za-z0-9+_-]*)"',
'"(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&postdays=([0-9]*)&postorder=(desc|asc)&highlight=([A-Za-z0-9+_-]*)&start=([0-9]*)"',
'"(?<!/)modules.php\?name=Forums&file=viewtopic&(t|p)=([0-9]*)&highlight=([A-Za-z0-9+_-]*)"',
|
.htaccess:
Code:
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9+_-]*).html modules.php?name=Forums&file=viewtopic&$1=$2&highlight=$3 [L]
|
Enjoy! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|