XFileSharing Free - how this can be done ? small hack

Message
Author
Files-Up
Posts: 17
Joined: Nov 25, 2007 10:30 pm

how this can be done ? small hack

#1 Postby Files-Up » Dec 16, 2007 2:32 am

Hello,

can we add a small code in BB forums to upload without leaving the page ?
iframe or something with Javascript,

look at this

Image
and after uploading u r not redirected or popups ,,etc
Image

i found this mod in vbulletin forums

Code: Select all

<!-- easy share -->
    <center>
<script type="text/javascript"> <!--
e_bgcolor = "#F5F5FF";
e_text = "#000000";
e_type = "605x55";
e_lang = "en";
//--></script>
<script type="text/javascript" src="http://www.easy-share.com/upload.js"></script>
</center>
<br>
<!-- end of easy share -->
and i download the .js file from Easy-Share

it has this which i did not understood

Code: Select all

function S(){
	var b=window;var a=document;var d=a.location;var g=a.referrer;
	if (typeof(b.e_type)=='undefined') { b.e_type='605x55' }
	if (typeof(b.e_lang)=='undefined') { b.e_lang='en' }
	var sizearray=b.e_type.split("x");
	var s='http://w13.easy-share.com/<mode>.html?'+b.e_bgcolor+'-'+b.e_text;
	s=s.replace(/<mode>/,'u'+b.e_type+'_'+b.e_lang);
	if (typeof(b.e_id)!='undefined') { s=s+'-'+b.e_id }
	a.write('<ifr'+'ame src="'+s+'" name="uploadsimple" width="'+sizearray[0]+'" height="'+sizearray[1]+'" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"></iframe>');
}
S();

can someone help ? :roll:

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 19, 2007 9:40 am

Sure it's possible.
It's iframe with small upload_form inside (e.g. look XUpload tiny or tiny2 examples), and upload results page minified too.
Do you need progress bar there inside?
This is not quick hack, sorry.
We can do this without progress bar for you for $50 if you need it done quickly.
Or probably this feature will appear in some next versions(thanks for it!).