Read the statement by Michael Teeuw here.
Compliments config
-
How do you change the default compliments. Where are they. I don’t see them under compliments module. They must be somewhere if they are showing up when MM is running.
-
They are in the config.js file. You can change them there or use a remote file. The README file for compliments has all the instructions
-
@mykle1 Found my problem. Thanks for the help. Read your “absolute-beginners” topics. Huge help!
-
Ahhh cool. :thumbsup:
-
I went out and found https://gist.github.com/ryck/e28a69665b8839f6e9a7acd6b4acc97d (which is awesome)
I modified and removed what I didn’t want, but I left the weather stuff in even though I haven’t configured the default weather module.
I then created https://github.com/motdog/compliments/blob/master/compliments.json
I went into compliments.js and at remote file removed null and added that link followed by a comma.
It didn’t run when I restarted my mirror. Do I need to change anything on main config.
Module.register("compliments", { // Module config defaults. defaults: { compliments: { anytime: [ "Hey there sexy!" ], morning: [ "Good morning, handsome!", "Enjoy your day!", "How was your sleep?" ], afternoon: [ "Hello, beauty!", "You look sexy!", "Looking good today!" ], evening: [ "Wow, you look hot!", "You look nice!", "Hi, sexy!" ] }, updateInterval: 30000, remoteFile: https://github.com/motdog/compliments/blob/master/compliments.json, fadeSpeed: 4000, morningStartTime: 3, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 17 },Thanks for the help
-
@motdog that is not config, that looks like the source for compliments.js, and only a little bit of the source
-
@sdetweil ok I am so confused. I took an existing list of compliments and saved/edited it. I then saved it as a .json file (or so I thought) . I went to the default modules folder and changed remote folder from null to that web address.
I thought that was the way to go about it. Never created anything in github before. so Im grasping at straws
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login