WarcraftReamls.com
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
Upload page enhancement request

 
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
b-morgan



Joined: 20 Nov 2013
Posts: 4
Location: United States
WR Updates: 13,009
b-morgan WR Profile

PostPosted: Sun Feb 02, 2014 11:53 am    Post subject: Upload page enhancement request Reply with quote

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).
Back to top
View user's profile Send private message
b-morgan



Joined: 20 Nov 2013
Posts: 4
Location: United States
WR Updates: 13,009
b-morgan WR Profile

PostPosted: Sun Feb 02, 2014 12:14 pm    Post subject: Reply with quote

Does UniUploader still work? See the error below.

<Uploading>
Looking for file
IP: 75.71.229.186

United Kingdom

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
Back to top
View user's profile Send private message
b-morgan



Joined: 20 Nov 2013
Posts: 4
Location: United States
WR Updates: 13,009
b-morgan WR Profile

PostPosted: Sun Feb 02, 2014 12:15 pm    Post subject: Reply with quote

I tried without the username and password with the same result.
Back to top
View user's profile Send private message
Balgair
Araiceil


Joined: 30 Sep 2005
Posts: 1509
Location: UK
WR Updates: 11,068,258
Balgair WR Profile

PostPosted: Sun Feb 02, 2014 3:57 pm    Post subject: Reply with quote

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.
_________________
EU-Draenor:
-- Sagart - Tairbh - Buinne - Balgair - Eilnich - Ruire - Dubh - Laidir - Naomh --
Back to top
View user's profile Send private message
bringoutyourdead
Forums Admin & general flunky


Joined: 07 Nov 2008
Posts: 587
Location: Silicon Valley
WR Updates: 7,081,179
bringoutyourdead WR Profile

PostPosted: Sun Feb 02, 2014 10:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
bringoutyourdead
Forums Admin & general flunky


Joined: 07 Nov 2008
Posts: 587
Location: Silicon Valley
WR Updates: 7,081,179
bringoutyourdead WR Profile

PostPosted: Sun Feb 02, 2014 10:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
b-morgan



Joined: 20 Nov 2013
Posts: 4
Location: United States
WR Updates: 13,009
b-morgan WR Profile

PostPosted: Sat Feb 08, 2014 4:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> Suggestions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
WarcraftRealms.com  


Powered by phpBB © 2001, 2005 phpBB Group