168
Hi all,
I've just testing your hack and it works just fine.
but (there is always a but
) the module invision power board ported by koudanshi and used by a lot of XOOPS users, has some troubles.
user profiles menu is not working (selected an item send us back to the forum index) and pages in posts are not working too.
I have located the pb, it's not a big one. It's due to the syntax of the ipbm parameters in url, they are not correctly parsed by your hack, here is an example for the page 2 of a post :
<!-- request: /m-ipboard+index+s-2189d05b36ab808cbf562e23306dc6c1-showtopic-539st-10.html
-->
<!-- Loader Phpself: /loadpage.php<br>-->
<!-- Loader Script path: -->
<!-- Array
(
[0] => /m-ipboard+index+s-2189d05b36ab808cbf562e23306dc6c1-showtopic-539st-10.html
[1] => m
[2] => ipboard
[3] =>
)
-->
<!-- Array
(
[0] => /m-ipboard+index+s-2189d05b36ab808cbf562e23306dc6c1-showtopic-539st-10.html
[1] => index
)
-->
<!-- Array
(
[0] => /m-ipboard+index+s-2189d05b36ab808cbf562e23306dc6c1-showtopic-539st-10.html
[1] => s
[2] => 2189d05b36ab808cbf562e23306dc6c1
[3] => showtopic
[4] => 539st
[5] => 10
[6] =>
[7] =>
[8] =>
[9] =>
[10] =>
[11] =>
[12] =>
[13] =>
[14] =>
[15] =>
[16] =>
[17] =>
[18] =>
[19] =>
[20] =>
)
-->
<!-- Setting s to 2189d05b36ab808cbf562e23306dc6c1-->
<!-- HTTP_GET_VARS[s] set to: 2189d05b36ab808cbf562e23306dc6c1-->
<!-- GET[s] set to: 2189d05b36ab808cbf562e23306dc6c1-->
<!-- Setting showtopic to 539st-->
<!-- HTTP_GET_VARS[showtopic] set to: 539st-->
<!-- GET[showtopic] set to: 539st-->
<!-- Setting 10 to -->
<!-- HTTP_GET_VARS[10] set to: -->
<!-- GET[10] set to: -->
<!-- Checking dir: -m--->
<!-- Entering dir: -modules--->
<!-- /home/kenogui/domains/bloodbowl-fr.com/public_html/modules-->
<!-- Checking dir: -ipboard--->
<!-- Entering dir: -ipboard--->
<!-- /home/kenogui/domains/bloodbowl-fr.com/public_html/modules/ipboard-->
<!-- Checking dir: ---->
<!-- Setting main script to: index.php-->
<!-- Script name: /modules/ipboard/index.php-->
<!-- Request uri: /modules/ipboard/index.php?s=2189d05b36ab808cbf562e23306dc6c1&showtopic=539st&10=-->
<!-- Php_self: /modules/ipboard/index.php-->
<!-- working dir: /home/kenogui/domains/bloodbowl-fr.com/public_html/modules/ipboard-->
<!-- Loading: index.php-->
and the original URL is :
http://www.bloodbowl-fr.com/modules/ipboard/index.php?s=2189d05b36ab808cbf562e23306dc6c1&showtopic=539&st=10
the parameter #4 " [4] => 539st" is wrong, it should be "539" only.
and we should have a 5th parameters called "st=10".
I think it's a start point for you, I'm currently trying to debug it, but you will be faster than me ....
thanks !
[EDIT]
I forgot to add: it can be really cool if during the process to support ipbm, you can do something to "remove" SID from urls ... ipbm doesn't really need them in the url, if you remove it, it will use a new one (not in the URL this time). I say that because I already experienced a lot of pb with SID and googlebot which is crawling 20 times the same post with a new SID each time, thinking this is a new "rewrited" page ... I had a huge bandwidth consumption due to this ...