My phpBB3 version of smilies in a scroll box!
Posted: 25 Mar 2010, 14:26
prosilver instructions
open styles/prosilver/templates/posting_editor.html
[spoiler]Find:
replace with:
[/spoiler]
subsilver2 instructions
open styles/subsilver2/templates/posting_body.html
[spoiler]find:
replace with:
[/spoiler]
Save and refresh template for prosilver and subsilver2.
height and border can be adjusted in this part of the new html code.
[hsimg]http://www.djsimg.com/images/93199341_0310_subss.png[/hsimg]
open styles/prosilver/templates/posting_editor.html
[spoiler]Find:
Code: Select all
<strong>{L_SMILIES}</strong><br />
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
<!-- END smiley -->
Code: Select all
<div style="width:100%; height:300px;border: solid 1px gray; overflow:auto;">
<strong>{L_SMILIES}</strong><br />
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
<!-- END smiley -->
</div>
subsilver2 instructions
open styles/subsilver2/templates/posting_body.html
[spoiler]find:
Code: Select all
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
<!-- END smiley -->
Code: Select all
<div style="width:100%; height:300px;border: solid 1px gray; overflow:auto;">
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
<!-- END smiley -->
</div>
Save and refresh template for prosilver and subsilver2.
height and border can be adjusted in this part of the new html code.
Code: Select all
height:290px;border: solid 1px gray;