101
Thank you very much Alfred.
I should try your new revision in my test website, then i can implement it in the production website.
Maybe there are still some minor issues but i think this module deserve a final version bag.
Also It would be good if you change all image related path hardcoded in some files like this: "modules/newbb/templates/images/"
i just can see these 2 files:
../newbb/viewpost.php(178): $xoopsTpl->assign("icon_path", XOOPS_URL."/modules/".$xoopsModule->getVar("dirname", "n")."/templates/images/icon/");
../newbb/viewtopic.php(142): $xoopsTpl->assign("icon_path", XOOPS_URL."/modules/".$xoopsModule->getVar("dirname", "n")."/templates/images/icon/");
then we can change the templates related.
../newbb/templates/newbb_index.html(110): <{$forum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" />
../newbb/templates/newbb_index.html(158): <{$subforum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$subforum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" />
../newbb/templates/newbb_index.html(205): <{$forum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" />
../newbb/templates/newbb_index.html(256): <{$forum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" />
../newbb/templates/newbb_thread.html(25): <br /><img class="comUserImg" src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/anonym.png" alt="" />
../newbb/templates/newbb_thread.html(30): <img style="padding:2px;" onclick="ToggleBlockCategory('<{$topic_post.post_id}>', this, '<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/more.png', '<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/more.png')" src="<{$icon_path}>/more.png" alt="Benutzerinformationen" title="Benutzerinformationen" />
../newbb/templates/newbb_viewforum_subforum.html(29): <{$sforum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$sforum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" />
eg like this:
../newbb/templates/newbb_thread.html(25): <br /><img class="comUserImg" src="<{$icon_path}>/anonym.png" alt="" />
I know that the above needs a hard work