Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 (v3.4) BUG+FIX: pop_icon_legend.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  15:55:35  Show Profile  Visit Aaron S.'s Homepage
This isn't really a bug. It is more of an omission.

When Show Smilies Table is Off, the traditional formatting button is displayed that links to pop_icon_legend.asp.

The insertsmilie function was not updated on this page, so it still inserts the smilie at the end of the message.

To update the code I replaced these lines:


Response.Write " <script language=""Javascript"" type=""text/javascript"">" & vbNewLine & _
" <!-- hide" & vbNewLine & _
" function insertsmilie(smilieface){" & vbNewLine & _
" window.opener.document.PostTopic.Message.value+=smilieface;" & vbNewLine & _
" }" & vbNewLine & _
" // -->" & vbNewLine & _
" </script>" & vbNewLine & _


...with these lines:


Response.Write " <script language=""Javascript"" type=""text/javascript"">" & vbNewLine & _
" <!-- hide" & vbNewLine & _
" function insertsmilie(smilieface) {" & vbNewLine & _
" if (window.opener.document.PostTopic.Message.createTextRange && window.opener.document.PostTopic.Message.caretPos) {" & vbNewLine & _
" var caretPos = window.opener.document.PostTopic.Message.caretPos;" & vbNewLine & _
" caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? smilieface + ' ' : smilieface;" & vbNewLine & _
" } else {" & vbNewLine & _
" window.opener.document.PostTopic.Message.value+=smilieface;" & vbNewLine & _
" }" & vbNewLine & _
" }" & vbNewLine & _
" // -->" & vbNewLine & _
" </script>" & vbNewLine & _



Additionally, I not sure that the sha256 include is needed in this file.

Hope this helps,

--Aaron

DOWNLOAD GREAT NEW MODS HERE

Edited by - Aaron S. on 20 August 2002 16:00:55

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 August 2002 :  01:35:09  Show Profile
fixed in v3.4.01
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07