From 23da921c43b1c925710b55f93b87fef92dedd179 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 10 Dec 2025 12:49:54 +0500 Subject: feat: emote reupload --- emotes/reupload.php | 331 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/config.php | 3 + lib/partials.php | 11 +- 3 files changed, 342 insertions(+), 3 deletions(-) create mode 100644 emotes/reupload.php diff --git a/emotes/reupload.php b/emotes/reupload.php new file mode 100644 index 0000000..b6598f9 --- /dev/null +++ b/emotes/reupload.php @@ -0,0 +1,331 @@ + + + + + + Reupload emotes - <?= CONFIG['instance']['name'] ?> + + + + + +
+
+ + + + + +
+
+
+ +
+ + + + + +
URL:
+ +
+
+ +
+

+ This runs entirely on the client. + Confirm platform availability before starting. + + The process uses significant memory because images are loaded into RAM; large batches + can exceed several gigabytes. + +

+

Supported platforms: 7TV, BetterTTV

+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/lib/config.php b/lib/config.php index b182d3a..fac6e02 100644 --- a/lib/config.php +++ b/lib/config.php @@ -28,6 +28,9 @@ $cfg = [ 'storeoriginal' => true, 'urlupload' => true ], + 'reupload' => [ + 'enable' => true + ], 'rating' => [ 'enable' => true, 'names' => "-1=COAL\n1=GEM", diff --git a/lib/partials.php b/lib/partials.php index 71a429a..2d6cd44 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -20,9 +20,14 @@ function html_navigation_bar() Users - Upload'; - } ?> + + Upload + + + + Re-upload + + Account