HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Upload files with a BBcode

    avatar
    • Administrator

        Reputation : 315
        Registered on : 2012-02-22
        Posts : 2317
        School of codes courses: coming soon
      Upload files with a BBcode

      Description


      Upload files with a BBCode without using your private forum-storage space

      Set up


      Well, Go to ACP > Display >Templates > Send & Private messages > posting_body

      Find this code:
      Code:
      <div style="visibility:hidden" class="select" id="servimg_upload_gui"></div>

      and paste this code after the code written above:
      Code:
      <!--- Subject: "BBcode for files" - Copyright 2012 by www.fmcodes.com. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified code. Distribution is not allowed without written consent from FMCodes---!>
      <div style="visibility:hidden" class="select" id="megaupload_upload"><embed src="http://www.megaupload.com/filebox/?t=2&c=1&u=13178909.3b6dda5d12" type="application/x-shockwave-flash" width="350" height="90" wmode="transparent"></div>

      Then, find this code:
      Code:
      <button class="{BUTTON_WYSI_STYLE}" id="text_editor_cmd_switchmode" type="button" style="display: none; "><img src="http://aiuto.forumattivo.com/%7BPATH_IMG_FA%7Di/switch_wysiwyg.gif" alt="{SWITCH_EDITOR_MODE}" title="{SWITCH_EDITOR_MODE}" class="resize_img" style="display:inline"></button> 

      And paste this new code after the one above:
      Code:
      <button class="button2" onclick="selectWysiwyg(this,'megaupload_upload')" onmouseover="document.getElementById('helpbox').innerHTML='Upload files with this BBcode.';" type="button" id="upload_btn" title="Send a new file"><img src="http://www.iconlook.com/icondb/famfamfam_silk/16x16/drive_disk.png" alt="Send a new file" title="Send a new file" class="resize_img" style="display:inline"></button>&nbsp;

      Customize the tutorial


      Can I use another host service different from Megaupload?
      Sure, but you have to use this code and edit "EMBED" with the new code:
      Code:
      <div style="visibility:hidden" class="select" id="megaupload_upload">EMBED</div>

      Demonstration




      Technical problems


      The tutorial was tested on This forum and works with every browsers; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your segnalation.

      Thanks, the staff

      For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...

      Friendly,
      The team of the Forum of Codes.



      Last edited by Niko on Sat May 26, 2012 12:53 pm; edited 2 times in total



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      • Co-Founder

          Reputation : 38
          Registered on : 2012-02-26
          Posts : 284
        Megaupload is closed. :/

        avatar
        • Administrator

            Reputation : 315
            Registered on : 2012-02-22
            Posts : 2317
            School of codes courses: coming soon
          @Mathias wrote:Megaupload is closed. :/
          I know... but you can use the second part (:



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          avatar
          • Veteran staff member

              Reputation : 7
              Registered on : 2012-06-26
              Posts : 108
            MegaUpload is closed by this stinks picture

            so please move to garbage this topic


            YOUR BANNER HERE
            728x90
            DMCA.com Protection Status
            Forumotion.com | © PunBB | Free forum support | Contact | Report an abuse | Forumotion