loupnoir: (squint)
Everett ([personal profile] loupnoir) wrote in [community profile] isopods2020-09-03 06:00 pm
Entry tags:

RYSLIG - THREAD/AC TRACKER


November 2022 Update: Nix ([personal profile] nixthat) made a tweaked version of the AC tracker that improves and clarifies the spreadsheet layout--you can check it out here!



Hey, everyone! This is Everett ([plurk.com profile] wolfnoir), and I've put together an AC tracker for Ryslig in Google Sheets! I've seen people struggling to putting together their AC comments, and I figure, why not make a spreadsheet that automatically generates the comment and calculates bonus AC? The neat thing about this AC tracker is that you're free to put in threads that are less than three comments, as it will only count threads that are eligible for AC!

This tracker was inspired by Xy's Deerington AC Tracker, who was kind enough to let me use their script as a starting point! Please let me know if you have any questions using this spreadsheet.

INSTRUCTIONS
1. Navigate to this spreadsheet and click File > Make a Copy. Save it to your Google Drive.

2. Ensure that the current sheet you are using to track this month's activity is named CurrentMonth.

3. Fill out the necessary fields except the ones in dark blue. Do not edit the dark blue fields. The cells in dark blue are the ones with the necessary formulas! More information and instructions on each field can be found in the "Information" sheet at the bottom.

4. At the top, select Ryslig Activity > Print Activity Comment. You need to give the script permission to run on your account. Once permission has been granted, the script will run normally. A panel should pop up displaying the information you need.

5. To make a new sheet to track threads for a new month, right click on the Blank Template and click Duplicate. Make sure the duplicated sheet is renamed CurrentMonth so that the script can find the appropriate sheet to generate the comment.

FAQ
How do I use this spreadsheet?
This spreadsheet is just a way to keep track of your threads for the month and print out an already-formatted comment for Ryslig's Activity Check. No fumbling with HTML, you just run the script, copy what it gives you, and paste it for your activity check comment. It's that easy!

The spreadsheet itself does NOT automatically count comments, due to the fact Ryslig is locked behind a "discretion advised" filter. You will have to manually input how many comments you've made in a thread.

Help! I edited the sheet and accidentally erased the formula in one of the cells!
Not to worry, the formulas for each of the dark blue cells can be found below! Simply copy and paste what you need.

Current Coin Count
=G9-H9

Total Comments
=SUMIF(E7:E,">=3")

This Month's Coins
=IF(K7>=200+K11,IF(G13="Yes",40,20),IF(G13="Yes",FLOOR(MAX(MIN((K7-K11)/10), 0))*2,FLOOR(MAX(MIN((K7-K11)/10), 0)))) + IF(AND(G11="Yes",K7<200+K11),1,0)

Updated Coin Total
=G9+L7

Updated Coin Count
=I9+L7


The Activity Comment Printer isn't printing correctly/is bringing up an error.
Check to make sure that all fields are filled out appropriately, and then check to make sure that the sheet you want to print is labelled "CurrentMonth". If you are still encountering issues, please leave a comment with the error that occurred and I will get back to you as quickly as possible!

Something else happened! Feel free to ask any questions below!

digiorno: <user name="sawakonosadako" site="tumblr.com"> (Default)

[personal profile] digiorno 2020-11-06 05:53 pm (UTC)(link)
howdy! i have a very non-urgent question about a possible addition to this coding, with the caveat that i'm frankensteining and know almost nothing about properly coding sheets. regarding the comments column, in the past i've used the following code to auto-count comments:
=COUNTIF(importxml(URL-CELL,"//span[[personal profile] class='ljuser']"),"USERNAME")

example:

=COUNTIF(importxml(B7,"//span[[personal profile] class='ljuser']"),"digiorno")
however, inputting that into the prefab sheet isn't producing an autocount result. do you have any idea why? if not that's totally fine, i am just trying to frankenstein like i said. thank you!!
Edited 2020-11-06 17:53 (UTC)
digiorno: <user name="sawakonosadako" site="tumblr.com"> (Default)

[personal profile] digiorno 2020-11-07 11:51 pm (UTC)(link)
oh damn i would not even have thought of that. thank you! that makes a lot of sense, and i appreciate the explanation — thinking on it now, when i've used this formula in the past it's been with communities that for one reason or another don't have a discretion or 18+ filter. today i learned!
bugbeverage: (ohyouu)

[personal profile] bugbeverage 2022-10-04 04:12 am (UTC)(link)
Hello! Thank you for putting this together.

I'm having trouble getting the comment printer to even appear. I have no "Ryslig Activity" option on my option bar and I have full permissions set for the sheet.
bugbeverage: (Default)

[personal profile] bugbeverage 2022-10-04 04:31 am (UTC)(link)
Just duplicated the current sheet and still no prompt or anything.

I'm using Google Chrome.
bugbeverage: (singing)

[personal profile] bugbeverage 2022-10-04 06:14 pm (UTC)(link)
It shows up for me now! Thank you so much for taking the time to help me!