Menu

How to GLOBALLY disable the Welcome Popup in ITOP 3.0

2022-02-04
2022-02-21
  • Cordeos-Twenty-Two

    After installing ITOP 3.0 everyone is getting the welcome pop far too often, even after unchecking show at startup. It would be great to have a conf setting to disable this globally, permanently and then maybe enable sometimes temporarily after a major upgrade.

    pages/ui.php might just need an additional if condition for the DisplayWelcomePopup function.

    function DisplayWelcomePopup(WebPage $oP)
    {
        if (!Session::IsSet('welcome') ***&& $GLOBALENABLEWELCOME***)
        {
            // Check, only once per session, if the popup should be displayed...
            // If the user did not already ask for hiding it forever
            $bPopup = appUserPreferences::GetPref('welcome_popup', true);
            if ($bPopup)
            {
                TwigHelper::RenderIntoPage($oP, APPROOT.'/', 'templates/pages/backoffice/welcome_popup/welcome_popup');
                Session::Set('welcome', 'ok');
            }
        }   
    }
    
     
  • Guillaume Lajarige

    Hello,

    This cannot be disabled globally, but I'm surprise you said a same user can see several times is they unchecked the checkbox. We tested it on numerous occasion.

    Could you try to create a new user
    Connect with it, see the welcome popup
    Uncheck the box
    Log out
    Login again
    Does it appear?

    Thanks,
    Guillaume

     
  • Cordeos-Twenty-Two

    Thank you for the feedback.

    Yes, in the simple user/browser scenario it seems to work as expected - though, to be honest most general agents dont really need this welcome box and we would definitely prefer not to have it show... unless we can customize the message, which might be useful. In fact, our feedback from most test users is they really dislike being interrupted with messages about how awesome the system is (meant as constructive criticism, not a complaint).

    Here are some of the scenarios we have in our environment where the welcome message comes up repeatedly:
    same user using differnet computer (some of our team have 2 or 3 machines)
    same user using different browsers (many have at least three different browsers in use)
    strict security settings which clear all browser data on browser close or machine logoff
    remote desktop environment which clears the profile at logoff

    We have already created an update module to disable the welcome message globally, but would be nice if considered for the next stock build.

     
  • Guillaume Lajarige

    Well this is not the expected behavior, once you check the checkbox, it's supposed to be written in the DB so it should not appear on other browsers / devices. I'll check the code.

     
  • Cordeos-Twenty-Two

    Thanks for checking. This doesnt seem to be an accurately tracked issue by us. It seems this may be related to our iTOP testing environment repleatedly rebuilding and/or restoring from snapshots. We found an easy way to override and disable. It would still be nice to have a global disable setting or allow MoTD style editing/customize the message - but we are sure there are much better areas to spend everyone's valuable time -> like reducing all the extra clicks :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.