RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
how this can be done ? small hack

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free
View previous topic :: View next topic  
Author Message
Files-Up



Joined: 25 Nov 2007
Posts: 17

PostPosted: Dec 16, 2007 2:32 am    Post subject: how this can be done ? small hack Reply with quote

Hello,

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:
<!-- 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:

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 ? Rolling Eyes
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 19, 2007 9:40 am    Post subject: Reply with quote

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!).
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free All times are GMT
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

Powered by phpBB © 2001, 2005 phpBB Group