Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   "Advanced" Graphic Uploader (https://forums.graalonline.com/forums/showthread.php?t=134256672)

cbk1994 10-27-2009 12:56 PM

Quote:

Originally Posted by fowlplay4 (Post 1534402)
That would be cool cause if an obscene upload got approved, then i could be graphically obscene on every non-gold server and you would have to wait for globals to undo it! :D

:p

Perhaps the GDT could handle those types of situations.

Matt 10-28-2009 05:12 AM

Very nice. ^^

darkcloud667 12-17-2009 01:06 AM

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.

cbk1994 02-13-2011 03:28 AM

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.

fowlplay4 02-13-2011 09:00 AM

That pastebin is really nice.

Toxen 02-14-2011 04:51 PM

@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?

fowlplay4 10-25-2011 05:34 AM

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.

fowlplay4 01-20-2012 10:16 PM

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

cbk1994 01-21-2012 06:48 PM

Quote:

Originally Posted by fowlplay4 (Post 1682226)
Updated by fowlplay4

Thanks, nice work :).

edit: thanks Skyld for updating OP

MattKan 01-21-2012 09:13 PM

Quote:

Originally Posted by fowlplay4 (Post 1682226)
Update

:)

r3ckless 03-25-2012 02:12 AM

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?

Bam112 03-25-2012 02:54 PM

Very nice.

iGraalian 07-31-2015 10:54 PM

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?

xAndrewx 08-01-2015 09:50 AM

Can you post a screenshot?


All times are GMT +2. The time now is 02:22 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.