smilies code for quick reply in reply
2 posters
Page 1 of 1
smilies code for quick reply in reply
I'm trying to manipulate the coding that is in the regular reply so that there is not that ugly smiley iframe on the right. So what I'm doing is implementating the quick reply into the reply section.
what I have so far is
and that is the function to label it in the reply.
now the div that should pop up is
just trying to figure out what should go inbetween the div where the question marks are does anyone know?
NEVER MIND!
How to do this-
go to ACP>TEMPLATES>POST AND PRIVATE MESSAGES>POSTING_BODY
add this code in the bbcode section
then find this section:
replace with this code
thats all you need lol didn't think it was an empty div, but the js file actually fills it with the bbcode smilies. Hope this helps anyone like myself!
what I have so far is
- Code:
<button class="button2" onclick="selectWysiwyg(this, 'sel_smilies')" onmouseover="helpline('smilies')" type="button" title="Smilies"><img alt="" src="http://2img.net/i/fa/i/smiles/icon_smile.gif"/></button>
and that is the function to label it in the reply.
now the div that should pop up is
- Code:
<div id="sel_smilies" class="select" collapsed="true" increment="10" pageincrement="225" maxpos="0" curpos="0" style="visibility: visible; max-height: 200px; max-width: 250px; width: 250px; padding: 0px 1em; overflow: auto; left: 675px; top: 1185px;">??????</div
just trying to figure out what should go inbetween the div where the question marks are does anyone know?
NEVER MIND!
How to do this-
go to ACP>TEMPLATES>POST AND PRIVATE MESSAGES>POSTING_BODY
add this code in the bbcode section
- Code:
<button class="button2" onclick="selectWysiwyg(this, 'sel_smilies')" onmouseover="helpline('smilies')" type="button" title="Smilies"><img alt="" src="http://2img.net/i/fa/i/smiles/icon_smile.gif"/></button>
then find this section:
- Code:
<div id="smiley-box">
{L_SMILIES_PREVIEW_NEW}
</div>
replace with this code
- Code:
<div id="sel_smilies" class="select" collapsed="true" increment="10" pageincrement="225" maxpos="0" curpos="0" style="visibility: hidden; max-height: 200px; max-width: 250px; width: 250px; padding: 0px 1em; overflow: auto; left: 675px; top: 1185px;"></div>
thats all you need lol didn't think it was an empty div, but the js file actually fills it with the bbcode smilies. Hope this helps anyone like myself!
Last edited by nextlevelgaming on October 3rd 2012, 4:43 pm; edited 1 time in total (Reason for editing : Figured it out myself)
Re: smilies code for quick reply in reply
Thank you for sharing the solution
Topic Solved & Locked |
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum