89
Thank you flipse and Mamba because you mention some uncovered issues in newbb.
Mamba that line is not the correct one to touch.
Through navigating codes of newbb i found that the developer (Alfred) did some different manners in some files. I mentioned one in my last post. (The showPost function)
For this current issue, there are some new hardcodes appeared.
Anyway, to solve this issue i can recommend the following:
in newbb/viewtopic.php around line 614 replace these line:
$editor_configs["caption"] = _MD_MESSAGEC;
$editor_configs["name"] ="message";
$editor_configs["rows"] = 10;
$editor_configs["cols"] = 30;
with these:
$editor_configs["name"] = "message";
$editor_configs["value"] = $message;
$editor_configs["rows"] = empty($xoopsModuleConfig["editor_rows"]) ? 10 : $xoopsModuleConfig["editor_rows"];
$editor_configs["cols"] = empty($xoopsModuleConfig["editor_cols"]) ? 30 : $xoopsModuleConfig["editor_cols"];
$editor_configs["width"] = empty($xoopsModuleConfig["editor_width"]) ? "100%" : $xoopsModuleConfig["editor_width"];
$editor_configs["height"] = empty($xoopsModuleConfig["editor_height"])? "400px" : $xoopsModuleConfig["editor_height"];
The above is not the final solution.
I think Alfred should come and write that final solution.
just IMO the developer should use the below way instead of the aboves:
include 'include/form.post.php';
there are some more hardcodes and missing codes in this module which i will debug this module more deeply and report here as well