path_info: tabs broken after upgrade [message #158723] |
Sun, 15 March 2009 20:23 |
!alex
Messages: 23 Registered: February 2004 Location: germany
Karma: 0
|
Junior Member |
|
|
After upgrading from 2.6.5 -> 2.7.7 -> 2.8.0 the links in the tabs don't work anymore for path_info based theme.
Instad of index.php/pdm/ (path_info url) index.php?t=pmsg is set as target, also for the other tabs.
I went through the templates etc. for a while but wasn't able to figure out where to change it, also compared tabs.inc.t with the version from 2.6.5 - no success
For me also a set of rules for mod_rewrite that redirects default-url`s to url`s that work with path_info would be fine,
this could keep me (and others, having problems with path_info ur`s) from fixing it on every single place
Best Regards,
Alex
[Updated on: Sun, 15 March 2009 20:25] Report message to a moderator
|
|
|
|
|
|
Re: path_info: tabs broken after upgrade [message #158727 is a reply to message #158723] |
Sun, 15 March 2009 21:23 |
!alex
Messages: 23 Registered: February 2004 Location: germany
Karma: 0
|
Junior Member |
|
|
Thanks,
i`m currently working on a mod_rewrite set - will publish it here for those who don't want to patch ...
Alex
edit:
Not nice but works for the broken tabs ...
b.t.w.: translations _GET / path-info can be found in forum/src/users.inc.t
RewriteCond %{QUERY_STRING} t=pmsg
RewriteRule ^(.*)$ /forum/index.php/pdm/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=uc
RewriteRule ^(.*)$ /forum/index.php/uc/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=register
RewriteRule ^(.*)$ /forum/index.php/re/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=subscribed
RewriteRule ^(.*)$ /forum/index.php/sl/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=buddy_list
RewriteRule ^(.*)$ /forum/index.php/bl/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=ignore_list
RewriteRule ^(.*)$ /forum/index.php/il/$2? [R=301,L]
RewriteCond %{QUERY_STRING} t=showposts&id=([0-9]+)
RewriteRule ^(.*)$ /forum/index.php/sp/%1/$2? [R=301,L]
[Updated on: Sun, 15 March 2009 21:36] Report message to a moderator
|
|
|
|
|
|