The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

smilies code for quick reply in reply

2 posters

Go down

Solved smilies code for quick reply in reply

Post by nextlevelgaming 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://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 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
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 October 3rd 2012, 5:09 pm

Thank you for sharing the solution Smile

Topic Solved & Locked
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

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