Jump to content


Selective Emoticons not displaying in shoutbox


9 replies to this topic

#1 Alk

  • Members
  • 17 posts

Posted 06 May 2006 - 01:14 PM

Hi

I am having the same problem as in this thread:

http://www.mkportal.it/support/showthread....light=emoticons

The forum URL is:

http://www.judygarla...php?ind=urlobox

Some of those emoticons are displaying without problems and others are not. There is no problem with them on the forums.

Here is a screenshot to show that SOME emoticons work without problems but others don't. If you try it with lots of emoticons like I did (take some from the bottom of the list) and then post them, you'll see that you will get the same as in my screenshot:

http://img415.imageshack.us/my.php?image=s...640828pm5yp.jpg


Does anyone know why?

I posted this on mkportal support board but nobody seems to reply, so I've come to good 'ole Visible Soul to get a solution (I hope!)! :(

Thanks for your previous help Visible Soul!! I REALLY appreciate it! :(

#2 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 06 May 2006 - 05:10 PM

Hi Alk. I have to leave now but I will try to look at this issue tomorrow. :(


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#3 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 08 May 2006 - 11:13 AM

Have you tried this posted bug-fix?

http://www.mkportal....read.php?t=8703

meo said:

This bug cause smilies not been showed in mkportal modules (like shoutbox, blog ecc)

edit file: mkportal/include/***/***_board_functions.php

find code:

if (!strpos($image, "http://")) {
substitute with:

if (!strpos($image, "ttp://")) {



Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#4 Alk

  • Members
  • 17 posts

Posted 15 May 2006 - 11:01 AM

This fix is already implemented. :|

#5 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 16 May 2006 - 01:49 PM

OK, I think I found your problem. This code in ***_board_functions.php has some conflict with any emoticon that has this combination of characters ":/" (A colon followed by a forward slash).

if (!strpos($image, "http://")) {
Anyway, the easiest solution for you is to rename the "hmm.gif" macro in the "Before" column of emoticons management to ":hmm:" instead of ":/". That should solve your problem.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#6 Alk

  • Members
  • 17 posts

Posted 16 May 2006 - 02:08 PM

aaaahhh hmm ;)
:)
Thanks very much my friend, once more, you have excelled yourself in support and we are indebted to you! :)
As you can see...it is working beautifully now!
(there are a few there which also conflict as you can see ": P" in :pirate: is turning out as :( irate:)

#7 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 16 May 2006 - 02:26 PM

Alk said:

aaaahhh hmm ;)
:)
Thanks very much my friend, once more, you have excelled yourself in support and we are indebted to you! :)
As you can see...it is working beautifully now!
(there are a few there which also conflict as you can see ": P" in :pirate: is turning out as :( irate:)
You are welcome. :) It was a tough issue. It is definitely a MKPortal bug. But I don't have a good permanent fix yet. But at least you can enjoy your shoutbox now. :)


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#8 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 16 May 2006 - 02:31 PM

Alk said:

(there are a few there which also conflict as you can see ": P" in :pirate: is turning out as ;) irate:)
You should never use characters like ";" in a file name. You need to change the name of ";P.gif" to something else.

Files should only be named using "a-z", "0-9:, "-" and "_".


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#9 Alk

  • Members
  • 17 posts

Posted 16 May 2006 - 02:36 PM

visiblesoul said:

Alk said:

(there are a few there which also conflict as you can see ": P" in :pirate: is turning out as ;) irate:)
You should never use characters like ";" in a file name. You need to change the name of ";P.gif" to something else.

Files should only be named using "a-z", "0-9:, "-" and "_".
Yeah thanks Visiblesoul. It's not my site at all, it's simply a customer's on my webhosting services. :)
Are you going to post the fix in that mkportal support topic? as lots of people are having this problem with no fix yet.
Thanks again.

#10 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 16 May 2006 - 07:16 PM

Alk said:

Yeah thanks Visiblesoul. It's not my site at all, it's simply a customer's on my webhosting services. ;)
Then you should be paying me for consultation. :)


Alk said:

Are you going to post the fix in that mkportal support topic? as lots of people are having this problem with no fix yet.
Thanks again.
lol. I already did. :(

http://www.mkportal....ead.php?p=77913


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users