Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

yogensia/gb-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameBanana Admin Toolbox

Small Tampermonkey/Greasemonkey userscript with a few tweaks to make mod lives easier.

Inspired by the Quick Links idea submission by Jonny Higgins.

Licensed under the MIT License.

Coded by Yogensia.

Features

  • Posting forms: Added a toolbar menu with common links like Rules, Porting Whitelist, etc. These links can be clicked and they will be added to the form (screenshot) / (video).
  • Withhold Message Injector: Added a menu with 10 customizable buttons that when clicked add a string of text to the textarea. This allows you to save frenquently used withhold reasons in buttons and add them easily when withholding a submission.
  • Quick Admin Menu: Added a menu that appears on the left edge on all pages hidden until mouse over, with links to frequently used admin sections (screenshot).
  • Avatar tooltips: Sublog, Modlog, Modnotes, Send PM links added to avatar tooltips (screenshot).
  • ModLog: Layout tweaks especially to keep the layout from breaking because of long usernames (screenshot).
  • Flagged/Withheld Submissions List: Layout tweaks, game icons, links to submission profile, history and withhold conversation (screenshot).
  • Features Admin List: Layout tweaks (screenshot).

Installation

  1. First install Tampermonkey (Google Chrome) or Greasemonkey (Firefox).

  2. Then click here to open the script and click the install button.

That's it!

Known Bugs:

Known bugs and planned improvements can be found here.

Changelog:

  • v0.01: Initial version with basic shortcode support.
  • v0.02: Fix bug breaking things when a modal is closed and opened again.
  • v0.03: Added Modlog, Modnotes and Send PM links to avatar tooltips, and minor general tweaks.
  • v0.04: Added Blending Textures tutorial to shortcodes and Sublog to avatar tooltips.
  • v0.05: Added Support link to shortcodes and changed tooltip link generation to avoid issues when hovering over several avatars very quickly.
  • v0.06: Hide Send PM link in user's own avatar tooltip.
  • v0.07: Added shortcode support on non-modal forms (ex: PM forms).
  • v0.08: Refactored and optimized shortcodes code to work on pages with several forms (ex: submit pages).
  • v0.09: Textarea size optimizations moved from JS to CSS.
  • v0.10: Remove placeholder shortcodes.
  • v0.11: Add a few optimizations to the Flagged Submissions table including links to submission profile, history and withhold conversation.
  • v0.12: Switched Profile and Flags links in Flagged Submissions table. Main link will point to the submission's profile now, and a flag link will be added next to it instead.
  • v0.13: Added optimizations to ModLog table to avoid layout stretching. Long username links are now truncated and have a title attribute to reveal full username on mouse hover.
  • v0.14: Added support for shortcode names in the toolbar and the markdown link to be different.
  • v0.15: Removed link to withhold conversation on submissions that are flagged but not withheld, and added tooltip tweaks to tooltips from the credits module in submissions.
  • v0.16: Added "Clear and Organized Credits" tutorial to shortcodes.
  • v0.17: Fix shortcodes and tooltips not working after submitting a comment or stamp (hopefully).
  • v0.18: Added game icons to Flagged Submissions List.
  • v0.19: Added section icons to Flagged Submissions List.
  • v0.20: Added layout tweaks for Features admin page.
  • v0.21: Highlight Features older than 3 days in Features admin page.
  • v0.22: Added Quick Admin Menu with links to several sections frequently used by admins/mods.
  • v0.23: Changed the Feedback link to point to the thread on GameBanana about the script.
  • v0.24: Refactored code to generate icons from submission links and added icons to some links in the ModLog.
  • v0.25: Added Frontpage & Contacts links to Quick Admin Menu.
  • v0.26: Added link to last reply for threads in the Watches table (thanks Robin & Arman Ossi Loko).
  • v0.27: Added minor tweaks to NavigatorTabs menu.
  • v0.28: Improved handling of "Go to last reply" links so that they scroll to the last reply more accurately.
  • v0.29: Added Withhold Message Injector feature to withhold pages (see Features section). This still is not implemented on withhold conversations. SubFeed column has also been removed from withheld submissions conversations.
  • v0.30: Filter module in ModLog, Flagged Submissions and Features pages now appears as a toggleable menu.
  • v0.31: Added admin page tweaks to Withheld submissions table.
  • v0.32: Added Withhold Message Injector feature to unwithhold conversations (only on Add Message button at the top).
  • v0.33: Added "Using Markdown in GameBanana" tutorial to shortcodes (thanks Mini).
  • v0.34: Added Pending Categories link to Quick Admin Menu (thanks Mini).
  • v0.35: Withhold Message Injector can now be minimized.
  • v0.36: Updated script for new widths in ModLog, FlagLog and WithheldLog tables.
  • v0.37: Fixed issue that could prevent the script from working when there are Feature notifications in the activity log.
  • v0.38: Temporaly disable Filter module tweaks to avoid issues from latest GB updates.
  • v0.39: Fixed URL for PM links in avatar tooltips.
  • v0.40: Current date is now automatically added to empty member/submission Modnote forms.
  • v0.41: Minor change in Modnote date formatting.
  • v0.42: Fixed an issue that would write dates on Modnotes when not needed.
  • v0.43: Some code cleanup & fixed moment.js being called on all pages.
  • v0.44: Fix Flags link in the menu.
  • v0.45: Fix Flags link in the menu (it changed again).
  • v0.46: Fixes by AoM: Fix Flagged/Withheld submissions pages, fix links to HTTPS, fix contact page and site rules links in menu (thanks AoM).

Releases

No releases published

Packages

No packages published