WebUI v0.315 (Page 50) / Web API / µTorrent Community Forums
 

#1226 2008-06-18 05:12:15

Mayu
Member

Re: WebUI v0.315

Looks like it only works in IE7 now, as it totally does not in Firefox 3.0 (release version)

Hope that long awaited update comes soon.

Excellent work by the way.

Offline

#1227 2008-06-18 05:17:44

jewelisheaven
Member

Re: WebUI v0.315

Read the sticky. There are mods out.

Offline

#1228 2008-06-18 06:23:42

IRainman
Member

Re: WebUI v0.315

Hi!  in new version Opera 9.50 webUI is not working sad

Log:

  --------------------------------------------------------------------------------^
JavaScript - http://*.*.*.*:*/gui/
Event thread: DOMContentLoaded
Error:
name: TypeError
message: Statement on line 1: Cannot convert undefined or null to Object
Backtrace:
  Line 1 of linked script http://*.*.*.*:*/gui/stable.js
    function(){var i,aRows,aAlign,j;aAlign=new Array();for(i=0;i<this.cols;i++){switch(this.colsdata[i].align){case ALIGN_LEFT:align="left";break;case ALIGN_CENTER:align="center";break;case ALIGN_RIGHT:align="right";break;case ALIGN_AUTO:default:switch(this.colsdata[i].type){case TYPE_NUMBER:align="right";break;default:align="left";}}aAlign.push(align);}for(i=0,j=0;i<this.cols;i++){this.tHeadCols[i].style.textAlign=aAlign[i];}var _9c=this.tBody.getElementsByTagName("colgroup")[0].getElementsByTagName("col");var _9d=_9c.length;if(document.all||browser.isAppleWebKit){for(var i=0;i<_9d;i++){_9c[i].align=aAlign[i];}}else{var ss=null,rules=null;for(var n=0,l=document.styleSheets.length;n<l;n++){if(document.styleSheets[n].href.indexOf("stable.css")==-1){continue;}ss=document.styleSheets[n];rules=ss.cssRules;}if(rules==null){return;}if(typeof this.colRules=="undefined"){this.colRules=new Array();}for(var j=0;j<_9d;j++){var k=this.colOrder[j];if(!this.colRules[k]){for(var i=0,l=rules.length;i<l;i++){if((rules[i].type==CSSRule.STYLE_RULE)&&(rules[i].selectorText==".stable-"+this.dCont.id+"-col-"+k)){this.colRules[k]=rules[i];break;}}}if(typeof this.colRules[k]!="undefined"){this.colRules[k].style.textAlign=aAlign[j];}else{this.colRules[k]=ss.insertRule(".stable-"+this.dCont.id+"-col-"+k+" div { text-align: "+aAlign[j]+" };",0);}}}}
  Line 1 of linked script http://*.*.*.*:*/gui/stable.js
    function(){if(navigator.product=="Gecko"){for(var n=0,l=document.styleSheets.length;n<l;n++){if(document.styleSheets[n].href.indexOf("style.css")==-1){continue;}var _55=document.styleSheets[n].cssRules;for(var i=0;i<_55.length;i++){if((_55[i].type==CSSRule.STYLE_RULE)&&(_55[i].selectorText==".stable-head")){_55[i].style.overflow="-moz-scrollbars-none";}}}}this.assignEvents();this.setAlignment();}
  Line 1 of linked script http://*.*.*.*:*/gui/stable.js
    function(_2,_3){var tr,td,cl,cg,div;this.dCont=_2;this.dHead=ELE_DIV.cloneNode(true);this.dBody=ELE_DIV.cloneNode(true);this.dCont.className="stable";this.dHead.className="stable-head";this.dBody.className="stable-body";this.dCont.appendChild(this.dHead);this.dCont.appendChild(this.dBody);this.tHead=ELE_TABLE.cloneNode(true);this.tHead.style.width="100px";this.tHead.cellSpacing=0;this.tHead.cellPadding=0;this.dHead.appendChild(this.tHead);this.tHead.tb=ELE_TBODY.cloneNode(true);this.tHead.appendChild(this.tHead.tb);tr=ELE_TR.cloneNode(true);this.tHead.tb.appendChild(tr);var _5=this,span;addEvent(window,"unload",function(){_5.clearRows();});var j=0;for(var i=0,l=_3.length;i<l;i++){if(typeof this.colOrder[i]=="undefined"){this.colOrder[i]=i;}if(typeof _3[this.colOrder[i]].enabled=="undefined"){_3[this.colOrder[i]].enabled=true;}this.cols++;this.colsdata[i]=_3[this.colOrder[i]];if(!_3[this.colOrder[i]].enabled){continue;}td=ELE_TD.cloneNode(true);tr.appendChild(td);td.onmousemove=function(e){if(_5.isResizing){return;}e=FixEvent(e);var x=mouse.X-getOffsetLeft(this)+_5.dBody.scrollLeft;this.lastMouseX=e.clientX;var w=this.offsetWidth;var i=parseInt(this.getAttribute("index"));if(x<=8){if(i!=0){_5.hotCell=i-1;this.style.cursor="e-resize";}else{_5.hotCell=-1;this.style.cursor="default";}}else{if(x>=w-1){_5.hotCell=i;this.style.cursor="e-resize";}else{_5.hotCell=-1;this.style.cursor="default";}}};span=ELE_DIV.cloneNode(true);span.innerHTML=_3[this.colOrder[i]].text;td.appendChild(span);td.style.width=(_3[this.colOrder[i]].width)?_3[this.colOrder[i]].width:"auto";td.setAttribute("index",i);this.colMove.init(td,preventSort,null,moveColumn);addEvent(td,"mouseup",function(e){_5.Sort(e,this);});this.tHeadCols[i]=td;j++;}this.tBody=ELE_TABLE.cloneNode(true);this.tBody.style.width="0";this.tBody.cellSpacing=0;this.tBody.cellPadding=0;this.tpad=ELE_DIV.cloneNode(true);this.tpad.className="stable-virtpad";this.dBody.appendChild(this.tpad);this.dBody.appendChild(this.tBody);this.bpad=ELE_DIV.cloneNode(true);this.bpad.className="stable-virtpad";this.dBody.appendChild(this.bpad);this.tBody.tb=ELE_TBODY.cloneNode(true);this.tBody.appendChild(this.tBody.tb);cg=ELE_COLGROUP.cloneNode(true);this.tBody.appendChild(cg);for(var i=0,l=_3.length,j=0;i<l;i++){if(!_3[this.colOrder[i]].enabled){continue;}cl=ELE_COL.cloneNode(true);cl.style.width=(this.colsdata[i].width)?this.colsdata[i].width:"auto";cg.appendChild(cl);this.tBodyCols[j]=cl;j++;}this.scp=ELE_SPAN.cloneNode(true);this.scp.className="stable-scrollpos";this.dCont.appendChild(this.scp);this.dCont.style.position="relative";this.init();}
  Line 1 of linked script http://*.*.*.*:*/gui/script.js: In function init
    function init(){if(arguments.callee.done){return;}arguments.callee.done=true;if(_timer){clearInterval(_timer);}log("WebUI started.");if((browser.isIE&&(!browser.isIE7x||!browser.isIE7up))||browser.isAppleWebkit){$("msg").innerHTML="The WebUI<sup>BETA</sup> does not support your browser.";return;}document.title="\xb5Torrent WebUI v"+version;Key.onKeyDown=keyDown;window.onresize=function(e){if(browser.isIE&&(resizing==false)){if(resizeTimeout!=null){window.clearTimeout(resizeTimeout);}resizeTimeout=window.setTimeout("resizeUI()",500);}else{resizeUI();}};ContextMenu.init("ContextMenu");if(browser.isIE&&!browser.isIE7x){$("List").style.width="99%";}utWebUI.init();var o=$("stg_c");o.innerHTML=stgHtml;utWebUI.getSettings(false);utWebUI.config();var _3=new Array();var _4=[{"text":"Name","width":"200px","type":TYPE_STRING},{"text":"Status","width":"100px","type":TYPE_STRING},{"text":"Size","width":"60px","type":TYPE_NUMBER},{"text":"Done","width":"80px","type":TYPE_NUMBER},{"text":"Downloaded","width":"100px","type":TYPE_NUMBER},{"text":"Uploaded","width":"80px","type":TYPE_NUMBER},{"text":"Ratio","width":"60px","type":TYPE_NUMBER},{"text":"DL","width":"60px","type":TYPE_NUMBER},{"text":"UL","width":"60px","type":TYPE_NUMBER},{"text":"ETA","width":"60px","type":TYPE_NUMBER},{"text":"Label","width":"60px","type":TYPE_STRING},{"text":"Peers","width":"60px","type":TYPE_NUMBER},{"text":"Seeds","width":"60px","type":TYPE_NUMBER},{"text":"Avail.","width":"60px","type":TYPE_NUMBER},{"text":"#","width":"30px","type":TYPE_NUMBER,"align":ALIGN_LEFT},{"text":"Remaining","width":"90px","type":TYPE_NUMBER}];if($_COOKIE["webui.trt.colwidth"]!=null){_3=$_COOKIE["webui.trt.colwidth"];for(var i=0,l=_3.length;i<l;i++){_4[i].width=_3[i]+"px";}}var ol=$("List");utWebUI.trtTable.format=FormatTL;utWebUI.trtTable.create(ol,_4);utWebUI.trtTable.reverse=utWebUI.trtSortR;var aB=[{"text":"Name","width":"200px","type":TYPE_STRING},{"text":"Size","width":"60px","type":TYPE_NUMBER,"align":ALIGN_RIGHT},{"text":"Done","width":"80px","type":TYPE_NUMBER},{"text":"%","width":"100px","type":TYPE_NUMBER},{"text":"Priority","width":"80px","type":TYPE_NUMBER}];if($_COOKIE["webui.fls.colwidth"]!=null){_3=$_COOKIE["webui.fls.colwidth"];for(var i=0;i<5;i++){if(iv(_3[i])==0){continue;}aB[i].width=_3[i]+"px";}}var fl=$("FileList");utWebUI.flsTable.format=FormatFL;utWebUI.flsTable.create(fl,aB);utWebUI.flsTable.reverse=utWebUI.flsSortR;Update();resizeUI();$("query").onkeydown=function(e){if(!e){e=window.event;}var k=e.keyCode||e.which;if(k==13){Search();}};stimer=window.setInterval("UpdateStatus()",100);Drag.mask=$("dragmask");var ww=getWindowWidth(),wh=getWindowHeight();Drag.init($("stg_h"),$("stg"),0,ww,0,wh,true);Drag.init($("tadd_h"),$("tadd"),0,ww,0,wh,true);Drag.init($("dlgProps-header"),$("dlgProps"),0,ww,0,wh,true);Drag.init($("dlgAbout-header"),$("dlgAbout"),0,ww,0,wh,true);Drag.init($("dlgRss-header"),$("dlgRss"),0,ww,0,wh,true);Drag.init($("dlgLabel-header"),$("dlgLabel"),0,ww,0,wh,true);Drag.init($("dlgDelTor-header"),$("dlgDelTor"),0,ww,0,wh,true);window.setTimeout(ShowUI,1000);var d=$("HDivider");d.onmousedown=function(e){e=FixEvent(e);this.lastX=e.clientX;smm=addEvent(document,"mousemove",function(e){SepMove(e,0);});smu=addEvent(document,"mouseup",function(e){SepUp(e,0);});};d=$("VDivider");d.onmousedown=function(e){e=FixEvent(e);this.lastY=e.clientY;smm=addEvent(document,"mousemove",function(e){SepMove(e,1);});smu=addEvent(document,"mouseup",function(e){SepUp(e,1);});};tdTabs.show("gcont");}
  ...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

Offline

#1229 2008-06-18 07:46:24

Lord Alderaan
Member

Re: WebUI v0.315

@IRainman:
At least read the stickies before posting on a forum.


-= FAQ Guides Manual Help =-
Everything about the Webui!

Offline

#1230 2008-06-18 16:23:44

Mayu
Member

Re: WebUI v0.315

People don't read the stickies, because the main page takes you directly to this thread.
If its important, put it on the first page of this thread.

Offline

#1231 2008-06-18 16:52:08

Ultima
Administrator

Re: WebUI v0.315

Will do.


[size=0.85][ Tweaking Checklist | User Manual | BEE | MiniUI | µTA ][/size]

Offline

#1232 2008-06-21 10:36:10

pirate
Member

Re: WebUI v0.315

Hi Everyone,

I've written a how to use/installation guide for the webui. Please check my site out at, http://www.piratersblog.com. The direct link to the guide is at, http://piratersblog.com/2008/06/utorren … orrenting/. Please comment if there are any questions.


www.piratersblog.com - A Journey to Finding the Hidden Treasures of the Internet.

Offline

#1233 2008-06-21 11:08:26

jewelisheaven
Member

Re: WebUI v0.315

Thanks but.. it's in the readme, and your download link should go to http://utorrent.com/download.php . I'd call this half-hearted marketing for your site, but maybe that's just me.

Offline

#1234 2008-06-23 01:37:35

Lord Alderaan
Member

Re: WebUI v0.315

"Check the "Alternative listening port" check box. For some reason, this is required."

Eh what? This is not required. Not even recommended because then you'd have to forward that port in your router too if you want to access the webui from an internet location.


-= FAQ Guides Manual Help =-
Everything about the Webui!

Offline

#1235 2008-06-28 16:06:59

noVel
Member

Re: WebUI v0.315

Whether probably to add in function interface WebUI:
Pause ALL torrents
Resume ALL torrents

Or commands on execution are possible?

Offline

#1236 2008-06-28 16:16:49

jewelisheaven
Member

Re: WebUI v0.315

hmm Not currently implemented.

Offline

#1237 2008-06-28 16:56:07

noVel
Member

Re: WebUI v0.315

jewelisheaven
Addition of these functions is planned?

Offline

#1238 2008-06-28 17:08:39

jewelisheaven
Member

Re: WebUI v0.315

No idea. New webui should be out... any time now :patience:

Offline

#1239 2008-06-28 17:35:47

noVel
Member

Re: WebUI v0.315

jewelisheaven
We awake to wait for the new version...
Very strongly it would be desirable that function Pause ALL torrents and Resume ALL torrents were present.... Convenient function for fast liberation of speed of a stream for other appointments.

Offline

#1240 2008-07-01 14:23:04

ignas2526
Member

Re: WebUI v0.315

yea i like it, and best of all what i can modifity all content of WebUi hehe (i mean source code)

Last edited by ignas2526 (2008-07-01 14:23:40)

Offline

#1241 2008-07-06 06:29:57

fearphage
Member

Re: WebUI v0.315

bugs.utorrent.com redirected to utbugs.leetwebhosting.com which is down so I will make my bug report here.

Just as I reported in February, the same mistake was made:

.insertRule('cssRule { ... };'

You are attempting to insert invalid css using insertRule. Following the spec, Safari and Opera throw a SYNTAX_ERR exception when the rule has a syntax error or is otherwise unparsable.

This is on line 999 of the prettified stable.js. To find it in the compressed version, just search for

};'

and remove the semicolon.

Here is a fixed version that works in Safari and Opera.

Keep in mind it is 1 character different from the original. In stable.js, the 20,882nd character (a semicolon) is removed.

Again I would like to offer my services in the javascript department. I see a lot of room for improvement and optimization.

Offline

#1242 2008-07-06 11:45:25

Alneven
Member

Re: WebUI v0.315

It is possible to have "Create new torrent" function for the webui?

Offline

#1243 2008-07-06 14:05:53

Firon
Administrator

Re: WebUI v0.315

No, it is not.

fearphage, please read your e-mail.

Offline

#1244 2008-07-16 02:44:54

calvin_il
Member

Re: WebUI v0.315

Thanks! fixed my WebUI! (works on Firefox 3.0 and IE7, btw)

Last edited by calvin_il (2008-07-16 02:49:37)

Offline

#1245 2008-07-28 14:58:51

I_Am
Member

Re: WebUI v0.315

The Web-UI seams to work 100% on the current release of Firefox (3.0.1). Anyone else notice this?. Using Utorrent-WebUI(v0.0315) on Firefox 3.0.1(32-bit)/Vista(64-bit SP1)

Last edited by I_Am (2008-07-28 15:00:54)

Offline

#1246 2008-07-28 15:07:08

thelittlefire
Member

Re: WebUI v0.315


~*Kristy*~ Im Schatten sah ich @}-,-`-. Ein Blümchen stehn, @}-,-`-. Wie Sterne leuchtend @}-,-`-. Wie Äuglein schön.

Offline

#1247 2008-08-10 05:33:34

shrav007
Member

Re: WebUI v0.315

i was using utorrent 1.7.7 and just dled the 1.8 final, can i remove the old webui files that i placed in %AppData& ??

Offline

#1248 2008-08-10 10:40:17

Firon
Administrator

Re: WebUI v0.315

You should remove the old WebUI from %AppData%\uTorrent, yes. µTorrent will auto-download the newest one.

Offline

#1249 2008-08-10 10:42:44

fearphage
Member

Re: WebUI v0.315

Since 0.310 is dead now (long live 0.315), can we start a new thread?

Offline

#1250 2008-08-10 11:14:49

Firon
Administrator

Re: WebUI v0.315

Eh, 0.315 is damn near the same release.

Offline

Board footer

Powered by FluxBB

©2013 BitTorrent, Inc. µTorrent is a trademark of BitTorrent, Inc.