Smile-BOX without loading content when it's closed
Adds tabs with your smilies that are not loaded in the hidden state.
http://uploads.ru/i/X/5/S/X5Sif.png

Author: Deff
Platform: MyBB

1.
To the begining HTML верх (Admin > Options: 1st form) :

<script> //SCRIPT OF LOADING Smilies Prt1//
//Here in quotes Link to the uploaded content file//
var  Link='Here is your link to the uploaded file';
function getXmlHttp(){var xmlhttp;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){xmlhttp=false}}if(!xmlhttp&&typeof XMLHttpRequest!='undefined'){xmlhttp=new XMLHttpRequest()}return xmlhttp}
var SmileHTml='';function tstSmileLoad_2(){if(SmileHTml!=''&&!($("#Smile_smil_box").length)){
var Lft='</';$("#html-footer").prepend('<script>document.write(SmileHTml)'+Lft+'script>')}};
var xmlhttp=getXmlHttp();
function SmileLoad_0(){
xmlhttp.open('GET',Link,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){SmileHTml='<div id="Smile_smil_box"></div>'+xmlhttp.responseText;if($("#html-footer").length){$("#html-footer").prepend(SmileHTml)}}}};xmlhttp.send(null);}
if($("#pun-messages").length||$("#pun-viewtopic").length||$("#pun-post").length||$("#pun-edit").length||$("#pun-poll").length){SmileLoad_0()}
</script>

2.
To the begining HTML низ (Admin > Options: 2nd form) :

Code:
<!-- //SCRIPT OF LOADING Smilies Prt2 / -->
<script>tstSmileLoad_2()</script>

3.

We save this file to the desktop, unpack it and re-load it into the Admin > Files.
The link (click on the file name in the admin panel) is read in the address bar of the browser and paste instead of red text in the part of the script, that going to HTML top.


EXPLANATIONS
or how to add smilies

a) You save the reloaded file from the admin area to the desktop (click on the file name in the Admin panel, on the opened tab press in the browser: File - save as - on the Desktop.)

Open it in Notepad (another editor changes the output file format) and delete - replace the desired smiley block with your block (or add a new one).
Links to emoticons are written through a comma (the insertion is reduced to the insertion of a block of links separated by a comma without a space)

Block type of your content when editing smiles:

<!--Начало Контента-->
<div id="Mybb" class="smile_Cnt" style="display: block" alt="0">
</div>

<textarea id="load_cont" style="display:none">
<div id="AddMybb" class="smile_Cnt">
<i class="additive">http://uploads.ru/i</i>
/4/P/k/4Pkja.gif,/a/Z/R/aZRew.gif,/A/O/i/AOiCY.gif,/y/W/D/yWD7S.gif,/U/I/E/UIEOJ.gif,/6/I/8/6I8fa.gif,/2/U/s/2Used.gif,/9/6/s/96sBN.gif,/T/u/h/Tuh6l.gif
</div>

<div class="smile_Cnt">
<i class="additive">http://uploads.ru/i</i>
/W/J/x/WJx8h.gif,/V/b/0/Vb0QS.gif,/i/0/4/i04vB.gif,/N/Z/4/NZ4oA.gif,/P/j/R/PjRGA.gif,/5/l/a/5lavD.gif,/k/J/r/kJrho.gif,/t/z/i/tziVx.gif,/p/9/j/p9jcQ.gif,/U/s/Y/UsYWe.gif,/j/G/W/jGWAD.gif,/D/E/Z/DEZF4.gif,/x/o/0/xo0Ff.gif,/O/W/P/OWPtF.gif,/k/x/D/kxDJl.gif,/u/D/F/uDFz3.gif,/O/f/X/OfXMh.gif,/G/t/d/Gtdvo.gif,/7/H/i/7HiWp.gif,/r/n/h/rnhWk.gif,/1/C/p/1Cpd2.gif,/Z/p/t/ZptIR.gif,/P/3/M/P3Mn7.gif,/d/Z/N/dZNV8.gif,/f/5/4/f54jz.gif,/p/g/f/pgfh9.gif,/p/r/l/prlF5.gif,/O/B/A/OBAPq.gif,/r/j/D/rjDHM.gif,/7/5/i/75ix4.gif,/P/W/y/PWyhF.gif,/a/w/g/awgMp.gif,/d/B/8/dB8D4.gif,/F/P/8/FP8Og.gif,/2/h/q/2hq6z.gif,/J/g/p/JgpNs.gif,/t/Q/C/tQCZU.gif,/n/i/d/nidlM.gif,/C/e/M/CeMBc.gif,/F/2/d/F2d6D.gif,/g/v/F/gvFkH.gif,/w/u/T/wuTR2.gif,/Q/A/X/QAXWI.gif,/Q/3/B/Q3BO2.gif,/U/V/X/UVX2Y.gif,/g/F/3/gF3jv.gif,/s/B/0/sB0Ji.gif,/x/B/J/xBJru.gif,/j/2/H/j2Hie.gif,/j/d/T/jdTCm.gif,/L/8/7/L87Iz.gif,/d/c/p/dcpXU.gif,/z/H/K/zHKmv.gif,/J/t/A/JtAKx.gif
</div>

<div class="smile_Cnt">
<i class="additive">http://uploads.ru/i</i>
/R/S/U/RSUkn.gif,/S/W/x/SWxQr.gif,/M/J/F/MJF0q.gif,/K/x/N/KxNIp.gif,/4/l/g/4lgIf.gif,/j/Y/8/jY8pW.gif,/I/m/a/Ima2K.gif,/e/k/i/ekis1.gif,/m/O/r/mOr3Q.gif,/3/a/e/3aeQi.gif,/J/G/N/JGNrC.gif,/D/w/S/DwS2q.gif,/t/z/X/tzX8q.gif,/N/A/C/NACqe.gif,/9/T/m/9TmOi.gif,/N/d/U/NdUSK.gif,/r/6/5/r65lO.gif,/V/Z/i/VZids.gif,/8/S/p/8SpWU.gif,/q/C/8/qC837.gif,/g/s/Z/gsZ2t.gif,/o/3/a/o3aIY.gif,/Z/D/H/ZDHz4.gif,/C/3/K/C3KxT.gif
</div>

<div class="smile_Cnt">
<i class="additive">http://uploads.ru/i</i>
/b/G/g/bGgZA.gif,/z/H/x/zHxGp.gif,/C/E/c/CEcF2.gif,/v/7/9/v79tH.gif,/6/N/q/6Nqoa.gif,/9/y/t/9ytql.gif,/J/l/r/JlrIP.gif,/y/h/V/yhVRE.gif,/k/B/Z/kBZEp.gif,/u/F/X/uFXMW.gif,/3/T/g/3TgDi.gif,/6/q/9/6q9YQ.gif,/W/A/8/WA8e0.gif,/f/t/4/ft4SM.gif,/g/i/H/giHdk.gif,/c/p/E/cpEju.gif,/o/U/e/oUeMD.gif,/i/c/g/icgLa.gif,/q/l/M/qlM9b.gif,/v/x/S/vxSjO.gif,/J/F/G/JFGnr.gif,/9/i/A/9iAHB.gif,/f/j/V/fjVbN.gif,/Q/s/c/QschM.gif,/Q/D/x/QDx28.gif,/m/H/T/mHTZO.gif,/5/b/P/5bPG0.gif,/n/6/8/n68c0.gif,/w/8/u/w8uoS.gif,/k/1/M/k1Mtc.gif,/F/5/o/F5oD0.gif,/8/e/U/8eUdo.gif,/x/B/u/xBul6.gif,/z/J/G/zJGdS.gif
</div>

<div class="smile_Cnt">
<i class="additive">http://uploads.ru/i</i>
/d/5/A/d5At2.gif,/1/j/T/1jTql.gif,/p/m/A/pmAIf.gif,/U/6/f/U6fhF.gif,/G/Y/p/GYpWm.gif,/N/s/5/Ns5TU.gif,/i/c/T/icTNW.gif,/f/P/u/fPu3r.gif,/H/s/R/HsRNk.gif,/4/D/u/4Du6Q.gif,/e/p/h/ephrl.gif,/l/7/v/l7v6G.gif,/N/v/b/NvbLZ.gif,/A/2/L/A2LJH.gif,/v/t/O/vtOG9.gif,/w/c/J/wcJk8.gif,/s/o/O/soOYD.gif,/5/Y/g/5YgBI.gif,/4/2/D/42DZA.gif,/A/o/n/Aonze.gif,/d/v/p/dvp3D.gif,/5/Y/z/5YzM4.gif,/n/B/O/nBOdm.gif,/R/k/t/Rktd2.gif,/5/V/7/5V7Xr.gif,/0/X/P/0XP2e.gif,/A/v/6/Av6eS.gif,/D/E/3/DE38y.gif,/F/n/a/FnaYs.gif,/Q/l/k/QlkMZ.gif,/N/w/P/NwPbf.gif,/L/t/Y/LtY12.gif,
</div>

<!--Конец Контента -->


Adding a new block

To add a new block, just insert a new block:

<div class="smile_Cnt">
</div>

In any place indicated in the screenshot below (the block number depends on the place of your insertion)

http://uploads.ru/i/p/o/a/poaN6.png

Inside it, and insert links that go through a comma (the last link in the block without a comma!)

Green - block adding their additional smiles to the first block of smiles from the service.
You can either delete or modify the block, using the same rules as for the other blocks.
--------------------------

If all links have a common part, it is advantageous to separate it, reducing all links (by deleting this common, detachable part from all the links in this block),
the detachable part is inserted at the beginning of the block before all the references in the tags:

<i class="additive">http://uploads.ru/i</i>

Black-bold - the general beginning of this link unit.
The remaining links followed by a comma are followed without a space (the last link in the block without a comma!)


b) Uploading images for smiles by clicking on the button http://uploads.ru/i/Z/B/m/ZBmuc.png allows you to reduce the amount of content uploading by half (because the general part is easily allocated)

Before a new upload of the modified file in the Admin panel, you need to replace in the name one any number (so that it is activated without clearing the cache (otherwise, despite changing the file, until the cache is obsolete, the old version of the smilebox will be shown)