• 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.

Personalize Compliments

Scheduled Pinned Locked Moved Requests
6 Posts 3 Posters 3.4k Views 3 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.
  • R Offline
    reaper81
    last edited by Jan 19, 2017, 10:31 AM

    Hi, I would like to personalize the Compliments-Module with Paviros Facial Recognition-Module. Is there any posibility to use different Comliments for different users?

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Jan 19, 2017, 10:47 AM

      I guess if you use https://github.com/tosti007/MMM-ProfileSwitcher with FacialRecognition you can use different compliments. However this is untested.

      T 1 Reply Last reply Jan 21, 2017, 2:08 AM Reply Quote 0
      • T Offline
        tosti007 Module Developer @yawns
        last edited by tosti007 Jan 21, 2017, 2:14 AM Jan 21, 2017, 2:08 AM

        @yawns @reaper81 my module only shows a message when you actually change user. You can customise this message (and set multiple) any way you want, but it’s only shown once as an notification

        If there is anything don't hesitate to contact me!
        ProfileSwitcher, TouchNotifications

        1 Reply Last reply Reply Quote 0
        • T Offline
          tosti007 Module Developer
          last edited by Jan 21, 2017, 2:32 AM

          The way I understand what you want is that you want to use the compliment module as it is, but just like with the different times or weather you want to have some for a specific person?
          I think that changing a default module for two other (non default) modules that not everybody is going to use is the best of ideas and is something that the people who are more involved in modifying the framework are too keen on doing so.

          It would be possible to make a stand alone module, which would be a copy with some additional features.

          @yawns do you have any other solutions? Since either of these two aren’t the best imo.

          If there is anything don't hesitate to contact me!
          ProfileSwitcher, TouchNotifications

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yawns Moderator
            last edited by yawns Jan 21, 2017, 2:38 PM Jan 21, 2017, 6:16 AM

            My understanding of your module was that you can add modules and assign class names so it is loaded only when the named user is logged in.
            My approach was to add the compliments module several times, but with different compliment.json files

            T 1 Reply Last reply Jan 21, 2017, 10:14 AM Reply Quote 0
            • T Offline
              tosti007 Module Developer @yawns
              last edited by Jan 21, 2017, 10:14 AM

              @yawns Ohh yes ofcourse that would work aswell and is way easier!
              @reaper81 This would be the easiest solution

              If there is anything don't hesitate to contact me!
              ProfileSwitcher, TouchNotifications

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                3/6
                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