![]() |
|
Remove Notices/Notifications Icon - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124) +----- Forum: Ep4 Guides (https://lckb.dev/forum/forumdisplay.php?fid=125) +----- Thread: Remove Notices/Notifications Icon (/showthread.php?tid=4937) |
- nicolasg - 06-25-2022 If, like me, it makes you nervous to see the news notification icon I mean this one↓ You can use these codes for the following In nov source: News.cpp Line 41 Replace This if (pNotice != NULL ) With this one if (pNotice != NULL && m_nCurRevision > 0) With this change, if your t_notice_all table is empty, the icon will not appear. And with this code when you open the notification window, the notification icon will be deleted from the list of icons. (Upon relogin the Icon will reappear. Thus the user will not miss any relevant warning/notification) NewsUI.cpp Line 209 ~ 210 After this UIMGR()->GetNotice()->SetIconBlink(Notice::NOTICE_NEWS_NORMAL, false); Paste this one GAMEDATAMGR()->GetNotice()->DelFromNoticeList(NEWS_NORMAL, Notice::NOTICE_NEWS_NORMAL); It's really stupid, but maybe someone will find it useful. - OberonPh - 06-26-2022 ? |