Skip to content
TORNLIFE More

[script] Profile Info

Started by sullengenie [1946152] on in Tools & Userscripts.

21 replies · 1.37k views · thread synced · 6 days ago · View on torn.com
About this thread

Posts archived: 22 / 22 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
22
Discussion span
→
Authority score
53 / 100
Historical score
32 / 100
Story score
50 / 100
Engagement score
72 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Mentioned in this thread

miros [1848626] ×1

sullengenie [1946152]

Thought I'd share a handy script I wrote up recently. You can find it at https://greasyfork.org/en/scripts/33347-profile-info. It adds a collapsible panel to profile pages that you can use to tag players with a difficulty (easy, medium, or impossible a la WarBaseExtended) and keep notes on players. A picture is worth a thousand words, so here are some illustrative screenshots.

Panel expanded, easy difficulty:

[image: puu.sh]

Panel collapsed, easy difficulty:

[image: puu.sh]

Medium difficulty button:

[image: puu.sh]

Impossible difficulty button:

[image: puu.sh]

Please feel free to contact me if you have any issues/questions/suggestions.

Edit: Added information to the panel title, as suggested by miros [1848626] using some code contributed by him.

Edit 2: Added the age of the difficulty rating to the panel header in 0.6. Any ratings made before 0.6 will show as (automatic). If you change the difficulty to something else and back, the rating time will be stored and displayed as (0 days ago).

Edit 3: Added an import/export feature in 0.7. Please be advised that import will overwrite your existing notes. So please for the love of god do an export first and save it somewhere before you try importing anything. If you manage to screw everything up, you can import {} and that will reset your notes.

Mentions: miros [1848626]

sullengenie [1946152]

Nice suggestion, and thanks for your contribution of code! I've pushed version 0.5 to greasyfork, adding information to the panel title bar as suggested.
sullengenie [1946152]

Now stores and displays the age of difficulty ratings in the panel header. Thanks for the suggestion, DeusVorpal! Any ratings made prior to version 0.6 will show as (automatic) until you make a change to the difficulty dropdown menu. (There is a hook for another script to provide automatic difficulty estimates and have them displayed by Profile Info.)
Strandevader [1618795]

It is a nice feature, but there is an issue. I had to delete my cookies and clear cache because somehow I couldn't get access to a certain Google service. It resolved the problem with that, but as a consequence the info I had stored in this script was gone.
sullengenie [1946152]

Added an import/export feature. Please be advised that import will overwrite your existing notes. So please for the love of god do an export first and save it somewhere before you try importing anything. If you manage to screw everything up, you can import {} and that will reset your notes.

As always, let me know if there are any issues. I'm sorry this feature isn't more polished; I don't have a ton of time for this kind of thing right now.

Edit: Clearer wording