Back To Top
Login
Register
Visit Us At TwitterVisit Us At YouTubeVisit Us At Facebook
KandiChat is in Beta Release. Try It Out
HomeHome  
  • UpdatesUpdates  
  • SearchSearch  
  • Latest imagesLatest images  
  • RegisterRegister  
  • Log inLog in  
  • March 2024
    MonTueWedThuFriSatSun
        123
    45678910
    11121314151617
    18192021222324
    25262728293031

    Calendar Calendar

    Search
     
     

    Display results as :
     


    Rechercher Advanced Search

    Similar topics
    Who is online?
    In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

    None

    Most users ever online was 140 on July 4th 2021, 2:03 pm
    RSS feeds


    Poll
    Top posting users this week
    No user


    Go to page : 1, 2, 3  Next

    View previous topic View next topic Go down  Message [Page 1 of 3]

    Mr.EasyBB

    Create an Easy Doc & Image Uploader (Updated)

    Mr.EasyBB
    06/01/2013
    Ok guys, so at first this was just a doc file uploader, little did you all know though that this code is also great for EASY IMAGE upload as well. I have updated the tutorial with the additional parts below, as well as additional mimetype information. Hope you all Enjoy


    Step 1: First go to this link, and sign up [You must be registered and logged in to see this link.]
    Make sure you use a valid Email Address incase you need an email verification.

    Step 2:Now login to your account.

    Step 3: Now you will be brought to the Developer Portal. You will need to hover/click the button Applications, a list will appear and you need to click Create New Application.

    Step 4:Pick your Application Name, we named ours EasyBB Photo Uploader. You will be learning the DOC part, not images yet so. Then click next.

    Step 5:Now you can click SKIP, as we will upload a logo and website url later on.

    Step 6:Once you click SKIP you will see a list of buttons, click the I'm a Pro, show me the documentation. As I will help you with the rest of the coding. Once you have clicked I'm a Pro, it will bring you to the Documentation of the program, go to the top and click Developer Portal, and that will have very important information now.

    Step 7:Once you are back in to the Developer Portal, leave this page open and get a new page leading to your ACP.

    Step 8:Now go to ACP>MODULES>JavaScript Management and create a new JavaScript. Name it Doc Uploader, and mark it for IN TOPICS ONLY! Now we will get started with our code.

    Step 9:
    Code:
    $(function() {
    //create a doc ready function
    });

    Step 10:

    Now we will create our script tag and append it to the head

    Code:
    $(function() {
    //CREATING SCRIPT TO MAKE EVERYTHING WORK!
     var script = document.createElement('script');
            script.id="filepicker";
            script.type="text/javascript";
            script.src="//api.filepicker.io/v1/filepicker.js";
            var body=$('body');
            body.append(script);
    });


    Step 11:
    After that we will create our button and append it next to the Send Button

    Code:
    $(function() {
    //CREATING SCRIPT TO MAKE EVERYTHING WORK!
     var script = document.createElement('script');
            script.id="filepicker";
            script.type="text/javascript";
            script.src="//api.filepicker.io/v1/filepicker.js";
            var body=$('body');
            body.append(script);

    //Create the Button-
    $('.frm-buttons').append('<span id="newDoc">Upload File</span>');
    });

    Step 12:

    Now we have to write the last code which will pull everything together!

    Code:
    $(function() {
    //CREATING SCRIPT TO MAKE EVERYTHING WORK!
     var script = document.createElement('script');
            script.id="filepicker";
            script.type="text/javascript";
            script.src="//api.filepicker.io/v1/filepicker.js";
            var body=$('body');
            body.append(script);

    //Create the Button-
    $('.frm-buttons').append('<span id="newDoc">Upload File</span>');

    $('#newDoc').on('click',function() {
      getPick();
    });
    });
    function getPick(){
    var textArea = $('#text_editor_textarea');
    filepicker.setKey('API KEY HERE');
     filepicker.pick({
    mimetypes: ['text/*'],
    services:['COMPUTER'],
    maxSize:50*1024
    },function(FPFile) {
     var docFile = FPFile.url;
     textArea.val(textArea.val()+'[url]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/url]');
    });
    }

    if you are using both images and text here is the code to use the correct BBCode tags

    Code:
    function getPick(){
    var textArea = $('#text_editor_textarea');
    filepicker.setKey('API KEY HERE');
      filepicker.pick({mimetypes: ['text/*','image/*'],
                       services:['COMPUTER','FACEBOOK'],
                       maxSize:50*1024},
    function(FPFile) {
     var docFile = FPFile.url;
     var type= FPFile.mimetype;
    if(/^.*text.*$/.test(type)) {
     textArea.val(textArea.val()+'[url]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/url]');
    } else if(/^.*image.*$/.test(type)) {
     textArea.val(textArea.val()+'[img]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/img]');
    }
    });
    }

    Just make sure to completely overwrite the other getPick() function with the new getPick() function. Ok.

    What we have done now, is made the entire filepicker code into a function, and added an event Listener to the button. So now everything is in working order Smile Thank you for the updates on the code guys.

    SERVICES

    • BOX
    • COMPUTER
    • DROPBOX
    • EVERNOTE
    • FACEBOOK
    • FLICKR
    • FTP:No one has a FTP account I'm sure
    • GITHUB
    • GOOGLE_DRIVE
    • SKYDRIVE
    • PICASA
    • WEBDAV
    • Pick only:
    • GMAIL
    • IMAGE_SEARCH
    • INSTAGRAM
    • URL
    • VIDEO
    • WEBCAM


    For this tutorial I will explain the Services for docs.

    We are doing doc files so we only need a few of these services. So I would recommend doing this-

    services:['COMPUTER','GOOGLE_DRIVE','DROPBOX'];


    MIMETYPES

    [hc=Full list of MimeTypes]
     [/tr][tr]
    File NameMimeTypeExtension
    AutoCAD DXF image/vnd.dxf .dxf
    Bitmap Image File image/bmp .bmp
    BTIF image/prs.btif .btif
    Close Captioning - Subtitle image/vnd.dvb.subtitle .sub
    CMU Image image/x-cmu-raster .ras
    Computer Graphics Metafile image/cgm .cgm
    Corel Metafile Exchange (CMX) image/x-cmx .cmx
    DECE Graphic image/vnd.dece.graphic .uvi
    DjVu image/vnd.djvu .djvu
    DWG Drawing image/vnd.dwg .dwg
    EDMICS 2000 image/vnd.fujixerox.edmics-mmr .mmr
    EDMICS 2000 image/vnd.fujixerox.edmics-rlc .rlc
    eXtended Image File Format (XIFF) image/vnd.xiff .xif
    FAST Search & Transfer ASA image/vnd.fst .fst
    FastBid Sheet image/vnd.fastbidsheet .fbs
    FlashPix image/vnd.fpx .fpx
    FlashPiximage/vnd.net-fpx .npx
    FreeHand MX image/x-freehand .fh
    G3 Fax Image image/g3fax .g3
    Graphics Interchange Format image/gif .gif
    Icon Image image/x-icon .ico
    Image Exchange Format image/ief .ief
    JPEG Image image/jpeg .jpeg, .jpg
    Microsoft Document Imaging Format image/vnd.ms-modi .mdi
    OpenGL Textures (KTX) image/ktx .ktx
    PCX Image image/x-pcx .pcx
    Photoshop Documentimage/vnd.adobe.photoshop.psd
    PICT Imageimage/x-pict.pic
    Portable Anymap Image image/x-portable-anymap .pnm
    Portable Bitmap Format image/x-portable-bitmap .pbm
    Portable Graymap Format image/x-portable-graymap .pgm
    Portable Network Graphics (PNG) image/png .png
    Portable Pixmap Format image/x-portable-pixmap .ppm
    Scalable Vector Graphics (SVG) image/svg+xml .svg
    Silicon Graphics RGB Bitmap image/x-rgb .rgb
    Tagged Image File Format image/tiff .tiff
    WAP Bitamp (WBMP) image/vnd.wap.wbmp .wbmp
    WebP Image image/webp .webp
    X BitMap image/x-xbitmap .xbm
    X PixMap image/x-xpixmap .xpm
    X Window Dump image/x-xwindowdump .xwd
    Assembler Source File text/x-asm .s
    BAS Partitur Format text/plain-bas .par
    C Source File text/x-c .c
    Cascading Style Sheets (CSS) text/css .css
    Comma-Seperated Values text/csv .csv
    Curl - Applet text/vnd.curl .curl
    Curl - Detached Applet text/vnd.curl.dcurl .dcurl
    Curl - Manifest File text/vnd.curl.mcurl .mcurl
    Curl - Source Code text/vnd.curl.scurl .scurl
    FLEXSTOR text/vnd.fmi.flexstor .flx
    Fortran Source File text/x-fortran .f
    Graphviz text/vnd.graphviz .gv
    HyperText Markup Language (HTML)text/html.html
    iCalendartext/calendar.ics
    In3D - 3DMLtext/vnd.in3d.3dml.3dml
    In3D - 3DMLtext/vnd.in3d.spot .spot
    J2ME App Descriptortext/vnd.sun.j2me.app-descriptor.jad
    Java Source Filetext/x-java-source.java.java
    mod_fly / fly.cgi text/vnd.fly .fly
    Notation3 text/n3 .n3
    Pascal Source File text/x-pascal .p
    PRS Lines Tag text/prs.lines.tag .dsc
    Rich Text Format (RTF) text/richtext .rtx
    Setext text/x-setext .etx
    Standard Generalized Markup Language (SGML) text/sgml .sgml
    Tab Seperated Valuestext/tab-separated-values .tsv
    Text File text/plain .txt
    troff text/troff .t
    Turtle (Terse RDF Triple Language) text/turtle .ttl
    URI Resolution Services text/uri-list .uri
    UUEncode text/x-uuencode .uu
    vCalendar text/x-vcalendar .vcs
    vCard text/x-vcard .vcf
    Wireless Markup Language (WML) text/vnd.wap.wml .wml
    Wireless Markup Language Script (WMLScript) text/vnd.wap.wmlscript .wmls
    AutoCAD DXF image/vnd.dxf .dxf
    Bitmap Image File image/bmp .bmp
    BTIF image/prs.btif .btif
    Close Captioning - Subtitle image/vnd.dvb.subtitle .sub
    CMU Image image/x-cmu-raster .ras
    Computer Graphics Metafile image/cgm .cgm
    Corel Metafile Exchange (CMX) image/x-cmx .cmx
    DECE Graphic image/vnd.dece.graphic .uvi
    DjVu image/vnd.djvu .djvu
    DWG Drawing image/vnd.dwg .dwg
    EDMICS 2000 image/vnd.fujixerox.edmics-mmr .mmr
    EDMICS 2000 image/vnd.fujixerox.edmics-rlc .rlc
    eXtended Image File Format (XIFF) image/vnd.xiff .xif
    FAST Search & Transfer ASA image/vnd.fst .fst
    FastBid Sheet image/vnd.fastbidsheet .fbs
    FlashPix image/vnd.fpx .fpx
    FlashPix image/vnd.net-fpx .npx
    FreeHand MX image/x-freehand .fh
    G3 Fax Image image/g3fax .g3
    Graphics Interchange Format image/gif .gif
    Icon Image image/x-icon .ico
    Image Exchange Format image/ief .ief
    JPEG Image image/jpeg .jpeg, .jpg
    Microsoft Document Imaging Format image/vnd.ms-modi .mdi
    OpenGL Textures (KTX) image/ktx .ktx
    PCX Image image/x-pcx .pcx
    Photoshop Document image/vnd.adobe.photoshop .psd
    PICT Image image/x-pict .pic
    Portable Anymap Image image/x-portable-anymap .pnm
    Portable Bitmap Format image/x-portable-bitmap .pbm
    Portable Graymap Format image/x-portable-graymap .pgm
    Portable Network Graphics (PNG) image/png .png
    Portable Pixmap Format image/x-portable-pixmap .ppm
    Scalable Vector Graphics (SVG) image/svg+xml .svg
    Silicon Graphics RGB Bitmap image/x-rgb .rgb
    Tagged Image File Format image/tiff .tiff
    WAP Bitamp (WBMP) image/vnd.wap.wbmp .wbmp
    WebP Image image/webp .webp
    X BitMap image/x-xbitmap .xbm
    X PixMap image/x-xpixmap .xpm
    X Window Dump image/x-xwindowdump .xwd
    [/hc]



    mimetypes:['text/*'],: Means allow ALL text format docs
    mimetypes:['text/plain'],:Means allow only Plain Text format docs
    mimetypes:['application/msword'],:Means allow Microsoft Word format docs
    mimetypes:['text/html'],:Allows HTML docs
    mimetypes:['image/*'],: Allows ALL image types

    We can combine these arrays as well like this

    mimetypes:['application/msword','text/plain']

    I would recommend just using the First mimetype which I already provide.


    That is it for me, I will be updating this thread with more useful information. 



    [hc=onSuccess Functions]

    To create an onSuccess add this after the services, we will also have to add another code to the script.

    Code:
    onSuccess: function(fpfiles) {
            var succText= "Congratulations! Your File Has Been Uploaded";
            func.html(errText);
           func.css('color',"#FF0000"); 
        },

    There is a lot of different things you can do. I will be adding more cool onSuccess functions as I go
    [/hc]

    [hc=onError Functions]
    For the onError add this right after the onSuccess if you are using it or after the services.

    Code:
    onError: function(fpfiles) {
           var errText= "There seems to be a problem with the file you have tried uploading.Please Try again";
           func.html(errText);
           func.css('color',"#FF0000"); 
        },

    There is a lot of different things you can do. I will be adding more cool onError functions as I go
    [/hc]

    [hc=Addition Code]
    Code:

    buttonsArea.append('<br /><span id="fp_text"></div>');
    var func= $('#fp_text');
    [/hc]

    [hc=Replacing ServImg altogether]
    Code:
    $(function() {
            var editor= $('#wservimg') || $('#servimg'),
          wserv= $('#wservimg'),
           serv= $('#servimg');
            if(editor){
            var script = document.createElement('script');
            script.id="filepicker";
            script.type="text/javascript";
            script.src="//api.filepicker.io/v1/filepicker.js";
            var body=$('body');
            body.append(script);




    if(serv){
            serv.attr('id',"newDoc");
            serv.children('img').attr('title','New Image Uploader');
            serv.removeAttr('onclick');
            serv.attr('onmouseover','helpline("Upload or Edit an Image")');
      $(serv).on('click', function(){
         getPick();
      });
    } else if(wserv){
            wserv.attr('id',"newDoc");
            wserv.children('img').attr('title','New Image Uploader');
            wserv.removeAttr('onclick');
            wserv.attr('onmouseover','helpline("Upload or Edit an Image")');
            $(wserv).on('click', function(){
         getPick();
      });
    }
            }
            });
       function getPick(){
      var textArea = $('#text_editor_textarea');
            filepicker.setKey('Az2CCtVMaSWq6NkupVaNsz');
             filepicker.pick({
            mimetypes: ['text/*','image/*']
            },function(FPFile) {
             var docFile = FPFile.url;
             var type= FPFile.mimetype;
            if(/^.*text.*$/.test(type)) {
             textArea.val(textArea.val()+'[url]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/url]');
            } else if(/^.*image.*$/.test(type)) {
             textArea.val(textArea.val()+'[img]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/img]');
            }
            });
            }
    [/hc]

    Updated the Codes, moved the function getPick outside of the doc ready function!

    Updated the Codes, fixed cross browser defect. Different IDs were appearing for FireFox and IE compared to Chrome

    IE7 IE8 IE9 IE10 all supported as well as Chrome, FireFox, Opera, and other browsers as well. Entire code changed to jQuery
    Share this post on: reddit

    Puppycheese889
    Liked
    can you make this so it will be able to upload pictures to or is this not possible?

    Post June 1st 2013, 6:35 pm by Puppycheese889

    Mr.EasyBB
    It is as that is what we use. For right now I believe you all should focus on this, since the way I do it is using two different APIs and combine their usage. Which is still a little more advanced, so please try this out first.

    Post June 1st 2013, 6:49 pm by Mr.EasyBB

    Puppycheese889
    Ok I will give it a try I am having trouble I put this code 
    Code:
    $(function() {//CREATING SCRIPT TO MAKE EVERYTHING WORK!var script = document.createElement('script');script.id="filepicker";script.type="text/javascript";script.src="//api.filepicker.io/v1/filepicker.js";var head =document.querySelectorAll("body, head")[0]; ;head.appendChild(script);
    //Create the Button-var ButtonsArea = document.querySelectorAll('.frm-buttons')[0];var textArea = document.getElementById('text_editor_textarea');var button = document.createElement('span');var divText=document.createTextNode("Upload File");button.id="newDoc";button.appendChild(divText);ButtonsArea.appendChild(button);
    //CREATE THE MAGIC!filepicker.setKey('where I put my key'); //this is where we add our API KEY which is at the Dev Portal $("#newDoc").on('click',function(){ //the click function of our button we will create! filepicker.pick({mimetypes: ['text/*'],//please read in the options of MIMETYPES below!services:['COMPUTER','GOOGLE_DRIVE','DROPBOX'],maxSize:50*1024,},function(FPFile) { var docFile = FPFile.url; //focus on the file origin of FilePicker Files textArea.value=textArea.value+'[url]'+FPFile.url+'+'+FPFile.filename+'[/url]';});});});

    and I am getting this error in console [You must be registered and logged in to see this image.]

    please help!

    Post June 1st 2013, 7:09 pm by Puppycheese889

    Mr.EasyBB
    ok give me one moment please

    Post June 1st 2013, 7:16 pm by Mr.EasyBB

    Puppycheese889
    ok!

    Post June 1st 2013, 7:21 pm by Puppycheese889

    Rukiafan
    This is my problem....

    [You must be registered and logged in to see this image.]

    Post June 1st 2013, 7:43 pm by Rukiafan

    Mr.EasyBB
    Yes I know I am fixing the code right now everyone. I am also making it better without any jQuery besides the core of the FilePicker

    Post June 1st 2013, 8:04 pm by Mr.EasyBB

    Rukiafan
    Thanks! Very Happy

    Post June 1st 2013, 8:18 pm by Rukiafan

    Mr.EasyBB
    The above has been fixed, please reread the entire tutorial as some things have changed.

    Post June 1st 2013, 8:19 pm by Mr.EasyBB

    Mr.EasyBB
    After more testing I've added another line as to remove spaces in the FPFile.filename so that the urls don't parse funny. Everything works even the link will bring you to your text file Very Happy

    Post June 1st 2013, 8:25 pm by Mr.EasyBB

    Rukiafan
    Getting a Uncaught SyntaxError: Unexpected token ; error now. Sad

    Post June 1st 2013, 8:27 pm by Rukiafan

    Puppycheese889
    it works now! I would love this to be able to work with picture uploads too but I am very happy that this works!

    Post June 1st 2013, 9:07 pm by Puppycheese889

    Mr.EasyBB
    Meaning you wrote something wrong in the code yourself Rukia as I gave you the same code I used on my test site, or your syntax error is from somewhere else. @Puppycheese I will work on something for you ok, just can't promise anything anytime soon ok. Maybe a week minimum ok

    Post June 1st 2013, 10:17 pm by Mr.EasyBB

    Puppycheese889
    Ok I really appreciate your help Mr.Easybb

    Post June 2nd 2013, 12:57 am by Puppycheese889

    Mr.EasyBB
    The tutorial has been updated to allow images as well. It is up to you to decide

    Post June 3rd 2013, 12:24 am by Mr.EasyBB

    Puppycheese889
    Would it be possible to add an if function to make it so when you upload a picture it makes the img tags instead of url tags?

    Post June 3rd 2013, 4:35 am by Puppycheese889

    Mr.EasyBB
    oh yes of course my bad. I will add this for you my friend. Totally forgot about that.

    Post June 3rd 2013, 4:42 pm by Mr.EasyBB

    Daemon
    Muito bom'

    Post June 3rd 2013, 9:23 pm by Daemon

    Mr.EasyBB
    Sorry Daemon not sure what you said, only languages I know are English, and very little French

    Post June 3rd 2013, 9:26 pm by Mr.EasyBB

    Mr.EasyBB
    @PuppyCheese there is now a code in the tutorial to allow for the correct corresponding BBcodes

    Post June 3rd 2013, 9:51 pm by Mr.EasyBB

    Puppycheese889
    Thanks Mr.easyBB 
    what did I do wrong here? 

    Code:
    $(function() {//CREATING SCRIPT TO MAKE EVERYTHING WORK!var script = document.createElement('script');script.id="filepicker";script.type="text/javascript";script.src="//api.filepicker.io/v1/filepicker.js";var body=document.querySelectorAll("body")[0]; ;body.appendChild(script);
    //Create the Button-var ButtonsArea = document.querySelectorAll('.frm-buttons')[0];var textArea = document.getElementById('text_editor_textarea');var button = document.createElement('span');var divText=document.createTextNode("Upload File");button.id="newDoc";button.addEventListener('click', getPick, false);button.appendChild(divText);ButtonsArea.appendChild(button);
    function getPick(){filepicker.setKey('AJvmKUvCHRdOJVGEf4JSuz');  filepicker.pick({mimetypes: ['application/msword','text/*','image/*'],                   services:['COMPUTER','GOOGLE_DRIVE','DROPBOX','FACEBOOK','PICASA','FLICKR','WEBCAM','URL','INSTAGRAM','IMAGE_SEARCH'],onSuccess: function(fpfiles) {        var succText= document.createTextNode("Congratulations! Your File Has Been Uploaded");       func.appendChild(succText);       func.style.color="#00FF00";     },onError: function(fpfiles) {       var errText= document.createTextNode("There seems to be a problem with the file you have tried uploading.Please Try again");       func.appendChild(errText);       func.style.color="#FF0000";     },                   maxSize:50*1024},function(FPFile) { var docFile = FPFile.url; var type= FPFile.mimetype;if(/^.*text.*$/.test(type)) { textArea.value=textArea.value+'[url]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/url]';} else if(/^.*image.*$/.test(type)) { textArea.value=textArea.value+'[img]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/img]';}});}var fpText = document.createElement("div");fpText.id="fp_text";buttonsArea.appendChild("<br />"+fpText);var func= document.getElementById('fp_text');

    Post June 3rd 2013, 11:21 pm by Puppycheese889

    Puppycheese889
    I forgot the on success and error functions but I added them and it's still not working sorry about the double post it wasn't letting me update my code. 
    Code:
    $(function() {//CREATING SCRIPT TO MAKE EVERYTHING WORK!var script = document.createElement('script');script.id="filepicker";script.type="text/javascript";script.src="//api.filepicker.io/v1/filepicker.js";var body=document.querySelectorAll("body")[0]; ;body.appendChild(script);
    //Create the Button-var ButtonsArea = document.querySelectorAll('.frm-buttons')[0];var textArea = document.getElementById('text_editor_textarea');var button = document.createElement('span');var divText=document.createTextNode("Upload File");button.id="newDoc";button.addEventListener('click', getPick, false);button.appendChild(divText);ButtonsArea.appendChild(button);
    function getPick(){filepicker.setKey('AJvmKUvCHRdOJVGEf4JSuz');  filepicker.pick({mimetypes: ['application/msword','text/*','image/*'],                   services:['COMPUTER','GOOGLE_DRIVE','DROPBOX','FACEBOOK','PICASA','FLICKR','WEBCAM','URL','INSTAGRAM','IMAGE_SEARCH'],onSuccess: function(fpfiles) {        var succText= document.createTextNode("Congratulations! Your File Has Been Uploaded");       func.appendChild(succText);       func.style.color="#00FF00";     },onError: function(fpfiles) {       var errText= document.createTextNode("There seems to be a problem with the file you have tried uploading.Please Try again");       func.appendChild(errText);       func.style.color="#FF0000";     },                   maxSize:50*1024},function(FPFile) { var docFile = FPFile.url; var type= FPFile.mimetype;if(/^.*text.*$/.test(type)) { textArea.value=textArea.value+'[url]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/url]';} else if(/^.*image.*$/.test(type)) { textArea.value=textArea.value+'[img]'+FPFile.url+'+'+FPFile.filename.replace(/\s/g,"")+'[/img]';}});}var fpText = document.createElement("div");fpText.id="fp_text";buttonsArea.appendChild("<br />"+fpText);var func= document.getElementById('fp_text');

    Here is an error it is giving me

    [You must be registered and logged in to see this image.]

    Post June 3rd 2013, 11:27 pm by Puppycheese889

    Mr.EasyBB
    Try changing onError: function(fpfiles) to onError: function(FPError) then let me know ok. Also try readding the first part of the script, I had two (Wink characters in the code. Just realized it and fixed it

    here is how your code should look

    [You must be registered and logged in to see this link.]

    Post June 4th 2013, 5:07 pm by Mr.EasyBB

    Puppycheese889
    it seems to be working! The only problem is it says the following errors and the toolbar isn't loading on the page. 

    [You must be registered and logged in to see this image.]

    Post June 4th 2013, 7:41 pm by Puppycheese889

    Post  by Sponsored content

    View previous topic View next topic Back to top  Message [Page 1 of 3]

    Go to page : 1, 2, 3  Next