3
what is important here is we find this issue thanks to the reports from my community. Now we can find the solution sooner or later.
Honestly many bugs in newbb module is found when i install it in my big forum (almost 20 posts/day) and my community report the bugs to me. I think without my community help we could not find the bugs even in one year.
Also many of these bugs are minor bugs. (displaying issue, smarty issue, ...)
but a few of them are important.
I solved them in irmtfan branch and in the past i reported the changelog in the newbb 4.3 topic.
But It seems Alfred dont like my reports so i stop it and i will just update the SVN in the future without reporting in xoops.org forums.
I still dont know what is wrong with helping a developer to find bugs and help him to find solutions and add features and implement them.
Why Alfred want to find bugs/debug/solutions add features himself alone.
Anyway, i reach to a better solution for this issue. so i revoke my last solution in the SVN.
To solve this i manually set $_Get for topic_id
in viewtopic.php
if ( !empty($post_id) ) {
$topic_obj = $topic_handler->getByPost($post_id);
$topic_id = $topic_obj->getVar("topic_id");
// add by irmtfan to show notification when we just have post_id in the URL
$_GET['topic_id'] = $topic_id;
I know that generally setting the $_Get is not good and is poor coding. but i dont know whether the above is not good too.
i hope if Alfred dont like to write here some coders Like Zyspec could advise me
Also now still there is a very minor issue:
- user will redirected to the topic_id instead of post_id after submit a notification in post_id URLs.