Page 1 of 1

Quikly Upload

Posted: 12 Dec 2011, 22:10
by slash
This simple mod Inserts 3 drop-down menu, with instant redirects on a new browser tab, on the main hosting images, videos and file hostings sites.

Image

open:

styles/prosilver/template/posting_editor.html

find:

Code: Select all

   <div id="message-box">       <textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>    </div>
ad after:

Code: Select all

<!-- QUICKLY UPLOAD by Slash www.wiizard.it-->
   <div id="format-buttons">
   <!--quick image-->
    <img style="vertical-align: middle;" src="{T_THEME_PATH}/images/image-upload.png"/>
    <select 
    onChange="if(this.selectedIndex!=0)
    window.open(this.value)">
    <option value="" selected>Upload Images:
    <option value="http://tinypic.com/">tinypic</option>
    <option value="http://imageshack.us/">imageshack</option>
    <option value="http://www.postimage.org/">postimage</option>
    <option value="http://host.presenze.com/">host presenze</option>
    </select>
    
   <!--quick image-->
   
   <!--quick video-->
    <img style="vertical-align: middle; padding-left: 10px;" src="{T_THEME_PATH}/images/video-upload.png"/>
    
    <select 
    onChange="if(this.selectedIndex!=0)
    window.open(this.value)">
    <option value="" selected>Upload Video:
    <option value="http://www.youtube.com/">youtube</option>
    <option value="http://vimeo.com/">vimeo</option>
    <option value="http://www.veoh.com/">veoh</option>
    <option value="http://blip.tv/">blip</option>
    </select>
    
   <!--quick video-->
   
   <!--quick file-->
    <img style="vertical-align: middle; padding-left: 10px;" src="{T_THEME_PATH}/images/files-upload.png"/>
    
    <select 
    onChange="if(this.selectedIndex!=0)
    window.open(this.value)">
    <option value="" selected>Upload Files:
    <option value="http://www.megaupload.com/">megaupload</option>
    <option value="http://www.mediafire.com/">mediafire</option>
    <option value="http://rapidshare.com/">rapidshare</option>
    <option value="http://www.4shared.com/">4shared</option>
    </select>
   <!--quick file-->
   </div>
   <!-- QUICKLY UPLOAD by Slash www.wiizard.it-->
download and upload on prosilver/theme/images this 3 images:
Quikly upload images.rar
(10.76 KiB) Downloaded 166 times

Quikly Upload

Posted: 12 Dec 2011, 22:11
by Terr0r
Have you a live demo ?

Greets Terr0r

Quikly Upload

Posted: 12 Dec 2011, 23:11
by slash
Go here: http://www.bbcodeitalia.com/demo/, choose prosilver style and go on a fullrepley editor

Quikly Upload

Posted: 13 Dec 2011, 06:06
by Solidjeuh
Very nice! Thank you!

Quikly Upload

Posted: 13 Dec 2011, 09:57
by Blackwolf
Thanks! Cool addon!

Quikly Upload

Posted: 13 Dec 2011, 13:41
by Arnevb
Thanks!