Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Couple of questions/issues..

  • guckie
  • guckie
  • OFFLINE
  • Posts: 5
  • Thanks: 3
  • Karma: 0
18 years 5 months ago #17341 by guckie
Couple of questions/issues.. was created by guckie
Hi,

Excellent component!!

I have a couple of little quirks.. (probably my fault).. but wonder if someone might spot the problems.

First, there are strange characters appearing at the top of the Udde IM page in front end. (screenshot attached) I have uninstalled & reinstalled.. no difference.. this seems to happen even on a fresh install. Is it possible I need to specify a different character set in the back end? If so, what?

Second, I edited includes.php & bbparser.php (it looked like it would be easy to do!) to pull the smilies from joomlaboard. (code modifications posted below). Since having done that.. clicking a smiley in IE does not insert it (nothing happens).. but clicking a smiley inserts the text string just fine in FF. Any suggestions?

from includes.php
[code:1] if ($config_allowsmile) {
?>
<tr>
<td><img style="cursor: pointer;" onclick="javascript:emo(':cool: ');" src="components/com_joomlaboard/emoticons/cool.png" alt=":cool:" title=":cool:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':wink: ');" src="components/com_joomlaboard/emoticons/wink.png" alt=":wink:" title=":wink:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»smile: ');" src="components/com_joomlaboard/emoticons/smile.png" alt=":«»smile:" title=":«»smile:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':lick: ');" src="components/com_joomlaboard/emoticons/tongue.png" alt=":lick:" title=":lick:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»laugh: ');" src="components/com_joomlaboard/emoticons/laughing.png" alt=":«»laugh:" title=":«»laugh:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»shock: ');" src="components/com_joomlaboard/emoticons/shocked.png" alt=":«»shock:" title=":«»shock:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»sick: ');" src="components/com_joomlaboard/emoticons/sick.png" alt=":«»sick:" title=":«»sick:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»angry: ');" src="components/com_joomlaboard/emoticons/angry.png" alt=":«»angry:" title=":«»angry:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»blink: ');" src="components/com_joomlaboard/emoticons/blink.png" alt=":«»blink:" title=":«»blink:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»sad: ');" src="components/com_joomlaboard/emoticons/sad.png" alt=":«»sad:" title=":«»sad:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»unsure: ');" src="components/com_joomlaboard/emoticons/unsure.png" alt=":«»unsure:" title=":«»unsure:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':«»kiss: ');" src="components/com_joomlaboard/emoticons/kissing.png" alt=":«»kiss:" title=":«»kiss:"></td>
<td><img style="cursor: pointer;" onclick="javascript:emo(':w00t: ');" src="components/com_joomlaboard/emoticons/w00t.png" alt=":w00t:" title=":w00t:"></td>
</tr>
<?php } ?>[/code:1]


from bbparser.php
[code:1] $message_emoticons=array(
":cool:" => '<img src="components/com_joomlaboard/emoticons/cool.png" alt="" border="0" align="middle" />',
":wink:" => '<img src="components/com_joomlaboard/emoticons/wink.png" alt="" border="0" align="middle"/>',
":«»smile:" => '<img src="components/com_joomlaboard/emoticons/smile.png" alt="" border="0" align="middle"/>',
":lick:" => '<img src="components/com_joomlaboard/emoticons/tongue.png" alt="" border="0" align="middle"/>',
":«»laugh:" => '<img src="components/com_joomlaboard/emoticons/laughing.png" alt="" border="0" align="middle"/>',
":«»shock:" => '<img src="components/com_joomlaboard/emoticons/shocked.png" alt="" border="0" align="middle"/>',
":«»sick:" => '<img src="components/com_joomlaboard/emoticons/sick.png" alt="" border="0" align="middle" />',
":«»angry:" => '<img src="components/com_joomlaboard/emoticons/angry.png" alt="" border="0" align="middle" />',
":«»blink:" => '<img src="components/com_joomlaboard/emoticons/blink.png" alt="" border="0" align="middle" />',
":«»sad:" => '<img src="components/com_joomlaboard/emoticons/sad.png" alt="" border="0" align="middle" />',
":«»unsure:" => '<img src="components/com_joomlaboard/emoticons/unsure.png" alt="" border="0" align="middle" />',
":«»kiss:" => '<img src="components/com_joomlaboard/emoticons/kissing.png" alt="" border="0" align="middle" />',
":w00t:" => '<img src="components/com_joomlaboard/emoticons/w00t.png" alt="" border="0" align="middle" />',
":«»lol:" => '<img src="components/com_joomlaboard/emoticons/grin.png" alt="" border="0" align="middle" />',
":«»silly:" => '<img src="components/com_joomlaboard/emoticons/silly.png" alt="" border="0" align="middle" />',
":«»pinch:" => '<img src="components/com_joomlaboard/emoticons/pinch.png" alt="" border="0" align="middle" />',
":«»side:" => '<img src="components/com_joomlaboard/emoticons/sideways.png" alt="" border="0" align="middle" />',
":«»whistle:" => '<img src="components/com_joomlaboard/emoticons/whistling.png" alt="" border="0" align="middle" />',
":«»evil:" => '<img src="components/com_joomlaboard/emoticons/devil.png" alt="" border="0" align="middle" />',
":dizzy:" => '<img src="components/com_joomlaboard/emoticons/dizzy.png" alt="" border="0" align="middle" />',
":«»blush:" => '<img src="components/com_joomlaboard/emoticons/blush.png" alt="" border="0" align="middle" />',
":«»cheer:" => '<img src="components/com_joomlaboard/emoticons/cheerful.png" alt="" border="0" align="middle" />',
);

reset($message_emoticons);
while (list($emo_txt,$emo_src)=each($message_emoticons)) {
$string=str_replace($emo_txt,$emo_src,$string);
}

return $string;
[/code:1]

Post edited by: guckie, at: 2006/07/19 11:05

Post edited by: guckie, at: 2006/07/19 11:07
Attachments:

Please Log in or Create an account to join the conversation.

  • guckie
  • guckie
  • OFFLINE
  • Posts: 5
  • Thanks: 3
  • Karma: 0
18 years 5 months ago #17342 by guckie
Replied by guckie on topic Re:Couple of questions/issues..
Uhhh.. screenshot here, sorry.
Attachments:

Please Log in or Create an account to join the conversation.

  • guckie
  • guckie
  • OFFLINE
  • Posts: 5
  • Thanks: 3
  • Karma: 0
18 years 3 months ago #19675 by guckie
Replied by guckie on topic Re:Couple of questions/issues..
*bump*

Any advice on either of my above questions?

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum