Upload page enhancement request

Suggestions for WarcraftRealms.com
Post Reply
b-morgan

Upload page enhancement request

Post by b-morgan »

Could you please enhance the upload page so that in addition to:

http://www.warcraftrealms.com/upload.php

You could use (something like):

http://www.warcraftrealms.com/upload.php?C:\Program Files\World of Warcraft\WTF\Account\%account%\SavedVariables\CensusPlus.lua

to eliminate the "Choose file", "Process file", and the dependency on (someone else's) UniUploader to automate the process.

I'll even volunteer to take a stab at the changes if you want (PM me).

b-morgan

Post by b-morgan »

Does UniUploader still work? See the error below.

<Uploading>
Looking for file
IP: 75.71.229.186<br>
United Kingdom<br>
75.71.229.186 - gb -
File appears to be valid, checking your version number.
Checking your file
Found CensusPlus Database
Found CensusPlus Info Data
Found Version Number => Version: 6.1.0 <Found> Locale: US <=
Attempting to make entry

Getting User/pass
Username : b-morgan<Error> Unable to query : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 on line: 285 of /home/wrlogin/html/uniupload.php

b-morgan

Post by b-morgan »

I tried without the username and password with the same result.

Balgair
Araiceil
Posts: 1706
Joined: Fri Sep 30, 2005 11:47 am
Location: UK

Post by Balgair »

It still works for me, that error usually means there's something wrong which the site is rejecting, but the site's feedback to the addon doesn't work so you never get to see the error message. Normally it means you tried to upload more than one file too close together; there's a 10-15 minutes gap required between uploads and it just complains if you do it more often than that. Might be other reasons, but that's the only one I normally hit.

If it's worked for you in the past, I'd guess it's a temporary thing, if it's never worked for you, check the config guides in the General forum here, they might give some tips, as the default UU setup doesn't work; you have to make a couple of changes. I'm using an outdated version these days, mine still works fine - might be some extra changes required for the latest version though, afraid I can't really help there.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

moved to the latest UniUploader a couple of months ago.. version 2.8.1.74
It works just the same..


The URL you are upload to is http://www.warcraftrealms.com/uniupload.php
Remember remove the check mark for Upload all accounts.. this site can't process multiple accounts in one upload.
Under advanced tab enable the GZip compression

Under Options tab you need "user" and your Warcraftrealms.com account name
and "pw" with your password for this site.

Don't include the "

back on the main settings tab.. enable the Show SV button.. add a check to the upload SV checkbox and also check the CensusPlus item
this assumes you have already run CensusPlus and saved a census run.. and have told UniUploader found where WoW is located.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Re: change suggestion
Note that not all installations are standard Windows default.
Mac users have different settings
and others on non-standard platforms using Wine and other windows emulators can be very different.

So we need to keep the ability for users to select the actual locations of there SavedVariables files.

b-morgan

Post by b-morgan »

bringoutyourdead wrote:Re: change suggestion
Note that not all installations are standard Windows default.
Mac users have different settings
and others on non-standard platforms using Wine and other windows emulators can be very different.

So we need to keep the ability for users to select the actual locations of there SavedVariables files.
I guess I wasn't completely clear on how my enhancement would work. First of all, no changes to the current method when the URL doesn't include parameters. I'm proposing that including a parameter in the URL (the stuff after the "?") would bypass the "Choose File" and "Process File" clicks and go directly to process the file specified in the URL. The parameter would, of course, point to the censusplus.lua on your system be it Mac, Windows, or Wine.

I'm guessing that the changes required would take less than 15 minutes to code. All I need is a copy of the .php for the existing page and a place/person to return the modifications to.

UniUploader is way more complex that what is needed here at WarcraftRealms.com. The beauty of my solution is that you can save the URL with the parameter in your browser favorites and uploading becomes a one click action.

Post Reply