MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Personalize Compliments

    Requests
    3
    6
    2810
    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
      reaper81 last edited by

      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
      • yawns
        yawns Moderator last edited by

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

        tosti007 1 Reply Last reply Reply Quote 0
        • tosti007
          tosti007 Module Developer @yawns last edited by tosti007

          @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
          • tosti007
            tosti007 Module Developer last edited by

            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
            • yawns
              yawns Moderator last edited by yawns

              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

              tosti007 1 Reply Last reply Reply Quote 0
              • tosti007
                tosti007 Module Developer @yawns last edited by

                @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
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy