The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

smilies code for quick reply in reply

View previous topic View next topic Go down

Solved smilies code for quick reply in reply

Post by nextlevelgaming on October 3rd 2012, 3:42 pm

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

Code:
                                  <button class="button2" onclick="selectWysiwyg(this, 'sel_smilies')" onmouseover="helpline('smilies')" type="button" title="Smilies"><img alt="" src="http://illiweb.com/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://illiweb.com/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 Smile 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)

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: smilies code for quick reply in reply

Post by Jophy on October 3rd 2012, 5:09 pm

Thank you for sharing the solution Smile

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum