how this can be done ? small hack

Free version of Xfilesharing

Moderator: admin

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


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

look at this

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

i found this mod in vbulletin forums

Code: Select all

<!-- easy share -->
<script type="text/javascript"> <!--
e_bgcolor = "#F5F5FF";
e_text = "#000000";
e_type = "605x55";
e_lang = "en";
<script type="text/javascript" src=""></script>
<!-- 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='<mode>.html?'+b.e_bgcolor+'-'+b.e_text;
   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>');

can someone help ? :roll:

User avatar
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab

#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!).

Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests