MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Problems compliments random

    Scheduled Pinned Locked Moved Tutorials
    5 Posts 2 Posters 1.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      blackeaglece
      last edited by

      Hello everybody. I have a problem sequencing the compliments messages. In anytime position I have a message on three lines:

      • line1: Hello,
      • line 2: dear guest
      • line 3: and friend. I can’t get them out in sequence but they always come out at random. How can I do? Thank you very much
      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @blackeaglece
        last edited by

        @blackeaglece the design is to do random, not sequential.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          blackeaglece @sdetweil
          last edited by

          @sdetweil said in Problems compliments random:

          @blackeaglece the design is to do random, not sequential.

          Sigh! Ok Thank you

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @blackeaglece
            last edited by sdetweil

            @blackeaglece if u would like to try sequential,

            download my repo and copy the compliments.js file to your instance

            # get new code
            cd ~/MagicMirror/modules
            git clone https://github.com/sdetweil/MagicMirror.git  temp_mirror
            #
            cd ~/MagicMirror/modules/default/compliments
            mv compliments.js compliments.js.save
            
            cd temp_mirror/modules/default/compliments
            git checkout fixcompliments
            cp compliments.js ~/magicMirror/modules/default/compliments
            

            edit the config.js and in the compliments module config section, add
            make sure its in the config block

            config: {
                 random: false,
            }
            

            then restart you mirror

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              blackeaglece @sdetweil
              last edited by

              @sdetweil wow thank you very much as soon as I get home I will install and let you know. Thank you very much

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy