• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Dec 7, 2019, 9:13 AM

    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 Dec 7, 2019, 11:20 AM Reply Quote 0
    • S Offline
      sdetweil @blackeaglece
      last edited by Dec 7, 2019, 11:20 AM

      @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 Dec 7, 2019, 4:42 PM Reply Quote 0
      • B Offline
        blackeaglece @sdetweil
        last edited by Dec 7, 2019, 4:42 PM

        @sdetweil said in Problems compliments random:

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

        Sigh! Ok Thank you

        S 1 Reply Last reply Dec 8, 2019, 3:35 PM Reply Quote 0
        • S Offline
          sdetweil @blackeaglece
          last edited by sdetweil Dec 8, 2019, 4:16 PM Dec 8, 2019, 3:35 PM

          @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 Dec 12, 2019, 10:15 AM Reply Quote 1
          • B Offline
            blackeaglece @sdetweil
            last edited by Dec 12, 2019, 10:15 AM

            @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
            1 / 1
            • First post
              1/5
              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