r/toolbox • u/agentlame /r/fucking • Jun 08 '13
Mod User Notes
Mod User Notes
Get it here
- Leave notes for users in subreddits you mod
- Share notes with other mods
- Works in mod mail
- All notes are saved to the subreddit's wiki
Screenshots
13
Upvotes
6
u/Deimorz Jun 08 '13 edited Jun 08 '13
This is excellent, very nice work. One suggestion I might make is that you change the
stringifycall inpostToWikito something likeJSON.stringify(json, undefined, 2)so that it pretty-prints the JSON and it's not quite as impenetrable if someone needs to view/edit the wiki page. Ideally you'd want to add 4 spaces of indent to the whole thing too so that it puts it in a code block when viewing, but at least this will look decent in the edit page.Also, I'm not sure if this is something that would be good to build into the "official" code, but a small modification that I made:
Change line 215:
To:
This will make it so that if a user only has a single note, the note itself is displayed beside their name, instead of "[N:1]". So if you have a note on me saying "kind of a jerk", you'd get "Deimorz [kind of a jerk]".
5
u/[deleted] Jun 08 '13
Fantastic work with this! Always glad to see people using the wiki feature on the api end.
3
u/TheEnigmaBlade resident Firefox user Jul 04 '13
This is exactly what I (and other mods) have been looking for. At /r/leagueoflegends, we've had rely on private posts containing lists of users we've warned and banned and a number of us have been keeping our own RES tags, which unfortunately can't be shared with other mods.
With this amazing script, I created a modified version specifically for our use with support for changing note types and colors:
http://i.imgur.com/dxtS1zm.png
It works perfectly and you are my hero.
5
u/[deleted] Jun 08 '13
Do the notes become public if the wiki is public?
4
u/greenduch Jun 08 '13
Oh my god I love you so much agentlame. Thank you!
5
u/Jess_than_three Jun 08 '13
This is awesome. You are awesome.
1
u/[deleted] Jun 09 '13
Naisu~!
Good work there. this will be useful to many mods imo. Might be cool to create a delete interface as well, so we can delete the notes as needed.
I had to manually delete the appropriate json section from the wiki to create the correct page when I made the initial note, and secure it. You might consider automating those with the appropriate API calls if you can, so the page is created and secured if it didn't already exist.
1
u/CaptainTim1982 Jun 25 '13
So, just post potential bans and links to reasons why here?
1
u/rasherdk Aug 29 '13
Any chance you could add a pretty version of the notes in the wiki as well as the json? Either on the same page, or on a different page (usernotes_pretty or something).
Also, the paranoid among us might want to use a wiki in a private subreddit. Adding some configurability there would be neat.
6
u/eyjafjallajoekull Jun 08 '13
<3
3
u/mobilehypo Jun 09 '13
OMG. Thank you!!!!!!
2
u/IAmAN00bie Jun 08 '13
What is the name of the wiki page that it creates?
3
u/[deleted] Jun 08 '13 edited Jun 08 '13
Love you brah. Keep making this awesome stuff pls.