GameStat
Compatiblity updates for ImpressCMS 1.3
Leave a comment
1. had to set all values in modules/gamestat/class/GameQ/games.ini in double quotes (some values were special values within the INI file)
2. some changes like xoops_cp_header -> icms_cp_header / xoops_cp_footer -> icms_cp_footer
3. had to replace goto in following lines to goeto -> goto is reserved in php 5.3
\\modules\\gamestat\\class\\GameQ\\Buffer.php (1 hits)
Line 172: public function goeto($index)
\\modules\\gamestat\\class\\GameQ\\Protocol\\quakewars.php (1 hits)
Line 55: $this->p->goeto(strlen($header) + 19);
\\modules\\gamestat\\class\\GameQ\\Protocol\\rfactor.php (7 hits)
Line 36: $this->p->goeto(17);
Line 38: $this->p->goeto(25);
Line 40: $this->p->goeto(45);
Line 43: $this->p->goeto(73);
Line 45: $this->p->goeto(105);
Line 47: $this->p->goeto(206);
Line 54: $this->p->goeto(217);
4. changed in admin-menu the tab-url from gamestat's own blockmanagement to icms's blockmanagement (the other one doesn't work anymore since 1.2 was released..)
2. some changes like xoops_cp_header -> icms_cp_header / xoops_cp_footer -> icms_cp_footer
3. had to replace goto in following lines to goeto -> goto is reserved in php 5.3
\\modules\\gamestat\\class\\GameQ\\Buffer.php (1 hits)
Line 172: public function goeto($index)
\\modules\\gamestat\\class\\GameQ\\Protocol\\quakewars.php (1 hits)
Line 55: $this->p->goeto(strlen($header) + 19);
\\modules\\gamestat\\class\\GameQ\\Protocol\\rfactor.php (7 hits)
Line 36: $this->p->goeto(17);
Line 38: $this->p->goeto(25);
Line 40: $this->p->goeto(45);
Line 43: $this->p->goeto(73);
Line 45: $this->p->goeto(105);
Line 47: $this->p->goeto(206);
Line 54: $this->p->goeto(217);
4. changed in admin-menu the tab-url from gamestat's own blockmanagement to icms's blockmanagement (the other one doesn't work anymore since 1.2 was released..)