![]() |
"Advanced" Graphic Uploader
8 Attachment(s)
I've decided to release the graphic uploader I made for Era. It's similar to this one by LoneAngelIbesu, but contains a queue, admin approval/denial, and more.
To use it, press F11 and click "Upload Graphic". Choose the graphic type, file name, and press "Browse". Select your graphic, and it will upload. It automatically checks the headers, checks to make sure the file does not already exists, and then moves it to a folder where it waits for an admin to approve it. You can view your pending, uploaded, and denied graphics as well by pressing F11. Admins will see an extra option to moderate the queue, and they have a list of quick deny options, a custom deny reason button, an approve button, and a skip button (move on to the next item in the queue, do not approve or deny the current). Screenshots: Attachment 49693Attachment 49694Attachment 49695Attachment 49696Attachment 49697 Installation This isn't the easiest script to add, but it's not too bad if you follow these steps:
The latest version can be found here (last updated 2012/01/20 by fowlplay4). |
Yay, totally using this if Stefan ever implements that server-side TDrawingPanel functionality that will let us set transparencies.
|
Very nice work.
|
nice,
man i took a look in that script, and i was just happy i could make a spinning script lmao. |
Looks impressive :o
|
Good job, you should get a GAT to skin a much nicer GUI though. :]
|
Thats some good stuff. Nice job.
|
Good job man. they should have this on every server :P
Does it get spammed with useless ****? |
Awesome idea- love it! :)
|
Quote:
It would be cool if Stefan added something like this to the login server so players could upload their graphics on all servers at once. This kind of functionality already exists with default files (/finddef in RC) I think, and could probably be extended to player appearance graphics. |
Quote:
|
;o whoa
|
Quote:
It would be cool if Stefan added something like this to the login server so players could upload their graphics on all servers at once. This kind of functionality already exists with default files (/finddef in RC) I think, and could probably be extended to player appearance graphics. |
Quote:
|
Quote:
EDIT: I find the copyright warning on Era's version hilarious considering the usage of copyrighted audio on the server. |
Quote:
Perhaps the GDT could handle those types of situations. |
Very nice. ^^
|
nice script :o
and the only problem with it uploading to all servers at once is that some servers have different rules on what to upload and what not to. certain images arent allowed on one server that are allowed on another blah. |
There is a problem in the original script that could potentially result in a loss of data in any of your data that is stored via SQL, although this is very unlikely because of the nature of the problem—generally, you should just see some errors in RC if it's being abused.
With that said, if you're using this script, please update it ASAP to a patched version here. |
That pastebin is really nice.
|
@cbk1994, just curious, i didn't look at the script but I looked at the post and pictures and what i saw showed that you don't get to choose your extension, does that mean you can't upload .mngs with it?
|
Request: Add support for fixImageTransparency(file);
It sets the transparent color as the same color in the top left corner. When transing it also converts truecolor images down to 256 colors / 8 bit. |
Updated by fowlplay4
1. Added work-around for downloading images. No longer need to add anything to folder config. See function getGraphic(img) for more notes on that. 2. Added support for setting transparencies via fiximagetransparency(filepath) 3. Updated naming to be more user-friendly by changing the getUploadFullName() function. Prevents players from using periods in the name however. 4. Added support for hats. 5. Added support for using a different database. 6. Fixed to use V6's new uploadfile() function. Link: http://pastebin.graalcenter.org/read.php?id=43131936319 |
Quote:
edit: thanks Skyld for updating OP |
Quote:
|
I put this script on my server, followed all the directions correctly, but everytime I go to Manage Uploads, I get an error telling me it can't load the graphic, to check if im lagging etc etc
What's up with this? |
Very nice.
|
For some reason when someone uploads anything, it shows up black so I can't see the image they want to upload. What's the problem?
|
Can you post a screenshot?
|
All times are GMT +2. The time now is 03:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.