Forum Userscripts

Got a complaint or a suggestion? Also used for general information about the site.
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Forum Userscripts

Post by loregamer »

I've been making a few userscripts for the forum incase anyone has any requests



To use, install the Violentmonkey extension and click the Download links
ScriptDescription
β›”Ignore ThreadsAdds ability to ignore/hide threads from your feed
γ…€
πŸ“₯ Various UI Tweaks Toggle-able UI tweaks, such as Better Quote Boxes, Download Links, Edited Notice, auto-jumping to last read posts, fixing the unread post button not being red, etc.
γ…€
πŸ“₯ Notifications Panel Improvement Improves the notification panels by trimming the text and adding smileys to reaction notifications
πŸ“₯ BBCode Highlighting + Custom Smileys Expands the text editor area, adds highlighting for BBCode tags, and adds ability to create custom smileys
πŸ“₯ Better Reactions List Separates the reactions users have made into smiley boxes so you don't have to open the popup
πŸ“₯ Pin Topics Allows you to pin threads that will show on Board Index, Home, and New Posts
γ…€
πŸ“₯ Thousands Comma Formatter Adds decimal commas to numbers > 4 digits long, i.e. "15,000", "1,000,000", etc.
πŸ“₯ Subscribed Topics Page Adds a new button and page for subscribed topics so you can see which have had new posts added
πŸ“₯ Random Topic button Adds a button to the topbar to visit a random topic
γ…€
πŸ“₯ Vault Improvements Adds improvements to Vault uploading (Prevent leaving page, show upload status in title, play sound when uploaded, expand download panel)
πŸ“₯ Chat - IRC Avatars Adds avatars for IRC users in the Matrix client
πŸ“₯Chat - YouTube Embed FixerFixes YouTube embeds in chat


Ignore Threads

Various UI Fixes

Notifications Panel Improvement

BBCode Highlighting + Smiley Improvement

Better Reactions List

Pin Topics

Subscribed topics page

Vault Improvements


πŸ“₯Download
  • Shows the number of uploaded files and if there are still pending uploads in the Tab Title
  • Play the fortnite death sound when a file is uploaded
  • Warn before closing the tab if files are currently uploading
  • Upload panel doesn't become scrollable and only expands

Random Topic button

Chat - IRC Avatars

Last edited by loregamer on March 10th, 2025, 17:29, edited 24 times in total.
User avatar
Shillitron
Turtle
Turtle
Posts: 3127
Joined: Feb 6, '23
Location: ADL Head Office

Post by Shillitron »

Rusty is basically Bethesda now.. just letting modders fix his site for him.
User avatar
Nemesis
Director of Synchronous Communication Channels
Posts: 810
Joined: Feb 2, '23

Adventurer's Guild

Post by Nemesis »

I'll add my own: Open Unread Notifications in New Tabs

The title speaks for itself, and it only works in the User Control Panel page. I've written many iterations of this script for other places, and it's a fantastic QoL improvement.

Let me know if you encounter any bugs or issues, and I'll update the code.
β–Ί Show Spoiler
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Nemesis wrote: ↑ August 10th, 2024, 13:21
I'll add my own: Open Unread Notifications in New Tabs

The title speaks for itself, and it only works in the User Control Panel page. I've written many iterations of this script for other places, and it's a fantastic QoL improvement.

Let me know if you encounter any bugs or issues, and I'll update the code.
Nice little tweak. I could also add a button for it to my notification panel script if you want
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

I did some weird black magic to make these mobile compatible, ish
Image
User avatar
J1M
Turtle
Turtle
Posts: 2499
Joined: Feb 15, '23

Adventurer's Guild

Post by J1M »

How about a script that marks a notification read when you visit the page it is on so you don't have to click each notification individually?
User avatar
Nemesis
Director of Synchronous Communication Channels
Posts: 810
Joined: Feb 2, '23

Adventurer's Guild

Post by Nemesis »

loregamer wrote: ↑ August 10th, 2024, 17:12
I could also add a button for it to my notification panel script if you want
Go ahead :salute:
User avatar
rusty_shackleford
Site Admin
Posts: 25316
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

J1M wrote: ↑ August 10th, 2024, 18:16
How about a script that marks a notification read when you visit the page it is on so you don't have to click each notification individually?
@loregamer if you wanted to tackle this, you could collect all the post ids on the page(id of the div wrapper for each post), then compare it with notifications not marked read, and click the link to send the ajax request to mark them read β€” altho I'm not sure how well the last part is working, as it seems to take me to the post instead of marking it read :scratch:
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

rusty_shackleford wrote: ↑ August 11th, 2024, 02:04
J1M wrote: ↑ August 10th, 2024, 18:16
How about a script that marks a notification read when you visit the page it is on so you don't have to click each notification individually?
@loregamer if you wanted to tackle this, you could collect all the post ids on the page(id of the div wrapper for each post), then compare it with notifications not marked read, and click the link to send the ajax request to mark them read β€” altho I'm not sure how well the last part is working, as it seems to take me to the post instead of marking it read :scratch:
Done, should be on latest update of Notification Panel userscript

I think I did it right at least :scratch: Lemme know if there are any issues @J1M
Image
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Think I might make a "Random Topic" button for funsies
User avatar
WhiteShark
Site Moderator
Posts: 4003
Joined: Feb 2, '23

Adventurer's Guild

Post by WhiteShark »

loregamer wrote: ↑ August 12th, 2024, 16:40
Think I might make a "Random Topic" button for funsies
But instead of being random, it takes you to a @Red7 thread.
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Last edited by loregamer on August 12th, 2024, 16:57, edited 1 time in total.
User avatar
WhiteShark
Site Moderator
Posts: 4003
Joined: Feb 2, '23

Adventurer's Guild

Post by WhiteShark »

Bug report: I clicked on Random Topic and did not arrive at a red7 thread.
User avatar
WhiteShark
Site Moderator
Posts: 4003
Joined: Feb 2, '23

Adventurer's Guild

Post by WhiteShark »

Actually, here's something I'd really appreciate @loregamer: make a script that adds the MCP button to the New and Unread pages.
User avatar
Red7
Posts: 5268
Joined: Aug 11, '23

Post by Red7 »

WhiteShark wrote: ↑ August 12th, 2024, 16:47
loregamer wrote: ↑ August 12th, 2024, 16:40
Think I might make a "Random Topic" button for funsies
But instead of being random, it takes you to a @Red7 thread.
ideally it would lead to post of me ranting on ppl who think math abstract of randomness can exist and dont grasp notion of causality
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

WhiteShark wrote: ↑ August 12th, 2024, 17:10
Actually, here's something I'd really appreciate @loregamer: make a script that adds the MCP button to the New and Unread pages.
Done. Lemme know if you wanted it to lead you to a specific link. I basically made it so it'll always create the MCP button

πŸ“₯Download
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

This button is fun

You must all try it immediately
User avatar
Vergil
Posts: 11024
Joined: Sep 6, '23

Post by Vergil »

Can you make it to where it detects if a brown person is posting and hides their posts?
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Vergil wrote: ↑ August 12th, 2024, 19:37
Can you make it to where it detects if a brown person is posting and hides their posts?
Done

πŸ“₯Download
User avatar
orinEsque
Posts: 2913
Joined: Oct 9, '23
Location: Narnia
Gender: Potato

Post by orinEsque »

loregamer wrote: ↑ August 12th, 2024, 20:41
Vergil wrote: ↑ August 12th, 2024, 19:37
Can you make it to where it detects if a brown person is posting and hides their posts?
Done

πŸ“₯Download
Truly Essential Mod :salute:
User avatar
Nemesis
Director of Synchronous Communication Channels
Posts: 810
Joined: Feb 2, '23

Adventurer's Guild

Post by Nemesis »

loregamer fixing phpBB one script at a time.
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

I tried out making separate reaction buttons but it's too hacky and a headache
Image
β–Ί Incomplete Script
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

What color should I do for pms?

Image
User avatar
Vergil
Posts: 11024
Joined: Sep 6, '23

Post by Vergil »

loregamer wrote: ↑ August 16th, 2024, 20:07
What color should I do for pms?

Image
Rainbow since they're mostly used for gay erp
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Salvaged the better reaction listing script
loregamer wrote: ↑ August 16th, 2024, 20:50
Provides alternative to the reaction popup
Image



πŸ“₯Download
User avatar
J1M
Turtle
Turtle
Posts: 2499
Joined: Feb 15, '23

Adventurer's Guild

Post by J1M »

Request: HQ User script mod manager.
User avatar
Acrux
Turtle
Turtle
Posts: 4238
Joined: Feb 8, '23

Adventurer's Guild

Post by Acrux »

Actually, I'd like an all-in-one collection.
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

Acrux wrote: ↑ August 17th, 2024, 00:23
Actually, I'd like an all-in-one collection.
Tried making this, worked horribly :sad: I think I gotta keep em separate
User avatar
J1M
Turtle
Turtle
Posts: 2499
Joined: Feb 15, '23

Adventurer's Guild

Post by J1M »

I was only somewhat joking. These have become so extensive it would be cool to toggle them from a dropdown near the private messages and profile buttons.

It would take these mods to the status of unofficial expansion.
Last edited by J1M on August 17th, 2024, 01:37, edited 2 times in total.
User avatar
loregamer
Posts: 2641
Joined: Dec 3, '23

Post by loregamer »

J1M wrote: ↑ August 17th, 2024, 01:36
I was only somewhat joking. These have become so extensive it would be cool to toggle them from a dropdown near the private messages and profile buttons.

It would take these mods to the status of unofficial expansion.
I'll wait to see if Rusty cooks up an idea for how these could be integrated. Would be coolImage
rusty_shackleford wrote: ↑ August 16th, 2024, 03:10
I'm probably going to work with @loregamer to integrate his stuff directly into the site in a way that makes it easy to quickly iterate on stuff that can be done on the client. This seems like something that would fall under that.
Post Reply